LumaPictures / pymel

Python in Maya Done Right
Other
479 stars 130 forks source link

Fix for showNamespaces breaking ls. #375

Closed bob-white closed 8 years ago

bob-white commented 8 years ago

Currently pymel.core.ls(showNamespaces=True) throws an exception because pymel.core.PyNode('SomeNamespace:') is not a valid PyNode.

This fixes the problem by wrapping the namespaces with the Namespace class, and the nodes with the PyNode class.

pmolodo commented 8 years ago

Thanks for the fix!