@smarterplan/ngx-smarterplan-core 1.2.37 → 1.2.38
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.
- package/esm2020/lib/services/matterport.service.mjs +11 -2
- package/fesm2015/smarterplan-ngx-smarterplan-core.mjs +10 -1
- package/fesm2015/smarterplan-ngx-smarterplan-core.mjs.map +1 -1
- package/fesm2020/smarterplan-ngx-smarterplan-core.mjs +10 -1
- package/fesm2020/smarterplan-ngx-smarterplan-core.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3336,7 +3336,16 @@ class MatterportService {
|
|
|
3336
3336
|
this.dictionnaryObjects3D.get(uuid).obj3D.visible = false;
|
|
3337
3337
|
}
|
|
3338
3338
|
getObject3DModelNodeFromDictionnary(uuid) {
|
|
3339
|
-
|
|
3339
|
+
let obj = this.dictionnaryObjects3D.get(uuid);
|
|
3340
|
+
if (!obj) {
|
|
3341
|
+
console.log("weird thing again");
|
|
3342
|
+
return null;
|
|
3343
|
+
}
|
|
3344
|
+
//might break things or fix everything ..?
|
|
3345
|
+
if (obj.obj3D.uuid != uuid) {
|
|
3346
|
+
console.log("we have THE problem");
|
|
3347
|
+
obj.obj3D.uuid = uuid;
|
|
3348
|
+
}
|
|
3340
3349
|
}
|
|
3341
3350
|
/**
|
|
3342
3351
|
* Creates MattertagData and start repositioning (creates temporary mattertag that follows the cursor)
|