parent update
parent
15914c44db
commit
8fca0b7dfa
|
@ -91,11 +91,7 @@ GameLib.Component.prototype.getDependencies = function() {
|
||||||
|
|
||||||
if (
|
if (
|
||||||
this.linkedObjects.hasOwnProperty(property) &&
|
this.linkedObjects.hasOwnProperty(property) &&
|
||||||
property !== 'parentMesh' &&
|
property.indexOf('parent') !== 0 &&
|
||||||
property !== 'parentScene' &&
|
|
||||||
property !== 'parentWorld' &&
|
|
||||||
property !== 'parentEntity' &&
|
|
||||||
property !== 'parentEntityManager' &&
|
|
||||||
this.hasOwnProperty(property)
|
this.hasOwnProperty(property)
|
||||||
){
|
){
|
||||||
if (typeof this[property] === 'string') {
|
if (typeof this[property] === 'string') {
|
||||||
|
@ -304,11 +300,7 @@ GameLib.Component.prototype.buildIdToObject = function() {
|
||||||
this.linkedObjects.hasOwnProperty(property) &&
|
this.linkedObjects.hasOwnProperty(property) &&
|
||||||
this.hasOwnProperty(property) &&
|
this.hasOwnProperty(property) &&
|
||||||
this[property] &&
|
this[property] &&
|
||||||
property !== 'parentEntity' &&
|
property.indexOf('parent') !== 0 &&
|
||||||
property !== 'parentScene' &&
|
|
||||||
property !== 'parentMesh' &&
|
|
||||||
property !== 'parentWorld' &&
|
|
||||||
property !== 'parentEntityManager' &&
|
|
||||||
loaded
|
loaded
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue