[Bf-blender-cvs] [275d2374b16] sybren-usd: USD: Fixed bug getting evaluation mode property

Sybren A. Stüvel noreply at git.blender.org
Tue Jul 16 15:33:40 CEST 2019


Commit: 275d2374b16923b8f23c7ade8c43656f381ffe3e
Author: Sybren A. Stüvel
Date:   Tue Jul 16 12:13:37 2019 +0200
Branches: sybren-usd
https://developer.blender.org/rB275d2374b16923b8f23c7ade8c43656f381ffe3e

USD: Fixed bug getting evaluation mode property

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

M	source/blender/editors/io/io_usd.c

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

diff --git a/source/blender/editors/io/io_usd.c b/source/blender/editors/io/io_usd.c
index 6041ffcbf21..529a330ca14 100644
--- a/source/blender/editors/io/io_usd.c
+++ b/source/blender/editors/io/io_usd.c
@@ -102,7 +102,7 @@ static int wm_usd_export_exec(bContext *C, wmOperator *op)
   const bool visible_objects_only = RNA_boolean_get(op->ptr, "visible_objects_only");
   const bool export_animation = RNA_boolean_get(op->ptr, "export_animation");
   const bool export_hair = RNA_boolean_get(op->ptr, "export_hair");
-  const bool evaluation_mode = RNA_boolean_get(op->ptr, "evaluation_mode");
+  const bool evaluation_mode = RNA_enum_get(op->ptr, "evaluation_mode");
 
   struct USDExportParams params = {
       export_animation,



More information about the Bf-blender-cvs mailing list