maya image plane load error

This commit is contained in:
Kayla Man 2022-12-20 18:46:06 +08:00
parent 8055b793ee
commit 9173199896

View file

@ -71,7 +71,7 @@ class CameraWindow(QtWidgets.QDialog):
self.close()
def on_cancel_pressed(self):
if self.camera is not None:
if self.camera:
return
self.close()