mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Temporarily commented out dissolve_limited in generate_hipped_roof
Currently it causes an error if you run it in object mode and doesn't really work in edit mode either because you may have no vertices selected. Will fix soon.
This commit is contained in:
@@ -53,7 +53,8 @@ class GenerateHippedRoof(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
self.report({"ERROR"}, "Need to select some object first.")
|
self.report({"ERROR"}, "Need to select some object first.")
|
||||||
return {"CANCELLED"}
|
return {"CANCELLED"}
|
||||||
|
|
||||||
bpy.ops.mesh.dissolve_limited()
|
# TODO: include this operator in bim.generate_hipped_roof
|
||||||
|
# bpy.ops.mesh.dissolve_limited()
|
||||||
generate_hipped_roof(obj, self.mode, self.height, self.angle)
|
generate_hipped_roof(obj, self.mode, self.height, self.angle)
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user