We were testing to port our pipeline on 2020.1 and found an issue with the PySide2 embedded.
Could someone test if executing the following code make your max crash.
import MaxPlus from PySide2 import QtCore, QtWidgets class CustomWidget(QtWidgets.QWidget): def __init__(self, parent=None): super(CustomWidget, self).__init__(parent=parent) app = QtCore.QCoreApplication.instance() app.installEventFilter(self) def eventFilter(self, object_, event): """ Override the QObject event filter function. """ return False custom_widget = CustomWidget(parent=MaxPlus.GetQMaxMainWindow())
The crash happens when installing an eventfilter on the app , defining the
eventFilter method and catching the first event It works
Hint: It does not crash when executed with
3dsmaxpy.exe and a base