[Bf-blender-cvs] [97c2be3] master: Remove Grease Pencil panels from toolbar, has own tab

Jonathan Williamson noreply at git.blender.org
Sun Feb 2 18:41:01 CET 2014


Commit: 97c2be30095be6c88fe4d9fcf5bccf905f4d3eb4
Author: Jonathan Williamson
Date:   Sun Feb 2 11:38:14 2014 -0600
https://developer.blender.org/rB97c2be30095be6c88fe4d9fcf5bccf905f4d3eb4

Remove Grease Pencil panels from toolbar, has own tab

The Grease Pencil has it's own dedicated tab. It's no longer necessary to draw in a panel for each object type.

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

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 2d1185f..7488612 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -492,7 +492,6 @@ class VIEW3D_PT_tools_curveedit(View3DPanel, Panel):
 
         draw_repeat_tools(context, layout)
 
-        draw_gpencil_tools(context, layout)
 
 # ********** default tools for editmode_surface ****************
 
@@ -531,8 +530,6 @@ class VIEW3D_PT_tools_surfaceedit(View3DPanel, Panel):
 
         draw_repeat_tools(context, layout)
 
-        draw_gpencil_tools(context, layout)
-
 # ********** default tools for editmode_text ****************
 
 
@@ -587,8 +584,6 @@ class VIEW3D_PT_tools_armatureedit(View3DPanel, Panel):
 
         draw_repeat_tools(context, layout)
 
-        draw_gpencil_tools(context, layout)
-
 
 class VIEW3D_PT_tools_armatureedit_options(View3DPanel, Panel):
     bl_context = "armature_edit"
@@ -618,8 +613,6 @@ class VIEW3D_PT_tools_mballedit(View3DPanel, Panel):
 
         draw_repeat_tools(context, layout)
 
-        draw_gpencil_tools(context, layout)
-
 # ********** default tools for editmode_lattice ****************
 
 
@@ -642,8 +635,6 @@ class VIEW3D_PT_tools_latticeedit(View3DPanel, Panel):
 
         draw_repeat_tools(context, layout)
 
-        draw_gpencil_tools(context, layout)
-
 
 # ********** default tools for pose-mode ****************
 
@@ -688,8 +679,6 @@ class VIEW3D_PT_tools_posemode(View3DPanel, Panel):
 
         draw_repeat_tools(context, layout)
 
-        draw_gpencil_tools(context, layout)
-
 
 class VIEW3D_PT_tools_posemode_options(View3DPanel, Panel):
     bl_category = "Options"




More information about the Bf-blender-cvs mailing list