From 3b3720781f11c168f01e418110a8bd58ab3d7aba Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Mon, 18 Jan 2016 11:15:53 -0800 Subject: [PATCH] fix a place where parent's scale wasn't properly squashed --- libraries/shared/src/SpatiallyNestable.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/shared/src/SpatiallyNestable.cpp b/libraries/shared/src/SpatiallyNestable.cpp index 02b1c0c0ae..2fea6b7db4 100644 --- a/libraries/shared/src/SpatiallyNestable.cpp +++ b/libraries/shared/src/SpatiallyNestable.cpp @@ -371,6 +371,7 @@ const Transform SpatiallyNestable::getTransform(int jointIndex, bool& success) c Transform jointInWorldFrame; Transform worldTransform = getTransform(success); + worldTransform.setScale(1.0f); // TODO -- scale; if (!success) { return jointInWorldFrame; }