Allow fetching Eevee or Cycles materials from a material pass file

This commit is contained in:
Dion Moult
2019-11-30 22:42:04 +11:00
parent d76a67450c
commit 5bb59f3136
3 changed files with 37 additions and 1 deletions
+4 -1
View File
@@ -7,7 +7,7 @@ class BIM_PT_object(Panel):
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
bl_context = 'object'
@classmethod
def poll(cls, context):
return context.active_object is not None and hasattr(context.active_object, "BIMObjectProperties")
@@ -143,6 +143,9 @@ class BIM_PT_material(Panel):
row = layout.row()
row.prop(props, 'name')
row = layout.row()
row.operator('bim.fetch_external_material')
class BIM_PT_gis(Panel):
bl_label = 'IFC Georeferencing'