Permalink
Browse files

Correct scaling of gizmo pivot point representation

  • Loading branch information...
1 parent 6fad361 commit e208febbd383abde70f7b1e7248d3a9115320f66 @Greg209 Greg209 committed Jun 24, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 awaybuilder-core/src/awaybuilder/view/scene/controls/TranslateGizmo3D.as
@@ -179,6 +179,10 @@ package awaybuilder.view.scene.controls
super.update();
if (pivot && currentMesh) {
+ pivot.scaleX = content.scaleX;
+ pivot.scaleY = content.scaleY;
+ pivot.scaleZ = content.scaleZ;
+
pivot.eulers = CameraManager.camera.eulers.clone();
var piv:Vector3D = currentMesh.sceneTransform.deltaTransformVector(currentMesh.pivotPoint);
pivot.position = piv;

0 comments on commit e208feb

Please sign in to comment.