Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -262,7 +262,7 @@ export async function initializeViewer(config, instanceId) {
|
|
| 262 |
|
| 263 |
|
| 264 |
// ----- Modification du material "transparent" du filtre
|
| 265 |
-
traverse(filtreEntity, node => {
|
| 266 |
if (node.render && node.render.meshInstances) {
|
| 267 |
for (let mi of node.render.meshInstances) {
|
| 268 |
if (mi.material && mi.material.name === "transparant") {
|
|
@@ -284,7 +284,7 @@ export async function initializeViewer(config, instanceId) {
|
|
| 284 |
}
|
| 285 |
}
|
| 286 |
}
|
| 287 |
-
});
|
| 288 |
|
| 289 |
|
| 290 |
// ----- Model, Tube, Filtre transforms -----
|
|
|
|
| 262 |
|
| 263 |
|
| 264 |
// ----- Modification du material "transparent" du filtre
|
| 265 |
+
/*traverse(filtreEntity, node => {
|
| 266 |
if (node.render && node.render.meshInstances) {
|
| 267 |
for (let mi of node.render.meshInstances) {
|
| 268 |
if (mi.material && mi.material.name === "transparant") {
|
|
|
|
| 284 |
}
|
| 285 |
}
|
| 286 |
}
|
| 287 |
+
});*/
|
| 288 |
|
| 289 |
|
| 290 |
// ----- Model, Tube, Filtre transforms -----
|