vis-core 0.15.1 → 0.15.2
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.js +2 -2
- package/dist/index.module.js +7 -3
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.module.js
CHANGED
|
@@ -41312,7 +41312,7 @@ function Kl(i) {
|
|
|
41312
41312
|
const t = new _t();
|
|
41313
41313
|
return t.color.setScalar(i), t;
|
|
41314
41314
|
}
|
|
41315
|
-
const lX = "0.15.
|
|
41315
|
+
const lX = "0.15.2", S1 = !1;
|
|
41316
41316
|
class ya {
|
|
41317
41317
|
constructor(t, e = {}) {
|
|
41318
41318
|
A(this, "container");
|
|
@@ -46287,13 +46287,17 @@ class kT extends w0 {
|
|
|
46287
46287
|
}
|
|
46288
46288
|
execute() {
|
|
46289
46289
|
const t = this.properties ? this.object[this.properties] : this.object;
|
|
46290
|
-
t && (t instanceof Dh && this.attributeName === "castShadow" || (t[this.attributeName] = this.newValue,
|
|
46290
|
+
t && (t instanceof Dh && this.attributeName === "castShadow" || (t[this.attributeName] = this.newValue, t.isCamera && ["fov", "left", "right", "top", "bottom", "near", "far"].includes(
|
|
46291
|
+
this.attributeName
|
|
46292
|
+
) && t.updateProjectionMatrix(), this.editor.emit("objectChanged", this.object), setTimeout(() => {
|
|
46291
46293
|
this.attributeName === "name" && this.editor.pencil.event.emit("object3dListChange");
|
|
46292
46294
|
})));
|
|
46293
46295
|
}
|
|
46294
46296
|
undo() {
|
|
46295
46297
|
const t = this.properties ? this.object[this.properties] : this.object;
|
|
46296
|
-
t[this.attributeName] = this.oldValue,
|
|
46298
|
+
t[this.attributeName] = this.oldValue, t.isCamera && ["fov", "left", "right", "top", "bottom", "near", "far"].includes(
|
|
46299
|
+
this.attributeName
|
|
46300
|
+
) && t.updateProjectionMatrix(), this.editor.emit("objectChanged", this.object), setTimeout(() => {
|
|
46297
46301
|
this.attributeName === "name" && this.editor.pencil.event.emit("object3dListChange");
|
|
46298
46302
|
});
|
|
46299
46303
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.15.
|
|
1
|
+
declare const _default: "0.15.2";
|
|
2
2
|
export default _default;
|