viral-viewer-2 6.3.8 → 6.3.9
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/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -28574,8 +28574,9 @@ class mP {
|
|
|
28574
28574
|
t,
|
|
28575
28575
|
i
|
|
28576
28576
|
).then((a) => {
|
|
28577
|
+
var h;
|
|
28577
28578
|
let l = a.material;
|
|
28578
|
-
l.size = 1, l.pointSizeType = fP.ADAPTIVE, l.shape = dP.CIRCLE, l.pointColorType = uP.RGB, this.viralViewerApi.viralScene.addObject(a), this.pointClouds.push(a), r(a);
|
|
28579
|
+
l.size = 1, l.pointSizeType = fP.ADAPTIVE, l.shape = dP.CIRCLE, l.pointColorType = uP.RGB, l.inputColorEncoding = 1, l.outputColorEncoding = 1, console.log(a.boundingBox), this.viralViewerApi.viralScene.addObject(a), this.pointClouds.push(a), this.viralViewerApi.viralCamera.camera && ((h = this.viralViewerApi.viralCamera.cameraControls) == null || h.fitToBox(a.boundingBox, !0)), r(a);
|
|
28579
28580
|
});
|
|
28580
28581
|
}
|
|
28581
28582
|
}
|