[Bf-blender-cvs] [f3692c6ab97] blender2.8: UI: remove animation panel

Campbell Barton noreply at git.blender.org
Tue Apr 24 20:38:47 CEST 2018


Commit: f3692c6ab973d85e48ac374533d46ab343dce3ec
Author: Campbell Barton
Date:   Tue Apr 24 20:37:04 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBf3692c6ab973d85e48ac374533d46ab343dce3ec

UI: remove animation panel

===================================================================

M	release/scripts/startup/bl_ui/space_view3d_toolbar.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 3b15ab1986b..91d55303914 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -108,34 +108,6 @@ class VIEW3D_PT_tools_object(View3DPanel, Panel):
                 row.operator("object.datalayout_transfer", text="Data Layout")
 
 
-class VIEW3D_PT_tools_animation(View3DPanel, Panel):
-    bl_category = "Animation"
-    bl_context = "objectmode"
-    bl_label = "Animation"
-
-    def draw(self, context):
-        layout = self.layout
-
-        ob = context.active_object
-        mpath = ob.motion_path if ob else None
-
-        draw_keyframing_tools(context, layout)
-
-        col = layout.column(align=True)
-        col.label(text="Motion Paths:")
-        if mpath:
-            row = col.row(align=True)
-            row.operator("object.paths_update", text="Update")
-            row.operator("object.paths_clear", text="", icon='X')
-        else:
-            col.operator("object.paths_calculate", text="Calculate")
-
-        col.separator()
-
-        col.label(text="Action:")
-        col.operator("nla.bake", text="Bake Action")
-
-
 class VIEW3D_PT_tools_rigid_body(View3DPanel, Panel):
     bl_category = "Physics"
     bl_context = "objectmode"
@@ -1689,7 +1661,6 @@ class VIEW3D_PT_tools_history(View3DPanel, Panel):
 
 classes = (
     VIEW3D_PT_tools_object,
-    VIEW3D_PT_tools_animation,
     VIEW3D_PT_tools_rigid_body,
     VIEW3D_PT_tools_meshedit,
     VIEW3D_PT_tools_shading,



More information about the Bf-blender-cvs mailing list