Drawing styles now can store rudimentary rendering settings

This commit is contained in:
Dion Moult
2020-08-13 09:22:27 +10:00
parent a47d1ac32a
commit a7c76b1f48
4 changed files with 78 additions and 48 deletions
+4 -6
View File
@@ -728,10 +728,6 @@ class BIM_PT_documentation(Panel):
layout.use_property_split = True
props = bpy.context.scene.DocProperties
row = layout.row(align=True)
row.operator('bim.set_view_preset_1')
row.operator('bim.set_view_preset_2')
row = layout.row()
row.prop(props, 'view_name', text='Drawing Name')
row.operator('bim.create_view', icon='ADD', text='')
@@ -885,8 +881,6 @@ class BIM_PT_camera(Panel):
row.prop(drawing_style, 'name')
row.operator('bim.remove_drawing_style', icon='X', text='').index = props.active_drawing_style_index
row = layout.row(align=True)
row.prop(drawing_style, 'raster_style')
row = layout.row(align=True)
row.prop(drawing_style, 'vector_style')
row = layout.row(align=True)
@@ -894,6 +888,10 @@ class BIM_PT_camera(Panel):
row = layout.row(align=True)
row.prop(drawing_style, 'exclude_query')
row = layout.row(align=True)
row.operator('bim.save_drawing_style')
row.operator('bim.activate_drawing_style')
row = layout.row(align=True)
row.operator('bim.cut_section', text='Create Drawing')
op = row.operator('bim.open_view', icon='URL', text='')