🚀 Auto-deploy: melhoria no snap e medição AR em 28/05/2026 21:57:52
This commit is contained in:
@@ -260,6 +260,9 @@ interface ModelStore {
|
||||
/** When true, the next click on a model face sets grid Y to that point. */
|
||||
gridCalibMode: boolean;
|
||||
setGridCalibMode: (b: boolean) => void;
|
||||
/** When true, the VR controller/headset hit-tests real world surfaces to place grid & models. */
|
||||
gridLandingMode: boolean;
|
||||
setGridLandingMode: (b: boolean) => void;
|
||||
|
||||
/** Section/clipping cut tool (X/Y/Z axis-aligned planes in world space). */
|
||||
sectionEnabled: { x: boolean; y: boolean; z: boolean };
|
||||
@@ -555,6 +558,8 @@ export const useModelStore = create<ModelStore>((set, get) => ({
|
||||
nudgeGridY: (delta) => set((s) => ({ gridY: s.gridY + delta, gridAutoFollow: false })),
|
||||
gridCalibMode: false,
|
||||
setGridCalibMode: (gridCalibMode) => set({ gridCalibMode }),
|
||||
gridLandingMode: false,
|
||||
setGridLandingMode: (gridLandingMode) => set({ gridLandingMode }),
|
||||
|
||||
sectionEnabled: { x: false, y: false, z: false },
|
||||
sectionInvert: { x: false, y: false, z: false },
|
||||
|
||||
Reference in New Issue
Block a user