diff options
author | Julian Eisel <julian@blender.org> | 2021-01-05 02:57:24 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-01-06 13:55:21 +0300 |
commit | 4e23f08807bb0ccd361932f335768f645572d6bf (patch) | |
tree | 13d65c9205bd795aa05bc84e8dfe96da4cc02cbe /source/blender/editors/mesh | |
parent | 290b6d7ef327d963084792b65f7d8c79810b5e1f (diff) |
Fix object moved to cursor when editing last operation after dropping object
Steps to reproduce were:
* Drag object icon from the Outliner into the 3D view (or an object asset from
the Asset Browser)
* Open the "Adjust Last Operation" panel
* Edit options in there - the object would move to the mouse location
The same issue happens with collection instance and object data adding (e.g.
via drag & drop). This patch addresses them too.
The operator used the event state stored in the window. This shouldn't be
accessed from the operator execute callback generally which happened here.
Especially not if the operator supports editing properties.
Diffstat (limited to 'source/blender/editors/mesh')
0 files changed, 0 insertions, 0 deletions