Fix T50125: Shortcut keys missing in menus for Clear Location, Rotation, and Scale.
Menu entries and shortcuts did not have exact same behavior, now they do (using shortcuts' behavior).
This commit is contained in:
parent
f3a7104adb
commit
52696a0d3f
Notes:
blender-bot
2023-02-14 11:25:11 +01:00
Referenced by issue #50125, Shortcut keys missing in menus for Clear Location, Rotation, and Scale
|
@ -1346,9 +1346,9 @@ class VIEW3D_MT_object_clear(Menu):
|
|||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator("object.location_clear", text="Location")
|
||||
layout.operator("object.rotation_clear", text="Rotation")
|
||||
layout.operator("object.scale_clear", text="Scale")
|
||||
layout.operator("object.location_clear", text="Location").clear_delta = False
|
||||
layout.operator("object.rotation_clear", text="Rotation").clear_delta = False
|
||||
layout.operator("object.scale_clear", text="Scale").clear_delta = False
|
||||
layout.operator("object.origin_clear", text="Origin")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue