Blender Git Loki

Git Commits -> Revision 4e23f08

Revision 4e23f08 by Julian Eisel (master)
January 6, 2021, 10:55 (GMT)
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.

Commit Details:

Full Hash: 4e23f08807bb0ccd361932f335768f645572d6bf
Parent Commit: 290b6d7
Lines Changed: +102, -15

2 Modified Paths:

/source/blender/editors/object/object_add.c (+102, -14) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+0, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021