New interface to quickly create a new view for documentation

This commit is contained in:
Dion Moult
2020-01-06 10:41:59 +11:00
parent 642738e0c0
commit 461b1735dd
3 changed files with 25 additions and 0 deletions
+5
View File
@@ -191,8 +191,13 @@ class BIM_PT_documentation(Panel):
def draw(self, context):
layout = self.layout
layout.use_property_split = True
props = bpy.context.scene.DocProperties
row = layout.row()
row.prop(props, 'view_name')
row.operator('bim.create_view', icon='ADD', text='')
row = layout.row()
row.prop(props, 'should_recut')