Make all features working
This commit is contained in:
@@ -50,9 +50,9 @@ class ASSETLIB_OT_load_asset(Operator):
|
||||
self.report({"ERROR"}, 'No asset selected')
|
||||
return {'CANCELLED'}
|
||||
|
||||
active_lib = lib.adapter.get_active_asset_library()
|
||||
active_lib = lib.library_type.get_active_asset_library()
|
||||
asset_path = asset.asset_data['filepath']
|
||||
asset_path = active_lib.adapter.format_path(asset_path)
|
||||
asset_path = active_lib.library_type.format_path(asset_path)
|
||||
name = asset.name
|
||||
|
||||
## set mode to object
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user