mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
Fix undefined function
This commit is contained in:
parent
52e2d785c1
commit
aa99cc14b8
2 changed files with 4 additions and 4 deletions
|
|
@ -170,7 +170,7 @@ class BlendModelLoader(plugin.AssetLoader):
|
|||
collection_libpath = collection_metadata["libpath"]
|
||||
lib_container = collection_metadata["lib_container"]
|
||||
|
||||
obj_container = get_local_collection_with_name(
|
||||
obj_container = plugin.get_local_collection_with_name(
|
||||
collection_metadata["obj_container"].name
|
||||
)
|
||||
objects = obj_container.all_objects
|
||||
|
|
@ -230,7 +230,7 @@ class BlendModelLoader(plugin.AssetLoader):
|
|||
collection_metadata = collection.get(
|
||||
blender.pipeline.AVALON_PROPERTY)
|
||||
|
||||
obj_container = get_local_collection_with_name(
|
||||
obj_container = plugin.get_local_collection_with_name(
|
||||
collection_metadata["obj_container"].name
|
||||
)
|
||||
objects = obj_container.all_objects
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ class BlendRigLoader(plugin.AssetLoader):
|
|||
collection_libpath = collection_metadata["libpath"]
|
||||
lib_container = collection_metadata["lib_container"]
|
||||
|
||||
obj_container = get_local_collection_with_name(
|
||||
obj_container = plugin.get_local_collection_with_name(
|
||||
collection_metadata["obj_container"].name
|
||||
)
|
||||
objects = obj_container.all_objects
|
||||
|
|
@ -255,7 +255,7 @@ class BlendRigLoader(plugin.AssetLoader):
|
|||
collection_metadata = collection.get(
|
||||
blender.pipeline.AVALON_PROPERTY)
|
||||
|
||||
obj_container = get_local_collection_with_name(
|
||||
obj_container = plugin.get_local_collection_with_name(
|
||||
collection_metadata["obj_container"].name
|
||||
)
|
||||
objects = obj_container.all_objects
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue