mirror of
https://github.com/troisjs/trois.git
synced 2024-11-24 04:12:02 +08:00
add else
This commit is contained in:
parent
5134ff91e6
commit
2be60d1fe1
@ -38,8 +38,7 @@ export default {
|
||||
parent = parent.$parent;
|
||||
}
|
||||
if (!this._parent) console.error('Missing parent (Scene, Group...)');
|
||||
|
||||
this.$emit('ready', this);
|
||||
else this.$emit('ready', this);
|
||||
},
|
||||
add(o) { this.o3d.add(o); },
|
||||
remove(o) { this.o3d.remove(o); },
|
||||
|
Loading…
Reference in New Issue
Block a user