[Bf-blender-cvs] [0444cabb41a] soc-2020-io-performance: Keep axes defaults same as python importer.
Ankit Meel
noreply at git.blender.org
Mon Sep 21 13:35:42 CEST 2020
Commit: 0444cabb41af07fdc737f2d67918cc12563bd1c9
Author: Ankit Meel
Date: Mon Sep 21 16:12:35 2020 +0530
Branches: soc-2020-io-performance
https://developer.blender.org/rB0444cabb41af07fdc737f2d67918cc12563bd1c9
Keep axes defaults same as python importer.
===================================================================
M source/blender/editors/io/io_obj.c
===================================================================
diff --git a/source/blender/editors/io/io_obj.c b/source/blender/editors/io/io_obj.c
index 35cde0e3ea5..7b8b1a03a78 100644
--- a/source/blender/editors/io/io_obj.c
+++ b/source/blender/editors/io/io_obj.c
@@ -458,8 +458,8 @@ void WM_OT_obj_import(struct wmOperatorType *ot)
RNA_def_enum(ot->srna,
"forward_axis",
io_obj_transform_axis_forward,
- OBJ_AXIS_NEGATIVE_Y_FORWARD,
+ OBJ_AXIS_NEGATIVE_Z_FORWARD,
"Forward Axis",
"");
- RNA_def_enum(ot->srna, "up_axis", io_obj_transform_axis_up, OBJ_AXIS_Z_UP, "Up Axis", "");
+ RNA_def_enum(ot->srna, "up_axis", io_obj_transform_axis_up, OBJ_AXIS_Y_UP, "Up Axis", "");
}
More information about the Bf-blender-cvs
mailing list