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-30 17:59:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-30 17:59:16 +0300
commit3b9554ce9d6fc232fd4a3e28b128d9b93a7073bd (patch)
tree7d5f38fe5bf8276ad935e900802dec4c7310e140 /release/scripts/startup/bl_ui/space_view3d_toolbar.py
parent77205258734f7787671d1ff81f7e77f4fe0b3a82 (diff)
UI: share common paint panels between all modes
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d_toolbar.py')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 158f032d009..f1569e9df8a 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -259,7 +259,7 @@ class VIEW3D_PT_imapaint_tools_missing(Panel, View3DPaintPanel):
class VIEW3D_PT_tools_brush(Panel, View3DPaintPanel):
bl_category = "Tools"
- bl_context = ".dummy" # dot on purpose (access from topbar)
+ bl_context = ".paint_common" # dot on purpose (access from topbar)
bl_label = "Brush"
@classmethod
@@ -634,7 +634,7 @@ class VIEW3D_PT_stencil_projectpaint(View3DPanel, Panel):
class VIEW3D_PT_tools_brush_overlay(Panel, View3DPaintPanel):
bl_category = "Options"
- bl_context = ".dummy" # dot on purpose (access from topbar)
+ bl_context = ".paint_common" # dot on purpose (access from topbar)
bl_label = "Overlay"
@classmethod
@@ -701,7 +701,7 @@ class VIEW3D_PT_tools_brush_overlay(Panel, View3DPaintPanel):
class VIEW3D_PT_tools_brush_texture(Panel, View3DPaintPanel):
bl_category = "Tools"
- bl_context = ".dummy" # dot on purpose (access from topbar)
+ bl_context = ".paint_common" # dot on purpose (access from topbar)
bl_label = "Texture"
bl_options = {'DEFAULT_CLOSED'}
@@ -749,7 +749,7 @@ class VIEW3D_PT_tools_mask_texture(Panel, View3DPaintPanel):
class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel):
bl_category = "Tools"
- bl_context = ".dummy" # dot on purpose (access from topbar)
+ bl_context = ".paint_common" # dot on purpose (access from topbar)
bl_label = "Stroke"
bl_options = {'DEFAULT_CLOSED'}
@@ -848,7 +848,7 @@ class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel):
class VIEW3D_PT_tools_brush_curve(Panel, View3DPaintPanel):
bl_category = "Tools"
- bl_context = ".dummy" # dot on purpose (access from topbar)
+ bl_context = ".paint_common" # dot on purpose (access from topbar)
bl_label = "Curve"
bl_options = {'DEFAULT_CLOSED'}
@@ -878,7 +878,7 @@ class VIEW3D_PT_tools_brush_curve(Panel, View3DPaintPanel):
class VIEW3D_PT_sculpt_dyntopo(Panel, View3DPaintPanel):
bl_category = "Tools"
- bl_context = ".dummy" # dot on purpose (access from topbar)
+ bl_context = ".sculpt_mode" # dot on purpose (access from topbar)
bl_label = "Dyntopo"
bl_options = {'DEFAULT_CLOSED'}
@@ -929,7 +929,7 @@ class VIEW3D_PT_sculpt_dyntopo(Panel, View3DPaintPanel):
class VIEW3D_PT_sculpt_options(Panel, View3DPaintPanel):
bl_category = "Options"
- bl_context = ".dummy" # dot on purpose (access from topbar)
+ bl_context = ".sculpt_mode" # dot on purpose (access from topbar)
bl_label = "Options"
bl_options = {'DEFAULT_CLOSED'}
@@ -963,7 +963,7 @@ class VIEW3D_PT_sculpt_options(Panel, View3DPaintPanel):
class VIEW3D_PT_sculpt_symmetry(Panel, View3DPaintPanel):
bl_category = "Tools"
- bl_context = ".dummy" # dot on purpose (access from topbar)
+ bl_context = ".sculpt_mode" # dot on purpose (access from topbar)
bl_label = "Symmetry/Lock"
bl_options = {'DEFAULT_CLOSED'}
@@ -1005,7 +1005,7 @@ class VIEW3D_PT_sculpt_symmetry(Panel, View3DPaintPanel):
class VIEW3D_PT_tools_brush_appearance(Panel, View3DPaintPanel):
bl_category = "Options"
- bl_context = ".dummy" # dot on purpose (access from topbar)
+ bl_context = ".paint_common" # dot on purpose (access from topbar)
bl_label = "Appearance"
@classmethod