[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36804] trunk/blender/source/blender/ editors/space_graph/graph_select.c: was using the wrong rna type for GRAPH_OT_select_leftright

Campbell Barton ideasman42 at gmail.com
Fri May 20 20:00:19 CEST 2011


Revision: 36804
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36804
Author:   campbellbarton
Date:     2011-05-20 18:00:19 +0000 (Fri, 20 May 2011)
Log Message:
-----------
was using the wrong rna type for GRAPH_OT_select_leftright

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_graph/graph_select.c

Modified: trunk/blender/source/blender/editors/space_graph/graph_select.c
===================================================================
--- trunk/blender/source/blender/editors/space_graph/graph_select.c	2011-05-20 17:08:09 UTC (rev 36803)
+++ trunk/blender/source/blender/editors/space_graph/graph_select.c	2011-05-20 18:00:19 UTC (rev 36804)
@@ -822,9 +822,9 @@
 		/* determine which side of the current frame mouse is on */
 		UI_view2d_region_to_view(v2d, event->mval[0], event->mval[1], &x, NULL);
 		if (x < CFRA)
-			RNA_int_set(op->ptr, "mode", GRAPHKEYS_LRSEL_LEFT);
+			RNA_enum_set(op->ptr, "mode", GRAPHKEYS_LRSEL_LEFT);
 		else 	
-			RNA_int_set(op->ptr, "mode", GRAPHKEYS_LRSEL_RIGHT);
+			RNA_enum_set(op->ptr, "mode", GRAPHKEYS_LRSEL_RIGHT);
 	}
 	
 	/* perform selection */




More information about the Bf-blender-cvs mailing list