Skip to content

Commit

Permalink
Fixes #7160
Browse files Browse the repository at this point in the history
  • Loading branch information
hpinkos committed Oct 17, 2018
1 parent 420250e commit 8ba647b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Source/DataSources/StaticGeometryColorBatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ define([
this.subscriptions.remove(id);
this.showsUpdated.remove(id);
}
return true;
}
return false;
};

Batch.prototype.update = function(time) {
Expand Down Expand Up @@ -353,8 +355,8 @@ define([
if (item.updaters.length === 0) {
items.splice(i, 1);
item.destroy();
return true;
}
return true;
}
}
return false;
Expand Down
3 changes: 2 additions & 1 deletion Source/DataSources/StaticGeometryPerMaterialBatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ define([
this.subscriptions.remove(id);
this.showsUpdated.remove(id);
}
return true;
}
return this.createPrimitive;
return false
};

var colorScratch = new Color();
Expand Down
2 changes: 2 additions & 0 deletions Source/DataSources/StaticOutlineGeometryBatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ define([
this.subscriptions.remove(id);
this.showsUpdated.remove(id);
}
return true;
}
return false;
};

Batch.prototype.update = function(time) {
Expand Down

0 comments on commit 8ba647b

Please sign in to comment.