[Bf-extensions-cvs] [a84028f8] blender-v3.0-release: Stored Views: Do not use the deprecated `SMALL_TRI_RIGHT_VEC` icon

Pablo Vazquez noreply at git.blender.org
Fri Nov 5 18:49:00 CET 2021


Commit: a84028f8a89a047c8fd0a56ceb4878a737a9f3fa
Author: Pablo Vazquez
Date:   Fri Nov 5 18:36:41 2021 +0100
Branches: blender-v3.0-release
https://developer.blender.org/rBAa84028f8a89a047c8fd0a56ceb4878a737a9f3fa

Stored Views: Do not use the deprecated `SMALL_TRI_RIGHT_VEC` icon

Use `CHECKMARK` instead since it's supposed to indicate the active view.

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

M	space_view3d_stored_views/stored_views_test.py
M	space_view3d_stored_views/ui.py

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

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="")



More information about the Bf-extensions-cvs mailing list