--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/934ce0cf-3e97-45fa-be70-1990757b8172%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hey no problem. Just giving some suggestions to help you get faster replies. Sometimes people can't grab the attachments and view them right away. But ya its valid to think the problem could have been elsewhere. So thanks for providing the proper code!
I'm guessing there is some underlying bug or issue with Qt causing the crash. The roles are used for getting various data results of a single index for different purposes. There are the built in ones like Display, Decoration, etc, and UserRole+N is provided to tack on more. I do stuff where I might have 3 custom bits of data I want to request from an index and returning the internal pointer is not always something you want to expose.
Its just a pattern I have followed and I don't claim its the gold standard. Just helps me define multiple custom types with constants that you can use.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/a44c62cb-a783-4e67-a3ee-fe805de36dc2%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/186acaf1-ff52-45c8-8751-00f402ba9424%40googlegroups.com.