mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Oops, fix broken #4771 by mistake
This commit is contained in:
@@ -745,7 +745,6 @@ class ExpandMaterialCategory(bpy.types.Operator):
|
||||
category.is_expanded = True
|
||||
if category.name == self.category:
|
||||
props.active_material_index = index
|
||||
break
|
||||
core.load_materials(tool.Material, props.material_type)
|
||||
return {"FINISHED"}
|
||||
|
||||
@@ -775,7 +774,6 @@ class ContractMaterialCategory(bpy.types.Operator):
|
||||
category.is_expanded = False
|
||||
if category.name == self.category:
|
||||
props.active_material_index = index
|
||||
break
|
||||
core.load_materials(tool.Material, props.material_type)
|
||||
return {"FINISHED"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user