AnimalLogic / AL_USDMaya

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

crash if you try and move a locked prim #63

Closed nxkb closed 6 years ago

nxkb commented 6 years ago

While testing some of the various prim attributes defined in Metadata.h that can customize created maya nodes, I was a little too harshly punished for trying to move a locked prim.

Reproduction steps

dbaz commented 6 years ago

Hi Nick, I have simple fix locally to stop the crash and need to investigate exactly why the reason. I will have the fix up ASAP.

If you havn't done the fix already on your end, it's a return early in ProxyShape::lockTransformAttribute after the GetPrimAtPath if the returned prim is null.

Also, I'm going to log one more issue publicly about the this lock feature that you may run into shortly.

dbaz commented 6 years ago

I have an internal fix in for code review. There is also documentation for the Lock feature coming

nxkb commented 6 years ago

Awesome. Thanks for looking into it!

dbaz commented 6 years ago

Fix is in version AL_USDMaya-0.26