diff --git a/Source/DynamicScene/CompositeDynamicObjectCollection.js b/Source/DynamicScene/CompositeDynamicObjectCollection.js index 2c53af5ce726..fcdd33f8bfef 100644 --- a/Source/DynamicScene/CompositeDynamicObjectCollection.js +++ b/Source/DynamicScene/CompositeDynamicObjectCollection.js @@ -33,7 +33,7 @@ define(['../Core/createGuid', var composite = that._composite; var compositeObject = composite.getById(id); var compositeProperty = compositeObject[propertyName]; - var collections = that._collectionsCopy; + var collections = that._collections; var collectionsLength = collections.length; for (var q = collectionsLength - 1; q >= 0; q--) { var object = collections[q].getById(dynamicObject.id); @@ -63,7 +63,7 @@ define(['../Core/createGuid', unsubscribeFromProperty(eventHash, collectionId, dynamicObject, propertyName); subscribeToProperty(that, eventHash, collectionId, dynamicObject, propertyName, dynamicObject[propertyName]); - var collections = that._collectionsCopy; + var collections = that._collections; var collectionsLength = collections.length; var firstTime = true; for (var q = collectionsLength - 1; q >= 0; q--) {