Merge pull request #392 from ynput/bugfix/blender-load-layout-fix

Blender: Fix used load layout plugin
This commit is contained in:
Jakub Trllo 2024-04-12 10:21:40 +02:00 committed by GitHub
commit 76463788a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -167,7 +167,7 @@ class JsonLayoutLoader(plugin.AssetLoader):
asset_group.empty_display_type = 'SINGLE_ARROW'
avalon_container.objects.link(asset_group)
self._process(libpath, asset, asset_group, None)
self._process(libpath, asset_name, asset_group, None)
bpy.context.scene.collection.objects.link(asset_group)