Consolidate and update

This commit is contained in:
2026-10-27 15:58:22 -07:00
parent eb211da457
commit 6c13722fc6
42 changed files with 498 additions and 169 deletions

View File

@ -1003,7 +1003,7 @@ class Scene {
}
if (o.vertex_groups != null) {
cast(object, MeshObject).vertexGroups = new Map();
object.vertexGroups = new Map();
for (p in o.vertex_groups) {
var verts:Array<iron.math.Vec4> = [];
@ -1014,7 +1014,7 @@ class Scene {
verts.push(new iron.math.Vec4(data[i * 3], data[i * 3 + 1], data[i * 3 + 2], 1.0));
}
}
cast(object, MeshObject).vertexGroups.set(p.name, verts);
object.vertexGroups.set(p.name, verts);
}
}