[Bf-blender-cvs] [e9c4ab97f76] usd-importer-T81257-merge: USD Import: Convert to Z Up true by default.

makowalski noreply at git.blender.org
Fri Apr 9 03:27:23 CEST 2021


Commit: e9c4ab97f76c4aee970a67ce0c9cb0299a4a1f9a
Author: makowalski
Date:   Tue Apr 6 11:47:20 2021 -0400
Branches: usd-importer-T81257-merge
https://developer.blender.org/rBe9c4ab97f76c4aee970a67ce0c9cb0299a4a1f9a

USD Import: Convert to Z Up true by default.

Changed the Convert to Z Up option to be true by default.

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

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 bad7aa25b74..e4945ca2983 100644
--- a/source/blender/editors/io/io_usd.c
+++ b/source/blender/editors/io/io_usd.c
@@ -611,7 +611,7 @@ void WM_OT_usd_import(struct wmOperatorType *ot)
 
   RNA_def_boolean(ot->srna,
                   "convert_to_z_up",
-                  false,
+                  true,
                   "Convert to Z Up",
                   "When checked and if the USD stage up-axis is Y, apply a rotation "
                   "to the imported objects to convert their orientation to Z up ");



More information about the Bf-blender-cvs mailing list