auto-select generated models
This commit is contained in:
parent
e258e3d916
commit
7025574d5e
2 changed files with 3 additions and 1 deletions
|
|
@ -9,6 +9,8 @@ let call = broker.send;
|
|||
let dbindex = [ "admin", "space" ];
|
||||
let { Quaternion, Vector3 } = THREE;
|
||||
|
||||
// set below. called once the DOM readyState = complete
|
||||
// this is the main() entrypoint called after all dependents load
|
||||
function init() {
|
||||
let stores = data.open('mesh', { stores: dbindex, version: 4 }).init(),
|
||||
moto = self.moto,
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ mesh.model = class MeshModel extends mesh.object {
|
|||
mesh.api.group.new([new mesh.model({
|
||||
file: `${this.file}-dup`,
|
||||
mesh: data
|
||||
})]);
|
||||
})]).select();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue