__init__.py 632 B

12345678910111213141516171819
  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. import pynest2d # @UnusedImport
  10. from . import PostProcessingPlugin
  11. def getMetaData():
  12. return {}
  13. def register(app):
  14. return {"extension": PostProcessingPlugin.PostProcessingPlugin()}