diff --git a/source/blender/src/drawnode.c b/source/blender/src/drawnode.c index d338542e9d0..30d70ba3c43 100644 --- a/source/blender/src/drawnode.c +++ b/source/blender/src/drawnode.c @@ -885,14 +885,14 @@ static int node_composit_buts_image(uiBlock *block, bNodeTree *ntree, bNode *nod dy-= 19; uiDefButI(block, NUM, B_NODE_EXEC+node->nr, "Frs:", xmin, dy, width, 19, - &iuser->frames, 0.0, 10000.0, 0, 0, "Amount of images used in animation"); + &iuser->frames, 0.0, MAXFRAMEF, 0, 0, "Amount of images used in animation"); uiDefButI(block, NUM, B_NODE_EXEC+node->nr, "SFra:", xmin+width, dy, width, 19, - &iuser->sfra, 1.0, 10000.0, 0, 0, "Start frame of animation"); + &iuser->sfra, 1.0, MAXFRAMEF, 0, 0, "Start frame of animation"); dy-= 19; uiDefButI(block, NUM, B_NODE_EXEC+node->nr, "Offs:", xmin, dy, width, 19, - &iuser->offset, -10000.0, 10000.0, 0, 0, "Offsets the number of the frame to use in the animation"); + &iuser->offset, -MAXFRAMEF, MAXFRAMEF, 0, 0, "Offsets the number of the frame to use in the animation"); uiDefButS(block, TOG, B_NODE_EXEC+node->nr, "Cycl", xmin+width, dy, width-20, 19, &iuser->cycl, 0.0, 0.0, 0, 0, "Make animation go cyclic");