Keep gizmo scale

This commit is contained in:
luboslenco
2019-08-25 21:22:19 +02:00
parent c657c523e2
commit 099dc7e66e
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -1043,6 +1043,7 @@ class RenderPathDeferred {
gizmo.parent = cam;
gizmo.transform.loc = new Vec4(7.2 * ratio, -7.6, -1);
gizmo.transform.rot = new Quat(-crot.x, -crot.y, -crot.z, crot.w);
gizmo.transform.scale.set(0.5, 0.5, 0.5);
gizmo.transform.buildMatrix();
gizmo.render(currentG, "overlay", []);