[Bf-extensions-cvs] [5849db11] master: stored views: add missing rendered display type
meta-androcto
noreply at git.blender.org
Sun Feb 26 14:45:29 CET 2017
Commit: 5849db11a5170eda7f2a9230a13f6122c7015bfa
Author: meta-androcto
Date: Mon Feb 27 00:45:08 2017 +1100
Branches: master
https://developer.blender.org/rBAC5849db11a5170eda7f2a9230a13f6122c7015bfa
stored views: add missing rendered display type
===================================================================
M stored_views/properties.py
M stored_views/ui.py
===================================================================
diff --git a/stored_views/properties.py b/stored_views/properties.py
index 1543fc6c..f011ce68 100644
--- a/stored_views/properties.py
+++ b/stored_views/properties.py
@@ -45,7 +45,8 @@ class DisplayData(PropertyGroup):
viewport_shade = EnumProperty(items=[('BOUNDBOX', 'BOUNDBOX', 'BOUNDBOX'),
('WIREFRAME', 'WIREFRAME', 'WIREFRAME'),
('SOLID', 'SOLID', 'SOLID'),
- ('TEXTURED', 'TEXTURED', 'TEXTURED')])
+ ('TEXTURED', 'TEXTURED', 'TEXTURED'),
+ ('RENDERED', 'RENDERED', 'RENDERED')])
show_only_render = BoolProperty()
show_outline_selected = BoolProperty()
show_all_objects_origin = BoolProperty()
diff --git a/stored_views/ui.py b/stored_views/ui.py
index c3a55ead..06250d03 100644
--- a/stored_views/ui.py
+++ b/stored_views/ui.py
@@ -194,7 +194,8 @@ class VIEW3D_PT_properties_stored_views(bpy.types.Panel):
icon_string = "WIRE"
elif shade == 'BOUNDBOX':
icon_string = 'BBOX'
-
+ elif shade == 'RENDERED':
+ icon_string = 'MATERIAL'
# stored view row
subrow = box.row(align=True)
# current view indicator
More information about the Bf-extensions-cvs
mailing list