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.
This commit is contained in:
2005-03-31 18:49:52 +00:00
parent e5d4f9d580
commit cbc04194e5
12 changed files with 48 additions and 45 deletions

View File

@@ -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;
}