fix autosave on widget drag
This commit is contained in:
parent
82421c11cc
commit
2370702464
2 changed files with 5 additions and 10 deletions
|
|
@ -1911,11 +1911,7 @@
|
|||
if (bound.max.x + delta.x >= width) return;
|
||||
if (bound.max.y + delta.y >= depth) return;
|
||||
}
|
||||
API.selection.for_widgets(function(widget) {
|
||||
widget.move(delta.x, delta.y, 0);
|
||||
API.event.emit('widget.move', {widget, delta});
|
||||
});
|
||||
API.selection.update_bounds();
|
||||
API.selection.move(delta.x, delta.y, 0);
|
||||
API.event.emit('selection.drag', delta);
|
||||
} else {
|
||||
return API.selection.meshes().length > 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue