My question to you is, who is most people? Maybe if you share an example we could more easily spot why the decision to use a boolean was made for that particular case.
If I had to guess, then I'd think it's the same reason as to why it is ill advised to store a reference to an MObject; they aren't built to last. That is to say, storing an MObject, changing the Maya scenegraph, and later accessing the MObject could yield unexpected results, and in some cases even lead to crash, because the memory it points to is no longer what you think it is. However if you know that there is no chance of the scenegraph to change for the duration of you storing this member variable, then I would think you should be fine. That is why I'm asking for examples, because odds are the examples you've have been unable to guarantee such conditions. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOB9pPUBGsHk8_1Q53E4TTm42evbqtBrou6nLEXJmPH%3Dcg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
