diff options
author | Julian Eisel <julian@blender.org> | 2021-06-11 17:31:57 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-06-11 17:46:20 +0300 |
commit | c8fcea0c33ef3d371d3aba0c16889cc319811ec6 (patch) | |
tree | 3061e7bca3506dc5967eec0c01ca6d0deb49549b /source/blender/windowmanager/intern | |
parent | 20ece8736f160442bc545bd0e1b822c05ee184de (diff) |
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
Diffstat (limited to 'source/blender/windowmanager/intern')
0 files changed, 0 insertions, 0 deletions