Fix #4027. Fix regression where S-D or A-D hotkeys didn't follow vanilla Blender behaviour from 81a1bd9

This commit is contained in:
Dion Moult
2023-11-24 15:09:29 +11:00
parent c7268b6f42
commit ea6c8fe2f8
@@ -736,7 +736,7 @@ class OverrideDuplicateMove(bpy.types.Operator):
new_active_obj = None
for obj in context.selected_objects:
new_obj = obj.copy()
if linked and obj.data:
if obj.data and not linked:
new_obj.data = obj.data.copy()
if obj == context.active_object:
new_active_obj = new_obj