Skip to content

Commit

Permalink
Disable asynchronous primitives in DynamicScene
Browse files Browse the repository at this point in the history
Due to #1487.

We can revisit it in the future when performance is better.  Since we create all the geometry up front anyway, this is a load time concern and should not become a usability issue.
  • Loading branch information
mramato committed Feb 19, 2014
1 parent b45e794 commit 1945e7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/DynamicScene/StaticGeometryColorBatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ define(['../Core/Color',
var geometry = this.geometry.values;
if (geometry.length > 0) {
primitive = new Primitive({
asynchronous : true,
asynchronous : false,
geometryInstances : geometry,
appearance : new this.appearanceType({
faceForward : true,
Expand Down
2 changes: 1 addition & 1 deletion Source/DynamicScene/StaticGeometryPerMaterialBatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ define(['../Core/defined',
}
if (geometries.length > 0) {
primitive = new Primitive({
asynchronous : true,
asynchronous : false,
geometryInstances : geometries,
appearance : new this.appearanceType({
material : MaterialProperty.getValue(time, this.materialProperty, this.material),
Expand Down
2 changes: 1 addition & 1 deletion Source/DynamicScene/StaticOutlineGeometryBatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ define(['../Core/Color',
var geometry = this.geometry.values;
if (geometry.length > 0) {
primitive = new Primitive({
asynchronous : true,
asynchronous : false,
geometryInstances : geometry,
appearance : new PerInstanceColorAppearance({
flat : true,
Expand Down

0 comments on commit 1945e7a

Please sign in to comment.