Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2005-03-31 22:49:52 +0400
committerMartin Poirier <theeth@yahoo.com>2005-03-31 22:49:52 +0400
commitcbc04194e5e7d6c4ddb3672fd5260e292b02670a (patch)
tree50cf9c74c57ff3e00792cf256afddaa041125553 /source/blender/src/buttons_logic.c
parente5d4f9d580971766fc726432c164a0fda5c19dbe (diff)
Changing hard codec max frame release for a define (in blendef.h with the other maximums).
Tried to change it everywhere, hopefully I didn't miss any. Also raised max frame to 30000 (maintainer of that code can safely modify it back since it is in one spot now ;) ) Needed that limit for a marketing video contract, might as well commit it.
Diffstat (limited to 'source/blender/src/buttons_logic.c')
-rw-r--r--source/blender/src/buttons_logic.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/src/buttons_logic.c b/source/blender/src/buttons_logic.c
index 10bf9a907fe..82f93e9665e 100644
--- a/source/blender/src/buttons_logic.c
+++ b/source/blender/src/buttons_logic.c
@@ -1571,13 +1571,13 @@ static short draw_actuatorbuttons(bActuator *act, uiBlock *block, short xco, sho
}
else
{
- uiDefButS(block, NUM, 0, "Sta: ",xco+30, yco-64, (width-60)/2, 19, &aa->sta, 0.0, 18000.0, 0, 0, "Start frame");
- uiDefButS(block, NUM, 0, "End: ",xco+30+(width-60)/2, yco-64, (width-60)/2, 19, &aa->end, 0.0, 18000.0, 0, 0, "End frame");
+ uiDefButS(block, NUM, 0, "Sta: ",xco+30, yco-64, (width-60)/2, 19, &aa->sta, 0.0, MAXFRAMEF, 0, 0, "Start frame");
+ uiDefButS(block, NUM, 0, "End: ",xco+30+(width-60)/2, yco-64, (width-60)/2, 19, &aa->end, 0.0, MAXFRAMEF, 0, 0, "End frame");
}
- uiDefButS(block, NUM, 0, "Blendin: ", xco+30, yco-84, (width-60)/2, 19, &aa->blendin, 0.0, 18000.0, 0.0, 0.0, "Number of frames of motion blending");
+ uiDefButS(block, NUM, 0, "Blendin: ", xco+30, yco-84, (width-60)/2, 19, &aa->blendin, 0.0, MAXFRAMEF, 0.0, 0.0, "Number of frames of motion blending");
uiDefButS(block, NUM, 0, "Priority: ", xco+30+(width-60)/2, yco-84, (width-60)/2, 19, &aa->priority, 0.0, 100.0, 0.0, 0.0, "Execution priority - lower numbers will override actions with higher numbers");
#ifdef __NLA_ACTION_BY_MOTION_ACTUATOR
@@ -1631,11 +1631,11 @@ static short draw_actuatorbuttons(bActuator *act, uiBlock *block, short xco, sho
else {
uiDefButS(block, NUM, 0,
"Sta", xco+20, yco-44, (width-100)/2, 19,
- &ia->sta, 0.0, 18000.0, 0, 0,
+ &ia->sta, 0.0, MAXFRAMEF, 0, 0,
"Start frame");
uiDefButS(block, NUM, 0,
"End", xco+18+(width-90)/2, yco-44, (width-100)/2, 19,
- &ia->end, 0.0, 18000.0, 0, 0,
+ &ia->end, 0.0, MAXFRAMEF, 0, 0,
"End frame");
uiDefButS(block, TOG|BIT|ACT_IPOFORCE_BIT, B_REDR,