|
@@ -53,7 +53,7 @@ export const setModelType = (type) => {
|
|
|
model.scene.remove(gasPumpUnderObj.group);
|
|
|
}
|
|
|
group = gasPumpBaseObj.group;
|
|
|
- model.isRender = false;
|
|
|
+ // model.isRender = false;
|
|
|
const oldCameraPosition = { x: 15.9074, y: 5.40264, z: 27.12551 };
|
|
|
setTimeout(async () => {
|
|
|
model?.scene?.add(group);
|
|
@@ -75,7 +75,7 @@ export const setModelType = (type) => {
|
|
|
}
|
|
|
gasPumpUnderObj.addCssText();
|
|
|
group = gasPumpUnderObj.group;
|
|
|
- model.isRender = true;
|
|
|
+ // model.isRender = true;
|
|
|
const oldCameraPosition = { x: 15.9074, y: 5.40264, z: 27.12551 };
|
|
|
setTimeout(async () => {
|
|
|
model?.scene?.add(group);
|
|
@@ -107,7 +107,7 @@ export const mountedThree = () => {
|
|
|
await gasPumpUnderObj.mountedThree();
|
|
|
|
|
|
addMouseEvent();
|
|
|
- render();
|
|
|
+ // render();
|
|
|
model.animate();
|
|
|
resolve(null);
|
|
|
});
|