Re: [Maya-Python] Re: C++ already deleted

2024-03-24 Thread Justin Israel
I'm not familiar with the widget being deleted during some intermediate operations. Pyside has had some weird bugs related to python garbage collection over the years, but from my understanding they have been addressed in modern releases. Could still be edge cases or maybe an older Pyside version.

Re: [Maya-Python] Re: C++ already deleted

2024-03-24 Thread Juan Cristóbal Quesada
Yeah, as i understand, it is good practice whenever you instantiate a PySide object to, right after, to add it to a layout, which by default would set its parent widget to the widget that holds the layout and keep the hierarchy consistent. The problem arises when this is not always done and you wan