[Bf-extensions-cvs] [cc2f71bf] master: Stored Views: Do not use the deprecated `SMALL_TRI_RIGHT_VEC` icon
Pablo Vazquez
noreply at git.blender.org
Fri Nov 5 18:39:30 CET 2021
Commit: cc2f71bfe9b037da263beaa54c2d3925fa136503
Author: Pablo Vazquez
Date: Fri Nov 5 18:36:41 2021 +0100
Branches: master
https://developer.blender.org/rBAcc2f71bfe9b037da263beaa54c2d3925fa136503
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