AnimalLogic / AL_USDMaya

This repo is no longer updated. Please see https://github.com/Autodesk/maya-usd
Other
266 stars 69 forks source link

fix issue where some transformations get lost #159

Closed pilarmolinalopez closed 5 years ago

pilarmolinalopez commented 5 years ago

Description (this won't be part of the changelog)

These changes solve an issue where transformations get lost (reset) when deselecting objects. To reproduce:

This is related to PR #149 Note: this only fixes translation, scale and shear. Rotation already worked. The pivot related transformations still fail and need a deeper look

Changelog

Added

Changed

Added temp variables to store transformations inside TransformationMatrix::initialiseToPrim

Deprecated

Removed

Fixed

Checklist (Please do not remove this line)