[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [56996] trunk/blender/source/blender/ makesrna/intern/rna_space.c: Bring back "Local" as second orientation choice after "Global", as in previuos "manual" menu.

Bastien Montagne montagne29 at wanadoo.fr
Fri May 24 12:05:25 CEST 2013


Revision: 56996
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=56996
Author:   mont29
Date:     2013-05-24 10:05:25 +0000 (Fri, 24 May 2013)
Log Message:
-----------
Bring back "Local" as second orientation choice after "Global", as in previuos "manual" menu. Pointed out by sebastian_k on IRC, thanks.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_space.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_space.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_space.c	2013-05-24 09:30:13 UTC (rev 56995)
+++ trunk/blender/source/blender/makesrna/intern/rna_space.c	2013-05-24 10:05:25 UTC (rev 56996)
@@ -277,9 +277,9 @@
 	int i = V3D_MANIP_CUSTOM, totitem = 0;
 
 	RNA_enum_items_add_value(&item, &totitem, transform_orientation_items, V3D_MANIP_GLOBAL);
+	RNA_enum_items_add_value(&item, &totitem, transform_orientation_items, V3D_MANIP_LOCAL);
 	RNA_enum_items_add_value(&item, &totitem, transform_orientation_items, V3D_MANIP_NORMAL);
 	RNA_enum_items_add_value(&item, &totitem, transform_orientation_items, V3D_MANIP_GIMBAL);
-	RNA_enum_items_add_value(&item, &totitem, transform_orientation_items, V3D_MANIP_LOCAL);
 	RNA_enum_items_add_value(&item, &totitem, transform_orientation_items, V3D_MANIP_VIEW);
 
 	if (ptr->type == &RNA_SpaceView3D)




More information about the Bf-blender-cvs mailing list