Revision: 23280
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23280
Author:   blendix
Date:     2009-09-16 20:05:28 +0200 (Wed, 16 Sep 2009)

Log Message:
-----------
UI: fix region edges cursor to show the right direction,
was always vertical now.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/screen/screen_edit.c

Modified: trunk/blender/source/blender/editors/screen/screen_edit.c
===================================================================
--- trunk/blender/source/blender/editors/screen/screen_edit.c   2009-09-16 
18:04:01 UTC (rev 23279)
+++ trunk/blender/source/blender/editors/screen/screen_edit.c   2009-09-16 
18:05:28 UTC (rev 23280)
@@ -1140,7 +1140,7 @@
                if(az->type==AZONE_AREA)
                        WM_cursor_set(win, CURSOR_EDIT);
                else if(az->type==AZONE_REGION) {
-                       if(az->x1==az->x2)
+                       if(az->edge == 'l' || az->edge == 'r')
                                WM_cursor_set(win, CURSOR_X_MOVE);
                        else
                                WM_cursor_set(win, CURSOR_Y_MOVE);


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

Reply via email to