endset_three_editor 0.7.3 → 0.7.5
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/three-editor.es.js
CHANGED
|
@@ -2292,7 +2292,7 @@ const I = {
|
|
|
2292
2292
|
selectedObject: null
|
|
2293
2293
|
};
|
|
2294
2294
|
let Nt = !1, He = !1, Me = null, Te = null;
|
|
2295
|
-
const To = 16755200, Hs =
|
|
2295
|
+
const To = 16755200, Hs = 16755200;
|
|
2296
2296
|
let as = [], Et = [], Ct = !0, Fe = null, ls = null, Dt = null, Re = [];
|
|
2297
2297
|
const ze = /* @__PURE__ */ new Map();
|
|
2298
2298
|
let Ht, Wt = null, ft = null, pt = null;
|
|
@@ -2316,7 +2316,7 @@ function Po() {
|
|
|
2316
2316
|
const r = new lo(I.renderer);
|
|
2317
2317
|
r.addPass(new Ao(I.scene, I.camera)), r.addPass(new co());
|
|
2318
2318
|
const e = window.innerWidth * window.devicePixelRatio, t = window.innerWidth * window.devicePixelRatio * window.innerHeight * window.devicePixelRatio, s = e / 1920, o = Math.round(
|
|
2319
|
-
|
|
2319
|
+
2 * Math.min(Math.max(s, 0.6), 3)
|
|
2320
2320
|
), a = t > 25e6 ? 1 : t > 12e6 ? 1.5 : 2;
|
|
2321
2321
|
console.log(
|
|
2322
2322
|
`[OutlinePass] totalPx=${t}, downSample=${a}, dpr=${window.devicePixelRatio}, thickness=${o}`
|
|
@@ -2329,7 +2329,7 @@ function Po() {
|
|
|
2329
2329
|
I.scene,
|
|
2330
2330
|
I.camera
|
|
2331
2331
|
);
|
|
2332
|
-
l.edgeStrength =
|
|
2332
|
+
l.edgeStrength = 5, l.edgeGlow = 1, l.edgeThickness = o, l.visibleEdgeColor.set(Hs), l.hiddenEdgeColor.set(Hs), l.downSampleRatio = a, l.pulsePeriod = 2, r.addPass(l), Me = r, Te = l;
|
|
2333
2333
|
}
|
|
2334
2334
|
function Lo() {
|
|
2335
2335
|
I.scene = new R.Scene(), I.scene.name = "sl_scene", new R.TextureLoader().load(
|
|
@@ -6688,7 +6688,7 @@ const bl = {
|
|
|
6688
6688
|
onMouseenter: f[13] || (f[13] = (m) => t.value = !0),
|
|
6689
6689
|
onMouseleave: f[14] || (f[14] = (m) => t.value = !1)
|
|
6690
6690
|
}, [
|
|
6691
|
-
f[
|
|
6691
|
+
f[19] || (f[19] = b("button", { class: "menu-btn" }, "帮助", -1)),
|
|
6692
6692
|
L(b("div", Nl, [
|
|
6693
6693
|
b("div", {
|
|
6694
6694
|
class: "menu-item",
|
|
@@ -6701,13 +6701,14 @@ const bl = {
|
|
|
6701
6701
|
b("div", {
|
|
6702
6702
|
class: "menu-item",
|
|
6703
6703
|
onClick: y
|
|
6704
|
-
}, " 重置相机位置 ")
|
|
6704
|
+
}, " 重置相机位置 "),
|
|
6705
|
+
f[18] || (f[18] = b("div", { class: "menu-divider" }, null, -1))
|
|
6705
6706
|
], 512), [
|
|
6706
6707
|
[We, t.value]
|
|
6707
6708
|
])
|
|
6708
6709
|
], 32)
|
|
6709
6710
|
]),
|
|
6710
|
-
f[
|
|
6711
|
+
f[20] || (f[20] = b("div", { class: "right-section" }, [
|
|
6711
6712
|
b("span", { class: "app-title" }, "3D 模型编辑器")
|
|
6712
6713
|
], -1)),
|
|
6713
6714
|
b("input", {
|
|
@@ -6720,7 +6721,7 @@ const bl = {
|
|
|
6720
6721
|
}, null, 544)
|
|
6721
6722
|
]));
|
|
6722
6723
|
}
|
|
6723
|
-
}), Wl = /* @__PURE__ */ ke(Dl, [["__scopeId", "data-v-
|
|
6724
|
+
}), Wl = /* @__PURE__ */ ke(Dl, [["__scopeId", "data-v-b9955c51"]]), jl = { class: "bottom-bar" }, Fl = /* @__PURE__ */ Ee({
|
|
6724
6725
|
__name: "BottomBar",
|
|
6725
6726
|
setup(r) {
|
|
6726
6727
|
return (e, t) => (k(), O("div", jl, t[0] || (t[0] = [
|