__init__.py 599 B

123456789101112131415161718
  1. # Copyright (c) 2020 Jaime van Kessel, Ultimaker B.V.
  2. # The PostProcessingPlugin is released under the terms of the AGPLv3 or higher.
  3. # Workaround for a race condition on certain systems where there
  4. # is a race condition between Arcus and PyQt. Importing Arcus
  5. # first seems to prevent Sip from going into a state where it
  6. # tries to create PyQt objects on a non-main thread.
  7. import Arcus # @UnusedImport
  8. import Savitar # @UnusedImport
  9. from . import PostProcessingPlugin
  10. def getMetaData():
  11. return {}
  12. def register(app):
  13. return {"extension": PostProcessingPlugin.PostProcessingPlugin()}