Skip to content

Commit

Permalink
Fixed relay of layer data through EntityContainer.
Browse files Browse the repository at this point in the history
  • Loading branch information
probityrules committed Aug 20, 2021
1 parent 562a117 commit 0a66734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/EntityContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ export default (function () {
}
},

getAssetList: function (def, props, defaultProps) {
getAssetList: function (def, props, defaultProps, data) {
var i = 0,
assets = arrayCache.setUp(),
entities = arrayCache.setUp(),
Expand All @@ -500,7 +500,7 @@ export default (function () {
}

for (i = 0; i < entities.length; i++) {
arr = Entity.getAssetList(entities[i]);
arr = Entity.getAssetList(entities[i], null, data);
union(assets, arr);
arrayCache.recycle(arr);
}
Expand Down
1 change: 0 additions & 1 deletion src/components/RenderContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import Interactive from './Interactive.js';
import {arrayCache} from '../utils/array.js';
import createComponentClass from '../factory.js';
import {greenSplit} from '../utils/string.js';
import { update } from 'lodash';

export default (function () {
var ColorMatrixFilter = filters.ColorMatrixFilter,
Expand Down

0 comments on commit 0a66734

Please sign in to comment.