mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 06:47:57 +00:00
Allow fetching Eevee or Cycles materials from a material pass file
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user