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 21:46:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-24 21:46:18 +0300
commit1a8b24e1b1d3d4cdd28e56edd97aee631b44a907 (patch)
tree30327e72a2e2bf24e6e8542f7048de3ecf32bd8b /release/scripts/startup/bl_ui/space_view3d_toolbar.py
parentf3692c6ab973d85e48ac374533d46ab343dce3ec (diff)
UI: move rigid body physics to menu
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d_toolbar.py')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py27
1 files changed, 0 insertions, 27 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 91d55303914..effb6c3e940 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -108,32 +108,6 @@ class VIEW3D_PT_tools_object(View3DPanel, Panel):
row.operator("object.datalayout_transfer", text="Data Layout")
-class VIEW3D_PT_tools_rigid_body(View3DPanel, Panel):
- bl_category = "Physics"
- bl_context = "objectmode"
- bl_label = "Rigid Body Tools"
-
- def draw(self, context):
- layout = self.layout
-
- col = layout.column(align=True)
- col.label(text="Add/Remove:")
- row = col.row(align=True)
- row.operator("rigidbody.objects_add", text="Add Active").type = 'ACTIVE'
- row.operator("rigidbody.objects_add", text="Add Passive").type = 'PASSIVE'
- row = col.row(align=True)
- row.operator("rigidbody.objects_remove", text="Remove")
-
- col = layout.column(align=True)
- col.label(text="Object Tools:")
- col.operator("rigidbody.shape_change", text="Change Shape")
- col.operator("rigidbody.mass_calculate", text="Calculate Mass")
- col.operator("rigidbody.object_settings_copy", text="Copy from Active")
- col.operator("object.visual_transform_apply", text="Apply Transformation")
- col.operator("rigidbody.bake_to_keyframes", text="Bake To Keyframes")
- col.label(text="Constraints:")
- col.operator("rigidbody.connect", text="Connect")
-
# ********** default tools for editmode_mesh ****************
@@ -1661,7 +1635,6 @@ class VIEW3D_PT_tools_history(View3DPanel, Panel):
classes = (
VIEW3D_PT_tools_object,
- VIEW3D_PT_tools_rigid_body,
VIEW3D_PT_tools_meshedit,
VIEW3D_PT_tools_shading,
VIEW3D_PT_tools_uvs,