add model groups
This commit is contained in:
parent
23339350a9
commit
e43f6c6bc2
5 changed files with 103 additions and 33 deletions
|
|
@ -84,7 +84,7 @@ broker.subscribe('space_init', data => {
|
|||
|
||||
// add object loader
|
||||
broker.subscribe('space_load', data => {
|
||||
mesh.api.models.add(data.flat().map(el => new mesh.model(el)));
|
||||
mesh.api.group.new(data.flat().map(el => new mesh.model(el)));
|
||||
});
|
||||
|
||||
// remove version cache bust from url
|
||||
|
|
|
|||
Loading…
Reference in a new issue