陈鹏飞 3 years ago
parent
commit
315bfc59ae
  1. 2
      src/app/babylon/controller/mode-manager.ts
  2. 2
      src/app/babylon/tool/gizmo-tool.ts

2
src/app/babylon/controller/mode-manager.ts

@ -18,7 +18,7 @@ export class ModeManager {
*
* 使 currentMode 访
*/
private static s_currentMode: ModeType = ModeType.Look;
private static s_currentMode: ModeType = ModeType.Edit;
/**
*

2
src/app/babylon/tool/gizmo-tool.ts

@ -198,7 +198,7 @@ export class GizmoTool {
//改变Gizmo目标
static changeGizmoAim(mesh: AbstractMesh, x: boolean = true, y = true, z = true) {
//console.trace("目标", ModeManager.currentMode);
GizmoTool.s_nowPickAim_mesh = mesh;
GizmoTool.s_gizmoManager.attachToMesh(mesh);
GizmoTool.s_gizmoManager.gizmos.positionGizmo.xGizmo.isEnabled = x;

Loading…
Cancel
Save