@Mike - It sounds like the issue was that you might have only been
reloading the main script, as opposed to "deep reloading". First all of the
dependencies have to be reloaded, and then the dependants have to be
reloaded. Also I think it also makes a difference how you are importing
things. It migh
Yes, but this isn't unique to Maya. It's similar to having a Python
interpreter running, importing your module and then expecting the
interpreter to know it's been updated. Modules affect global state and can
have a great effect on the behavior of interpreter. Since the interpreter
in Maya is runni
the thing I have noticed is that when I updated my UIs and covert them to .py
modules for import ... I ALWAYS
need to restart Maya. Even if I have closed all my QT_Dialogs/Widgets
Sent from my iPhone
> On Jul 17, 2014, at 7:51 AM, Marcus Ottosson wrote:
>
> Have you guys tested memory usage
Have you guys tested memory usage on widgets sticking around after getting
closed? I can't imagine it ever becoming a problem, even in long-running
sessions of Maya (e.g a whole day). The only issue I've had with the
persistence of variables in Maya is in debugging and making sure you're
actually u
Thanks Justin ...
Prior to reading this , I thought it was something like this ... I have the
following in my Class __init__
self.setAttribute(QtCore.Qt.WA_DeleteOnClose)
On Tuesday, July 15, 2014 4:00:15 PM UTC-4, Justin Israel wrote:
>
> There isn't any formal kind of global "flush" for Qt.
We've also made use of weak references. Cyclical references can keep Qt,
and especially PySide, from correctly garbage collecting.
On Tue, Jul 15, 2014 at 4:00 PM, Justin Israel
wrote:
> There isn't any formal kind of global "flush" for Qt. If you are leaking
> memory then you would need to fi
There isn't any formal kind of global "flush" for Qt. If you are leaking
memory then you would need to fix that. Since Maya is a persistent
environment for all of the tools you run, tools have to take care to clean
themselves up.
With Qt, even more so. Because if you create widgets with parent to
Is there a way to flushing all prior QT instances from memory when
developing PySide/Qt scripts for Maya?
I am constantly exiting Maya and reloading it when my forms don't seem to
refresh properly.
Thanks
M
--
You received this message because you are subscribed to the Google Groups
"Pytho