endset_three_editor 0.1.9 → 0.2.1

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.
@@ -1229,7 +1229,7 @@ function Bo() {
1229
1229
  if (!r) return "{}";
1230
1230
  let e = r;
1231
1231
  e = r.clone(), e.children = e.children.filter(
1232
- (s) => s.userData.type === "initFloor"
1232
+ (s) => s.userData.type !== "initFloor"
1233
1233
  );
1234
1234
  const t = e.toJSON();
1235
1235
  return JSON.stringify(t, null);
@@ -1237,7 +1237,7 @@ function Bo() {
1237
1237
  function ei(r, e = "edit") {
1238
1238
  var i;
1239
1239
  const t = typeof r == "string" ? JSON.parse(r) : r, n = new F.ObjectLoader().parse(t);
1240
- n.type === "scene" ? w.scene = n : (i = w.scene) == null || i.add(n);
1240
+ n.type === "Scene" ? w.scene = n : (i = w.scene) == null || i.add(n);
1241
1241
  }
1242
1242
  const ti = /^[og]\s*(.+)?/, ni = /^mtllib /, si = /^usemtl /, ii = /^usemap /, Yt = /\s+/, Bt = new M(), ut = new M(), Kt = new M(), Vt = new M(), q = new M(), et = new pe();
1243
1243
  function oi() {