Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-11-21 01:25:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-21 01:25:55 +0300
commit6aa7cea3c28d5c79867ba64e4bcef8c5c6ef871e (patch)
tree615f3347dc1df146ad95dcbf50aa5b26d3750d96 /release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
parentd3a75c48fdb06f7c127fd25544b641dfe44d9f01 (diff)
Cleanup: rename extrude gizmo
Diffstat (limited to 'release/scripts/startup/bl_ui/space_toolsystem_toolbar.py')
-rw-r--r--release/scripts/startup/bl_ui/space_toolsystem_toolbar.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
index c97a72a95c4..3c3d43ac8bd 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -65,10 +65,10 @@ def generate_from_enum_ex(
# Use for shared widget data.
class _template_widget:
- class MESH_GGT_extrude:
+ class VIEW3D_GGT_xform_extrude:
@staticmethod
def draw_settings(context, layout, tool):
- props = tool.gizmo_group_properties("MESH_GGT_extrude")
+ props = tool.gizmo_group_properties("VIEW3D_GGT_xform_extrude")
layout.prop(props, "axis_type", expand=True)
@@ -364,9 +364,9 @@ class _defs_edit_armature:
return dict(
text="Extrude",
icon="ops.armature.extrude_move",
- widget="MESH_GGT_extrude",
+ widget="VIEW3D_GGT_xform_extrude",
keymap=(),
- draw_settings=_template_widget.MESH_GGT_extrude.draw_settings,
+ draw_settings=_template_widget.VIEW3D_GGT_xform_extrude.draw_settings,
)
@ToolDef.from_fn
@@ -526,11 +526,11 @@ class _defs_edit_mesh:
"Extrude freely or along an axis"
),
icon="ops.mesh.extrude_region_move",
- widget="MESH_GGT_extrude",
+ widget="VIEW3D_GGT_xform_extrude",
# Important to use same operator as 'E' key.
operator="view3d.edit_mesh_extrude_move_normal",
keymap=(),
- draw_settings=_template_widget.MESH_GGT_extrude.draw_settings,
+ draw_settings=_template_widget.VIEW3D_GGT_xform_extrude.draw_settings,
)
@ToolDef.from_fn
@@ -740,9 +740,9 @@ class _defs_edit_curve:
return dict(
text="Extrude",
icon="ops.curve.extrude_move",
- widget="MESH_GGT_extrude",
+ widget="VIEW3D_GGT_xform_extrude",
keymap=(),
- draw_settings=_template_widget.MESH_GGT_extrude.draw_settings,
+ draw_settings=_template_widget.VIEW3D_GGT_xform_extrude.draw_settings,
)
@ToolDef.from_fn