刘向辉 3 years ago
parent
commit
3b1f66d227
  1. 2
      src/app/babylon/tool/gizmo-tool.ts

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