stpete2 commited on
Commit
eb04c0d
·
verified ·
1 Parent(s): 575681d

Upload preprocess_manual.js

Browse files
Files changed (1) hide show
  1. preprocess_manual.js +14 -1
preprocess_manual.js CHANGED
@@ -1131,7 +1131,16 @@ export function preprocessManual(vrmPath, gsPath, scene, camera, renderer, stage
1131
  });
1132
  }
1133
 
1134
-
 
 
 
 
 
 
 
 
 
1135
  // ========================================
1136
  // Step 1: Bounding Box Adjustment Deleted
1137
  // ========================================
@@ -1364,6 +1373,7 @@ function setupBoneAssignment(ui, scene, camera, renderer, gvrm, character, filte
1364
  }
1365
  };
1366
 
 
1367
  // Call this after OrbitControls is created
1368
  // You'll need to pass the cameraControls.controls object
1369
  // setupCameraLock(cameraControls.controls);
@@ -1708,6 +1718,9 @@ function setupBoneAssignment(ui, scene, camera, renderer, gvrm, character, filte
1708
  // 1356行目から1818行目までを、この全体で置き換え
1709
  // ========================================
1710
 
 
 
 
1711
  const finalizeBtn = document.getElementById('finalize-btn');
1712
  if (finalizeBtn) {
1713
  finalizeBtn.addEventListener('click', async () => {
 
1131
  });
1132
  }
1133
 
1134
+ }); // GVRM.initGS().then()閉じる
1135
+ }); // parser.parsePLY().then()閉じる
1136
+ }); // ui.initialize().then()閉じる
1137
+
1138
+ } catch (error) {
1139
+ console.error('[preprocessManual] Error:', error);
1140
+ reject(error);
1141
+ }
1142
+ });
1143
+ }
1144
  // ========================================
1145
  // Step 1: Bounding Box Adjustment Deleted
1146
  // ========================================
 
1373
  }
1374
  };
1375
 
1376
+
1377
  // Call this after OrbitControls is created
1378
  // You'll need to pass the cameraControls.controls object
1379
  // setupCameraLock(cameraControls.controls);
 
1718
  // 1356行目から1818行目までを、この全体で置き換え
1719
  // ========================================
1720
 
1721
+
1722
+ /////////////// 12/13 16:40 修正必要箇所かも
1723
+
1724
  const finalizeBtn = document.getElementById('finalize-btn');
1725
  if (finalizeBtn) {
1726
  finalizeBtn.addEventListener('click', async () => {