Archived
3D: Koerper-Verschieben (Wand/Zeichnung/Decke/Dach) rastet mit dem Referenzpunkt auf andere Punkte ein
This commit is contained in:
1 parent
8c5332b0e8
commit
07bc7f3871
1 file changed
+5
-1
+5
-1
@@ -2110,7 +2110,11 @@ export default function App() {
|
||||
const desiredPoint =
|
||||
ge && ge.kind === "move" && grip3dTargetKey(ge.target) === key && (ge.locks.length != null || ge.locks.angle != null)
|
||||
? grip3dEditPoint(ge.anchor, ge.locks, rawPoint)
|
||||
: rawPoint;
|
||||
: (snapFor3dVertex(
|
||||
rawPoint,
|
||||
new Set(target.wallId ? [target.wallId] : []),
|
||||
new Set(target.drawingId ? [target.drawingId] : []),
|
||||
)?.point ?? rawPoint); // Referenzpunkt des Körpers rastet auf andere Punkte ein
|
||||
const desiredTotal: Vec2 = { x: desiredPoint.x - st.anchor.x, y: desiredPoint.y - st.anchor.y };
|
||||
const appliedDelta: Vec2 = {
|
||||
x: desiredTotal.x - st.appliedTotal.x,
|
||||
|
||||
Reference in new issue
Block a user