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:48:48 +0300
commita84028f8a89a047c8fd0a56ceb4878a737a9f3fa (patch)
tree3be79c63a35f5f6c504bdb92497cb9eebf747e9e
parentd169df69b3f55b1b9f412479ab0f6692c5f8f6fb (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.
-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="")