[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36689] trunk/blender/source/blender/ editors/space_action/action_select.c: action editor was setting wrong rna type on Ctrl+RMB

Campbell Barton ideasman42 at gmail.com
Sat May 14 17:44:56 CEST 2011


Revision: 36689
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36689
Author:   campbellbarton
Date:     2011-05-14 15:44:56 +0000 (Sat, 14 May 2011)
Log Message:
-----------
action editor was setting wrong rna type on Ctrl+RMB

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_action/action_select.c

Modified: trunk/blender/source/blender/editors/space_action/action_select.c
===================================================================
--- trunk/blender/source/blender/editors/space_action/action_select.c	2011-05-14 13:23:15 UTC (rev 36688)
+++ trunk/blender/source/blender/editors/space_action/action_select.c	2011-05-14 15:44:56 UTC (rev 36689)
@@ -858,9 +858,9 @@
 		/* determine which side of the current frame mouse is on */
 		UI_view2d_region_to_view(v2d, mval[0], mval[1], &x, NULL);
 		if (x < CFRA)
-			RNA_int_set(op->ptr, "mode", ACTKEYS_LRSEL_LEFT);
+			RNA_enum_set(op->ptr, "mode", ACTKEYS_LRSEL_LEFT);
 		else 	
-			RNA_int_set(op->ptr, "mode", ACTKEYS_LRSEL_RIGHT);
+			RNA_enum_set(op->ptr, "mode", ACTKEYS_LRSEL_RIGHT);
 	}
 	
 	/* perform selection */




More information about the Bf-blender-cvs mailing list