mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:52:26 +02:00
fix a place where parent's scale wasn't properly squashed
This commit is contained in:
parent
d6e3b85237
commit
3b3720781f
1 changed files with 1 additions and 0 deletions
|
@ -371,6 +371,7 @@ const Transform SpatiallyNestable::getTransform(int jointIndex, bool& success) c
|
||||||
Transform jointInWorldFrame;
|
Transform jointInWorldFrame;
|
||||||
|
|
||||||
Transform worldTransform = getTransform(success);
|
Transform worldTransform = getTransform(success);
|
||||||
|
worldTransform.setScale(1.0f); // TODO -- scale;
|
||||||
if (!success) {
|
if (!success) {
|
||||||
return jointInWorldFrame;
|
return jointInWorldFrame;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue