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:
authorDalai Felinto <dfelinto@gmail.com>2018-11-01 01:12:33 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-11-01 01:27:49 +0300
commit95d4a6bdb1f0fbd433bf2725e72a255974ebe603 (patch)
treea8c78445261b5b16720e986c13d2beef0e1d9ea6 /release/scripts
parent679e0daaf8d1c5d453dfb0ff2614e955f2423f80 (diff)
Fix swapped on/off icons for brush overlays
This is the panels that you see when you invoke the painting tools from the Image Editor. If you do so from the viewport, the panels are different (and have it properly swapped already, although the panels should be the same as those ones I suppose - that said I like the one from the image editor better, in regard to the overlay panel).
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index 411e931cb0e..9abf4519bf6 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -874,7 +874,7 @@ class IMAGE_PT_tools_brush_overlay(BrushButtonsPanel, Panel):
"use_cursor_overlay",
text="",
toggle=True,
- icon='RESTRICT_VIEW_OFF' if brush.use_cursor_overlay else 'RESTRICT_VIEW_ON',
+ icon='RESTRICT_VIEW_ON' if brush.use_cursor_overlay else 'RESTRICT_VIEW_OFF',
)
sub = row.row(align=True)
@@ -890,7 +890,7 @@ class IMAGE_PT_tools_brush_overlay(BrushButtonsPanel, Panel):
"use_primary_overlay",
text="",
toggle=True,
- icon='RESTRICT_VIEW_OFF' if brush.use_primary_overlay else 'RESTRICT_VIEW_ON',
+ icon='RESTRICT_VIEW_ON' if brush.use_primary_overlay else 'RESTRICT_VIEW_OFF',
)
sub = row.row(align=True)
@@ -906,7 +906,7 @@ class IMAGE_PT_tools_brush_overlay(BrushButtonsPanel, Panel):
"use_secondary_overlay",
text="",
toggle=True,
- icon='RESTRICT_VIEW_OFF' if brush.use_secondary_overlay else 'RESTRICT_VIEW_ON',
+ icon='RESTRICT_VIEW_ON' if brush.use_secondary_overlay else 'RESTRICT_VIEW_OFF',
)
sub = row.row(align=True)