Blender Git Commit Log

Git Commits -> Revision c3f7124

Revision c3f7124 by Julian Eisel (soc-2021-curves)
June 21, 2021, 14:31 (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: c3f71243ff83e46460c9fc9c9b08c8e9d0a1ff76
Parent Commit: 6d9e72c
Committed By: Dilith Jayakody
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021