sosoyan / aton

Arnold Interface-compatible display driver and Nuke plugin for direct rendering into the Nuke interface.
http://sosoyan.github.io/Aton
BSD 3-Clause "New" or "Revised" License
99 stars 17 forks source link

Update aton_maya.py #49

Closed nicelifeBS closed 8 years ago

nicelifeBS commented 8 years ago

Fixing an issue when cameras return None for listRelatives.

sosoyan commented 8 years ago

Hi Bjoern,

Thanks a lot for your contribution. Was that happening in some specific cases when you've got a camera shape without transform parent?

Thanks.

nicelifeBS commented 8 years ago

Hi, sorry for the late reply. I am not sure why that shape was missing its parent. Could be that something went missing in the file which was imported via reference. I can have a closer look to get a repo case if you like.

cheers

sosoyan commented 8 years ago

Hi,

No worries, it is possible to have a camera shape in maya without necessarily having a transform parent, so I've already merged it.

If you have any other suggestions or future requests don't hesitate to email me directly.

Cheers.