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

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 6c5d03f717c..6506116c255 100644
--- a/source/blender/editors/armature/pose_lib_2.c
+++ b/source/blender/editors/armature/pose_lib_2.c
@@ -386,7 +386,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)
@@ -399,8 +399,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);
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to