[Bf-blender-cvs] [c81b104d5ca] asset-browser-poselib: Correct function names for changes in ui-asset-view-template branch

Julian Eisel noreply at git.blender.org
Fri Mar 26 17:42:19 CET 2021


Commit: c81b104d5ca01788f05e6dd99910097f7430fcb3
Author: Julian Eisel
Date:   Thu Mar 25 19:19:00 2021 +0100
Branches: asset-browser-poselib
https://developer.blender.org/rBc81b104d5ca01788f05e6dd99910097f7430fcb3

Correct function names for changes in ui-asset-view-template branch

===================================================================

M	source/blender/editors/armature/pose_lib_2.c

===================================================================

diff --git a/source/blender/editors/armature/pose_lib_2.c b/source/blender/editors/armature/pose_lib_2.c
index acb3e21d64c..1c62f119501 100644
--- a/source/blender/editors/armature/pose_lib_2.c
+++ b/source/blender/editors/armature/pose_lib_2.c
@@ -388,7 +388,7 @@ static Object *get_poselib_object(bContext *C)
 
 static void poselib_tempload_exit(PoseBlendData *pbd)
 {
-  ED_asset_temporary_id_consumer_free(&pbd->temp_id_consumer);
+  ED_asset_temp_id_consumer_free(&pbd->temp_id_consumer);
 }
 
 static bAction *poselib_blend_init_get_action(bContext *C, wmOperator *op)
@@ -401,8 +401,8 @@ static bAction *poselib_blend_init_get_action(bContext *C, wmOperator *op)
 
   PoseBlendData *pbd = op->customdata;
 
-  pbd->temp_id_consumer = ED_asset_temporary_id_consumer_create(asset_handle);
-  return (bAction *)ED_asset_temporary_id_consumer_get_id(
+  pbd->temp_id_consumer = ED_asset_temp_id_consumer_create(asset_handle);
+  return (bAction *)ED_asset_temp_id_consumer_ensure_local_id(
       pbd->temp_id_consumer, asset_library, ID_AC, CTX_data_main(C), op->reports);
 }



More information about the Bf-blender-cvs mailing list