mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
[ADD] Load QApplication on register for Blender
This commit is contained in:
parent
41533f28b7
commit
c9dec84c37
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue