🚀 Auto-deploy: melhoria no snap e medição AR em 31/05/2026 23:34:10

This commit is contained in:
2026-05-31 23:34:10 +00:00
parent 8154951fa5
commit 126bc6f80d
2 changed files with 16 additions and 10 deletions
+10 -4
View File
@@ -4,7 +4,7 @@ import { sendRemoteLog } from '@/lib/remoteLogger';
// ── Persistência de placement (fineTuning + escala) e flags WebXR ─────
const PLACEMENT_KEY = 'tsxr_placements_v1';
const XRFEAT_KEY = 'xrFeatures';
const XRFEAT_KEY = 'xrFeatures_v2';
const CAMERA_MODE_KEY = 'tsxr_camera_mode_v1';
function loadCameraMode(): 'ortho' | 'persp' {
@@ -30,9 +30,15 @@ export interface XRFeatureFlags {
bodyTracking: boolean;
}
const DEFAULT_XR_FEATURES: XRFeatureFlags = {
handTracking: true, planeDetection: true, hitTest: true, domOverlay: true,
anchors: true, meshDetection: true, depthSensing: true, layers: true,
bodyTracking: true,
handTracking: true,
planeDetection: true,
hitTest: true,
domOverlay: true,
anchors: true,
meshDetection: false,
depthSensing: false,
layers: false,
bodyTracking: false,
};
function loadXRFeatures(): XRFeatureFlags {
try {