viral-viewer-2 4.7.7 → 4.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -34141,6 +34141,7 @@ which can be placed in CurveUtils.
|
|
|
34141
34141
|
mergedGeometry = mergeGeometries(geometries, true);
|
|
34142
34142
|
//recreate element by combine solids
|
|
34143
34143
|
const mesh = new Mesh(mergedGeometry);
|
|
34144
|
+
mesh.userData.MaterialIds = [];
|
|
34144
34145
|
for (let index = 0; index < solids.length; index++) {
|
|
34145
34146
|
const solid = solids[index];
|
|
34146
34147
|
mesh.userData.MaterialIds.push(solid.userData.MaterialId);
|