fixup for some workspace imports with widgets missing fields
This commit is contained in:
parent
d6757d1758
commit
70e0e62e3e
1 changed files with 1 additions and 0 deletions
|
|
@ -390,6 +390,7 @@ let deferTimeout;
|
|||
function platformAdd(widget, shift, nolayout, defer) {
|
||||
api.widgets.add(widget);
|
||||
space.world.add(widget.mesh);
|
||||
widget.anno = widget.anno || {};
|
||||
widget.anno.extruder = widget.anno.extruder || 0;
|
||||
if (defer) {
|
||||
deferred.push({widget, shift, nolayout});
|
||||
|
|
|
|||
Loading…
Reference in a new issue