On Tue, Aug 18, 2009 at 21:35, Chad Dombrova<[email protected]> wrote:
>
> thanks for clarifying.  do MObjectHandles have a properly implemented
> __eq__ and __ne__?   i've come across some bogus ones on api classes
> ( MDagPath.__ne__ was one offender, if i remember correctly )

Yup. SWIG maps a class's operator==() and operator!=() directly onto
__eq__() and __new__(), respectively.

The problem with MDagPath is that it has an operator==() but not an
operator!=() for some reason.

-- 
-deane

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to