Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Vazquez <pablo@blender.org>2021-11-05 20:36:41 +0300
committerPablo Vazquez <pablo@blender.org>2021-11-05 20:39:28 +0300
commitcc2f71bfe9b037da263beaa54c2d3925fa136503 (patch)
tree64a2a65d32d098097d33b675efdf8b819443ed4c /space_view3d_stored_views
parent905cfc4040e71bcc60d5526506814431bd0a8e58 (diff)
Stored Views: Do not use the deprecated `SMALL_TRI_RIGHT_VEC` icon
Use `CHECKMARK` instead since it's supposed to indicate the active view.
Diffstat (limited to 'space_view3d_stored_views')
-rw-r--r--space_view3d_stored_views/stored_views_test.py2
-rw-r--r--space_view3d_stored_views/ui.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/space_view3d_stored_views/stored_views_test.py b/space_view3d_stored_views/stored_views_test.py
index 19b2a0ef..746f8d95 100644
--- a/space_view3d_stored_views/stored_views_test.py
+++ b/space_view3d_stored_views/stored_views_test.py
@@ -1271,7 +1271,7 @@ class VIEW3D_PT_properties_stored_views(Panel):
subrow = box.row(align=True)
# current view indicator
if data_store.current_index == i and context.scene.stored_views.view_modified is False:
- subrow.label(text="", icon='SMALL_TRI_RIGHT_VEC')
+ subrow.label(text="", icon='CHECKMARK')
subrow.operator("stored_views.set",
text="", icon=icon_string).index = i
subrow.prop(list[i], "name", text="")
diff --git a/space_view3d_stored_views/ui.py b/space_view3d_stored_views/ui.py
index c4c41707..207f18c9 100644
--- a/space_view3d_stored_views/ui.py
+++ b/space_view3d_stored_views/ui.py
@@ -236,7 +236,7 @@ class VIEW3D_PT_properties_stored_views(Panel):
subrow = box.row(align=True)
# current view indicator
if data_store.current_index == i and context.scene.stored_views.view_modified is False:
- subrow.label(text="", icon='SMALL_TRI_RIGHT_VEC')
+ subrow.label(text="", icon='CHECKMARK')
subrow.operator("stored_views.set",
text="", icon=icon_string).index = i
subrow.prop(list[i], "name", text="")