diff --git a/src/blenderbim/blenderbim/bim/module/drawing/operator.py b/src/blenderbim/blenderbim/bim/module/drawing/operator.py index 5dc32d5bfe..83f7e1cfc4 100644 --- a/src/blenderbim/blenderbim/bim/module/drawing/operator.py +++ b/src/blenderbim/blenderbim/bim/module/drawing/operator.py @@ -2624,10 +2624,6 @@ class AddReferenceImage(bpy.types.Operator, Operator): obj.material_slots[0].material = material bpy.ops.bim.add_style() - style = ifc_file.by_id(material.BIMMaterialProperties.ifc_style_id) - representation = tool.Geometry.get_active_representation(obj) - tool.Ifc.run("style.assign_representation_styles", shape_representation=representation, styles=[style]) - material.diffuse_color = (0.031379, 0, 0.801157, 1) material.BIMStyleProperties.diffuse_path = self.filepath material.BIMStyleProperties.uv_mode = "Generated"