On Mon, 23 Feb 2015 11:54 PM Lidia Martinez <[email protected]> wrote:
Cesar, that looks great. This catched my attention. "If a module instantiates instances of a class, reloading the module that defines the class does not affect the method definitions of the instances — they continue to use the old class definition. The same is true for derived classes." Does it mean the class is not reloaded?, as someone said in the list?. Reload has some caveats i'm curious about... Yea this is a caveat. Reloading won't help if other modules hold references to objects. All of the modules either have to be completely reloaded, or they have to access other modules though the module object. -- Lidia 2015-02-23 11:32 GMT+01:00 Cesar Saez <[email protected]>: This still works great for me: https://groups.google.com/d/msg/python_inside_maya/sNqxa2yDt5s/CC9MNpFni50J -- 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/CAPamJi-d0zdmoqZZ9xPuTfcCZ%3DGxtmvBsn6XAO_KmOL3uVoteg%40mail.gmail.com <https://groups.google.com/d/msgid/python_inside_maya/CAPamJi-d0zdmoqZZ9xPuTfcCZ%3DGxtmvBsn6XAO_KmOL3uVoteg%40mail.gmail.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- 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/CAAB1%3D8z3yD6gWT0MtD2f%2Bb%2BOOY00y5_0EVpwVXr%3DDnqp7QXkGg%40mail.gmail.com <https://groups.google.com/d/msgid/python_inside_maya/CAAB1%3D8z3yD6gWT0MtD2f%2Bb%2BOOY00y5_0EVpwVXr%3DDnqp7QXkGg%40mail.gmail.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- 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/CAPGFgA2UCuvq-4YSuNdfUzdmZKnxA%3D009KGnTti95qmBW8PUJQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
