Merge pull request #5264 from LoopsCreativeStudio/feature/blender_handle_QApplication

This commit is contained in:
Simone Barbieri 2023-07-12 10:18:26 +01:00 committed by GitHub
commit 85532188a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -411,6 +411,7 @@ def register():
pcoll.load("pyblish_menu_icon", str(pyblish_icon_file.absolute()), 'IMAGE')
PREVIEW_COLLECTIONS["avalon"] = pcoll
BlenderApplication.get_app()
for cls in classes:
bpy.utils.register_class(cls)
bpy.types.TOPBAR_MT_editor_menus.append(draw_avalon_menu)