vis-core 0.27.18 → 0.27.19

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.
@@ -88,7 +88,7 @@ const publicKeyPEM = "LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRz
88
88
  ).toString(CryptoJS.enc.Utf8), Ne = JSON.parse(Re), ke = Date.now();
89
89
  return !Ne.s || Ne.s > ke ? (this.token = void 0, "") : Ne.e && Ne.e < ke ? (this.token = void 0, "") : (Ne.isValid = ye, Ne);
90
90
  }
91
- }, version = "0.27.18";
91
+ }, version = "0.27.19";
92
92
  /**
93
93
  * @license
94
94
  * Copyright 2010-2025 Three.js Authors
@@ -58499,21 +58499,19 @@ class SetValue extends Command {
58499
58499
  }
58500
58500
  execute() {
58501
58501
  const t = this.properties ? this.object[this.properties] : this.object;
58502
- t && ((t instanceof RectAreaLight || t instanceof AmbientLight) && this.attributeName === "castShadow" || (t[this.attributeName] = this.newValue, this.fixObj(), this.editor.emit("objectChanged", this.object), setTimeout(() => {
58503
- (this.attributeName === "name" || this.attributeName === "prefab" || this.attributeName === "visible") && this.editor.emit("baseObjectListChange");
58504
- })));
58502
+ t && ((t instanceof RectAreaLight || t instanceof AmbientLight) && this.attributeName === "castShadow" || (t[this.attributeName] = this.newValue, this.fixObj(), this.editor.emit("objectChanged", this.object)));
58505
58503
  }
58506
58504
  fixObj() {
58507
58505
  const t = this.properties ? this.object[this.properties] : this.object;
58508
58506
  t.isCamera && ["fov", "left", "right", "top", "bottom", "near", "far"].includes(
58509
58507
  this.attributeName
58510
- ) && t.updateProjectionMatrix();
58508
+ ) && t.updateProjectionMatrix(), setTimeout(() => {
58509
+ (this.attributeName === "name" || this.attributeName === "prefab" || this.attributeName === "visible" || this.attributeName === "keepCamera") && this.editor.emit("baseObjectListChange");
58510
+ });
58511
58511
  }
58512
58512
  undo() {
58513
58513
  const t = this.properties ? this.object[this.properties] : this.object;
58514
- t[this.attributeName] = this.oldValue, this.fixObj(), this.editor.emit("objectChanged", this.object), setTimeout(() => {
58515
- (this.attributeName === "name" || this.attributeName === "prefab" || this.attributeName === "visible") && this.editor.emit("baseObjectListChange");
58516
- });
58514
+ t[this.attributeName] = this.oldValue, this.fixObj(), this.editor.emit("objectChanged", this.object);
58517
58515
  }
58518
58516
  update(t) {
58519
58517
  this.newValue = t.newValue;
@@ -59557,7 +59555,7 @@ class Editor {
59557
59555
  key: "camera",
59558
59556
  object3d: this.pencil.camera,
59559
59557
  userData: {},
59560
- children: []
59558
+ children: this.pencil.camera.children.map((at) => this.pencil.lead.objMap.get(at)).filter((at) => at)
59561
59559
  });
59562
59560
  else if (v.object3d.target) {
59563
59561
  const at = v.options.type;
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "0.27.18";
1
+ declare const _default: "0.27.19";
2
2
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vis-core",
3
- "version": "0.27.18",
3
+ "version": "0.27.19",
4
4
  "scripts": {
5
5
  "start": "npm run version && PORT=5173 bundler-dev",
6
6
  "build:site": "npm run version && bundler",