From 2c46b022a56643d38a52279c17fa231ee370e70f Mon Sep 17 00:00:00 2001 From: Christoph Lendenfeld Date: Fri, 26 Jul 2024 14:50:38 +0200 Subject: [PATCH] Fix: Compiler warning after recent refactor `rna_path` was passed to `BKE_reportf`, while it should be `rna_path.path.c_str()` --- source/blender/animrig/intern/keyframing.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/animrig/intern/keyframing.cc b/source/blender/animrig/intern/keyframing.cc index dfabb1af0ba..08390d9ebda 100644 --- a/source/blender/animrig/intern/keyframing.cc +++ b/source/blender/animrig/intern/keyframing.cc @@ -741,7 +741,7 @@ int clear_keyframe(Main *bmain, ReportList *reports, ID *id, const RNAPath &rna_ RPT_ERROR, "Could not clear keyframe, as RNA path is invalid for the given ID (ID = %s, path = %s)", id->name, - rna_path); + rna_path.path.c_str()); return 0; }