From df48490db2c3901cfb2fceb90f4beb71c58c1e7f Mon Sep 17 00:00:00 2001 From: Sonny Campbell Date: Wed, 17 May 2023 13:39:26 +0200 Subject: [PATCH] Fix warning in USD curves exporter Use timecode.GetValue() to fix warning about passing correct 'double' type to 'WM_reportf' Co-authored-by: DESKTOP-ON14TH5\Sonny Campbell Pull Request: https://projects.blender.org/blender/blender/pulls/108008 --- source/blender/io/usd/intern/usd_writer_curves.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/io/usd/intern/usd_writer_curves.cc b/source/blender/io/usd/intern/usd_writer_curves.cc index 20558b66226..769faa7559b 100644 --- a/source/blender/io/usd/intern/usd_writer_curves.cc +++ b/source/blender/io/usd/intern/usd_writer_curves.cc @@ -437,7 +437,7 @@ void USDCurvesWriter::do_write(HierarchyContext &context) "%s on frame %f", IFACE_(first_frame_curve_type_name), IFACE_(current_curve_type_name), - timecode); + timecode.GetValue()); return; }