mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
created uv map to have constistent name with Blender uvs
Previously it was named "Float2"
This commit is contained in:
@@ -387,7 +387,8 @@ class Loader(blenderbim.core.tool.Loader):
|
||||
# Get a BMesh representation
|
||||
bm = bmesh.new()
|
||||
bm.from_mesh(mesh)
|
||||
uv_layer = bm.loops.layers.uv.verify()
|
||||
# constistent naming with how Blender does it
|
||||
uv_layer = bm.loops.layers.uv.active or bm.loops.layers.uv.new("UVMap")
|
||||
|
||||
# remap the faceset CoordList index to the vertices in blender mesh
|
||||
coordinates_remap = []
|
||||
|
||||
Reference in New Issue
Block a user