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 */

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to