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-04-24 20:35:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-24 20:35:11 +0300
commit5d3f1d1f78dd4a29fa241aa31804231ba3923849 (patch)
tree7b39b9d42c0a96125182c1e0913c7c823533d5a4 /release/scripts/startup/bl_ui/space_view3d_toolbar.py
parent0c4ceda75bee3d2deb6c6b6d28c76cd49b8853c2 (diff)
UI: remove transform panels
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d_toolbar.py')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py144
1 files changed, 0 insertions, 144 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 9be36108efe..bda0d0a7446 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -67,23 +67,6 @@ def draw_vpaint_symmetry(layout, vpaint):
# ********** default tools for object-mode ****************
-class VIEW3D_PT_tools_transform(View3DPanel, Panel):
- bl_category = "Tools"
- bl_context = "objectmode"
- bl_label = "Transform"
-
- def draw(self, context):
- layout = self.layout
-
- col = layout.column(align=True)
- col.operator("transform.translate")
- col.operator("transform.rotate")
- col.operator("transform.resize", text="Scale")
-
- col = layout.column(align=True)
- col.operator("transform.mirror", text="Mirror")
-
-
class VIEW3D_PT_tools_object(View3DPanel, Panel):
bl_category = "Tools"
bl_context = "objectmode"
@@ -217,21 +200,6 @@ class VIEW3D_PT_tools_rigid_body(View3DPanel, Panel):
# ********** default tools for editmode_mesh ****************
-class VIEW3D_PT_tools_transform_mesh(View3DPanel, Panel):
- bl_category = "Tools"
- bl_context = "mesh_edit"
- bl_label = "Transform"
-
- def draw(self, context):
- layout = self.layout
-
- col = layout.column(align=True)
- col.operator("transform.translate")
- col.operator("transform.rotate")
- col.operator("transform.resize", text="Scale")
- col.operator("transform.shrink_fatten", text="Shrink/Fatten")
- col.operator("transform.push_pull", text="Push/Pull")
-
class VIEW3D_PT_tools_meshedit(View3DPanel, Panel):
bl_category = "Tools"
@@ -366,24 +334,6 @@ class VIEW3D_PT_tools_meshedit_options(View3DPanel, Panel):
# ********** default tools for editmode_curve ****************
-class VIEW3D_PT_tools_transform_curve(View3DPanel, Panel):
- bl_category = "Tools"
- bl_context = "curve_edit"
- bl_label = "Transform"
-
- def draw(self, context):
- layout = self.layout
-
- col = layout.column(align=True)
- col.operator("transform.translate")
- col.operator("transform.rotate")
- col.operator("transform.resize", text="Scale")
-
- col = layout.column(align=True)
- col.operator("transform.tilt", text="Tilt")
- col.operator("transform.transform", text="Shrink/Fatten").mode = 'CURVE_SHRINKFATTEN'
-
-
class VIEW3D_PT_tools_curveedit(View3DPanel, Panel):
bl_category = "Tools"
bl_context = "curve_edit"
@@ -477,19 +427,6 @@ class VIEW3D_PT_tools_curveedit_options_stroke(View3DPanel, Panel):
# ********** default tools for editmode_surface ****************
-class VIEW3D_PT_tools_transform_surface(View3DPanel, Panel):
- bl_category = "Tools"
- bl_context = "surface_edit"
- bl_label = "Transform"
-
- def draw(self, context):
- layout = self.layout
-
- col = layout.column(align=True)
- col.operator("transform.translate")
- col.operator("transform.rotate")
- col.operator("transform.resize", text="Scale")
-
class VIEW3D_PT_tools_surfaceedit(View3DPanel, Panel):
bl_category = "Tools"
@@ -543,20 +480,6 @@ class VIEW3D_PT_tools_textedit(View3DPanel, Panel):
# ********** default tools for editmode_armature ****************
-class VIEW3D_PT_tools_armatureedit_transform(View3DPanel, Panel):
- bl_category = "Tools"
- bl_context = "armature_edit"
- bl_label = "Transform"
-
- def draw(self, context):
- layout = self.layout
-
- col = layout.column(align=True)
- col.operator("transform.translate")
- col.operator("transform.rotate")
- col.operator("transform.resize", text="Scale")
-
-
class VIEW3D_PT_tools_armatureedit(View3DPanel, Panel):
bl_category = "Tools"
bl_context = "armature_edit"
@@ -571,15 +494,6 @@ class VIEW3D_PT_tools_armatureedit(View3DPanel, Panel):
col.operator("armature.duplicate_move", text="Duplicate")
col.operator("armature.delete", text="Delete")
- col = layout.column(align=True)
- col.label(text="Modeling:")
- col.operator("armature.extrude_move")
- col.operator("armature.subdivide", text="Subdivide")
-
- col = layout.column(align=True)
- col.label(text="Deform:")
- col.operator("transform.vertex_random")
-
class VIEW3D_PT_tools_armatureedit_options(View3DPanel, Panel):
bl_category = "Options"
@@ -592,53 +506,6 @@ class VIEW3D_PT_tools_armatureedit_options(View3DPanel, Panel):
self.layout.prop(arm, "use_mirror_x")
-# ********** default tools for editmode_mball ****************
-
-
-class VIEW3D_PT_tools_mballedit(View3DPanel, Panel):
- bl_category = "Tools"
- bl_context = "mball_edit"
- bl_label = "Meta Tools"
-
- def draw(self, context):
- layout = self.layout
-
- col = layout.column(align=True)
- col.label(text="Transform:")
- col.operator("transform.translate")
- col.operator("transform.rotate")
- col.operator("transform.resize", text="Scale")
-
- col = layout.column(align=True)
- col.label(text="Deform:")
- col.operator("transform.vertex_random")
-
-
-# ********** default tools for editmode_lattice ****************
-
-
-class VIEW3D_PT_tools_latticeedit(View3DPanel, Panel):
- bl_category = "Tools"
- bl_context = "lattice_edit"
- bl_label = "Lattice Tools"
-
- def draw(self, context):
- layout = self.layout
-
- col = layout.column(align=True)
- col.label(text="Transform:")
- col.operator("transform.translate")
- col.operator("transform.rotate")
- col.operator("transform.resize", text="Scale")
-
- col = layout.column(align=True)
- col.operator("lattice.make_regular")
-
- col = layout.column(align=True)
- col.label(text="Deform:")
- col.operator("transform.vertex_random")
-
-
# ********** default tools for pose-mode ****************
@@ -651,10 +518,6 @@ class VIEW3D_PT_tools_posemode(View3DPanel, Panel):
layout = self.layout
col = layout.column(align=True)
- col.label(text="Transform:")
- col.operator("transform.translate")
- col.operator("transform.rotate")
- col.operator("transform.resize", text="Scale")
col = layout.column(align=True)
col.label(text="In-Between:")
@@ -1860,27 +1723,20 @@ class VIEW3D_PT_tools_history(View3DPanel, Panel):
classes = (
- VIEW3D_PT_tools_transform,
VIEW3D_PT_tools_object,
VIEW3D_PT_tools_relations,
VIEW3D_PT_tools_animation,
VIEW3D_PT_tools_rigid_body,
- VIEW3D_PT_tools_transform_mesh,
VIEW3D_PT_tools_meshedit,
VIEW3D_PT_tools_shading,
VIEW3D_PT_tools_uvs,
VIEW3D_PT_tools_meshedit_options,
- VIEW3D_PT_tools_transform_curve,
VIEW3D_PT_tools_curveedit,
VIEW3D_PT_tools_curveedit_options_stroke,
- VIEW3D_PT_tools_transform_surface,
VIEW3D_PT_tools_surfaceedit,
VIEW3D_PT_tools_textedit,
VIEW3D_PT_tools_armatureedit,
- VIEW3D_PT_tools_armatureedit_transform,
VIEW3D_PT_tools_armatureedit_options,
- VIEW3D_PT_tools_mballedit,
- VIEW3D_PT_tools_latticeedit,
VIEW3D_PT_tools_posemode,
VIEW3D_PT_tools_posemode_options,
VIEW3D_PT_imapaint_tools_missing,