We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 571dd79 commit 4bba13eCopy full SHA for 4bba13e
1 file changed
README.md
@@ -986,7 +986,12 @@ def selected_skeletal_mesh(item):
986
ue.log('Ready to reimport: ' + uobject.get_name())
987
uobject.asset_reimport()
988
989
-app = QApplication([])
+#check if an instance of the application is already running
990
+app = QApplication.instance()
991
+if app is None:
992
+ app = QApplication([])
993
+else:
994
+ print("App already running.")
995
996
win = QWidget()
997
win.setWindowTitle('Unreal Engine 4 skeletal meshes reimporter')
0 commit comments