[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25285] trunk/blender/source/blender/ editors/animation/fmodifier_ui.c: UI limits for the envalope frame were too small

Campbell Barton ideasman42 at gmail.com
Thu Dec 10 14:20:32 CET 2009


Revision: 25285
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25285
Author:   campbellbarton
Date:     2009-12-10 14:20:31 +0100 (Thu, 10 Dec 2009)

Log Message:
-----------
UI limits for the envalope frame were too small

Modified Paths:
--------------
    trunk/blender/source/blender/editors/animation/fmodifier_ui.c

Modified: trunk/blender/source/blender/editors/animation/fmodifier_ui.c
===================================================================
--- trunk/blender/source/blender/editors/animation/fmodifier_ui.c	2009-12-10 12:58:03 UTC (rev 25284)
+++ trunk/blender/source/blender/editors/animation/fmodifier_ui.c	2009-12-10 13:20:31 UTC (rev 25285)
@@ -560,7 +560,7 @@
 		block= uiLayoutGetBlock(row);
 		
 		uiBlockBeginAlign(block);
-			but=uiDefButF(block, NUM, B_FMODIFIER_REDRAW, "Fra:", 0, 0, 90, 20, &fed->time, -UI_FLT_MAX, UI_FLT_MAX, 10, 1, "Frame that envelope point occurs");
+			but=uiDefButF(block, NUM, B_FMODIFIER_REDRAW, "Fra:", 0, 0, 90, 20, &fed->time, -MAXFRAMEF, MAXFRAMEF, 10, 1, "Frame that envelope point occurs");
 			uiButSetFunc(but, validate_fmodifier_cb, fcm, NULL);
 			
 			uiDefButF(block, NUM, B_FMODIFIER_REDRAW, "Min:", 0, 0, 100, 20, &fed->min, -UI_FLT_MAX, UI_FLT_MAX, 10, 2, "Minimum bound of envelope at this point");





More information about the Bf-blender-cvs mailing list