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/python/api2_2x/Lattice.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/python/api2_2x/Lattice.c')
-rw-r--r--source/blender/python/api2_2x/Lattice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Lattice.c b/source/blender/python/api2_2x/Lattice.c
index c4dc04a4747..4c218a16745 100644
--- a/source/blender/python/api2_2x/Lattice.c
+++ b/source/blender/python/api2_2x/Lattice.c
@@ -712,7 +712,7 @@ static PyObject *Lattice_insertKey( BPy_Lattice * self, PyObject * args )
//set the current frame
if( frame > 0 ) {
- frame = EXPP_ClampInt( frame, 1, 18000 );
+ frame = EXPP_ClampInt( frame, 1, MAXFRAME );
oldfra = G.scene->r.cfra;
G.scene->r.cfra = frame;
}