Blender Git Loki

Git Commits -> Revision c8fcea0

Revision c8fcea0 by Julian Eisel (master)
June 11, 2021, 14:46 (GMT)
Fix object assets getting duplicated after dropping

The operator run when dropping objects would duplicate the dropped object and
place that in the scene, even though that was just appended. Addressed by
making the duplication optional for the operator. If the duplication is not
requested, the object is just added to the scene (if needed), repositioned
based on the drop location and selected (deselecting other objects).
This makes the operator work as expected when using it to drop assets.

Reviewed as part of https://developer.blender.org/D11536.

Reviewed by: Bastien Montagne

Commit Details:

Full Hash: c8fcea0c33ef3d371d3aba0c16889cc319811ec6
Parent Commit: 20ece87
Lines Changed: +53, -15

2 Modified Paths:

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