mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Validate mesh input
This report comes from a but reported to Blender, where invalid geometry is apparently created by this importer. https://developer.blender.org/T52921
This commit is contained in:
committed by
Thomas Krijnen
parent
33220fa78c
commit
0429e765b5
@@ -94,6 +94,7 @@ def import_ifc(filename, use_names, process_relations, blender_booleans):
|
||||
|
||||
me = bpy.data.meshes.new('mesh%d' % ob.geometry.id)
|
||||
me.from_pydata(verts, [], faces)
|
||||
me.validate()
|
||||
|
||||
def add_material(mname, props):
|
||||
if mname in bpy.data.materials:
|
||||
|
||||
Reference in New Issue
Block a user