[Bf-blender-cvs] [35bf5da4361] greasepencil-object: Change UI panel registration order

Antonio Vazquez noreply at git.blender.org
Sat Jun 10 19:15:18 CEST 2017


Commit: 35bf5da4361416ce2180ee1f6ae196a0c5dba1bb
Author: Antonio Vazquez
Date:   Sat Jun 10 16:01:47 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rB35bf5da4361416ce2180ee1f6ae196a0c5dba1bb

Change UI panel registration order

This change is to keep the Tools tab on top because if the grease pencil panel are register at the end, the Tools tab change to end.

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

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 356040a1d97..699b9dbbb62 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -2032,6 +2032,12 @@ class VIEW3D_PT_tools_history(View3DPanel, Panel):
 
 
 classes = (
+    VIEW3D_PT_tools_grease_pencil_edit,
+    VIEW3D_PT_tools_grease_pencil_interpolate,
+    VIEW3D_PT_tools_grease_pencil_sculpt,
+    VIEW3D_PT_tools_grease_pencil_brush,
+    VIEW3D_PT_tools_grease_pencil_brushcurves,
+    VIEW3D_PT_tools_grease_pencil_draw,
     VIEW3D_PT_tools_transform,
     VIEW3D_PT_tools_object,
     VIEW3D_PT_tools_add_object,
@@ -2084,12 +2090,6 @@ classes = (
     VIEW3D_PT_tools_projectpaint,
     VIEW3D_MT_tools_projectpaint_stencil,
     VIEW3D_PT_tools_particlemode,
-    VIEW3D_PT_tools_grease_pencil_draw,
-    VIEW3D_PT_tools_grease_pencil_edit,
-    VIEW3D_PT_tools_grease_pencil_interpolate,
-    VIEW3D_PT_tools_grease_pencil_sculpt,
-    VIEW3D_PT_tools_grease_pencil_brush,
-    VIEW3D_PT_tools_grease_pencil_brushcurves,
     VIEW3D_PT_tools_history,
 )




More information about the Bf-blender-cvs mailing list