[Bf-blender-cvs] [ade86af] alembic_basic_io: Import: change default axis values.

Kévin Dietrich noreply at git.blender.org
Wed May 25 15:27:49 CEST 2016


Commit: ade86afcbf596d2c5e45faebf26ef0de9d04f454
Author: Kévin Dietrich
Date:   Wed May 25 15:06:12 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rBade86afcbf596d2c5e45faebf26ef0de9d04f454

Import: change default axis values.

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

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

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

diff --git a/source/blender/editors/io/io_alembic.c b/source/blender/editors/io/io_alembic.c
index d5e9664..bad671b 100644
--- a/source/blender/editors/io/io_alembic.c
+++ b/source/blender/editors/io/io_alembic.c
@@ -361,10 +361,10 @@ void WM_OT_alembic_import(wmOperatorType *ot)
 	WM_operator_properties_filesel(ot, 0, FILE_BLENDER, FILE_SAVE, WM_FILESEL_FILEPATH,
 	                               FILE_DEFAULTDISPLAY, FILE_SORT_ALPHA);
 
-	RNA_def_enum(ot->srna, "from_forward", rna_enum_object_axis_items, OB_NEGZ,
+	RNA_def_enum(ot->srna, "from_forward", rna_enum_object_axis_items, OB_POSZ,
 	             "Forward Axis", "Forward axis of the objects in the .abc archive");
 
-	RNA_def_enum(ot->srna, "from_up", rna_enum_object_axis_items, OB_POSY,
+	RNA_def_enum(ot->srna, "from_up", rna_enum_object_axis_items, OB_NEGY,
 	             "Up Axis", "Up axis of the objects in the .abc archive");
 
 	RNA_def_float(ot->srna, "scale", 1.0f, 0.0f, 1000.0f, "Scale", "", 0.0f, 1000.0f);




More information about the Bf-blender-cvs mailing list