[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13713] trunk/blender/source/blender/src/ poselib.c: PoseLib - swapping keys:

Joshua Leung aligorith at gmail.com
Sat Feb 16 05:12:56 CET 2008


Revision: 13713
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13713
Author:   aligorith
Date:     2008-02-16 05:12:54 +0100 (Sat, 16 Feb 2008)

Log Message:
-----------
PoseLib - swapping keys:

Swapped the order of a few keys during PoseLib Preview, so that they made more sense.

Modified Paths:
--------------
    trunk/blender/source/blender/src/poselib.c

Modified: trunk/blender/source/blender/src/poselib.c
===================================================================
--- trunk/blender/source/blender/src/poselib.c	2008-02-16 00:07:05 UTC (rev 13712)
+++ trunk/blender/source/blender/src/poselib.c	2008-02-16 04:12:54 UTC (rev 13713)
@@ -987,7 +987,7 @@
 			pld->redraw= PL_PREVIEW_REDRAWALL;
 			break;
 		
-		/* change to previous pose or searching cursor control */
+		/* change to next pose or searching cursor control */
 		case RIGHTARROWKEY:
 			if (pld->searchstr[0]) {
 				/* move text-cursor to the right */
@@ -996,8 +996,8 @@
 				pld->redraw= PL_PREVIEW_REDRAWHEADER;
 			}
 			else {
-				/* change to previous pose (cyclic) */
-				poselib_preview_get_next(pld, -1);
+				/* change to next pose (cyclic) */
+				poselib_preview_get_next(pld, 1);
 				pld->redraw= PL_PREVIEW_REDRAWALL;
 			}
 			break;
@@ -1011,8 +1011,8 @@
 				pld->redraw= PL_PREVIEW_REDRAWHEADER;
 			}
 			else {
-				/* change to next pose (cyclic) */
-				poselib_preview_get_next(pld, 1);
+				/* change to previous pose (cyclic) */
+				poselib_preview_get_next(pld, -1);
 				pld->redraw= PL_PREVIEW_REDRAWALL;
 			}
 			break;





More information about the Bf-blender-cvs mailing list