diff options
author | Peter Schlaile <peter@schlaile.de> | 2006-05-06 19:26:53 +0400 |
---|---|---|
committer | Peter Schlaile <peter@schlaile.de> | 2006-05-06 19:26:53 +0400 |
commit | 5f571e4ded613ac46242affa2cea90135077d323 (patch) | |
tree | f80ebe58bab5a7f74634676e1f4cf93861baafa2 /source/blender/src/buttons_scene.c | |
parent | 5a9b917ea4056694d31b61a185d859ce368e968c (diff) |
==Bugfix==
Made the frame boost from short to int (30000 -> 300000 frames) complete
by walking through the source and finally changing all frame-variables
to ints.
This should finally fix the framecounter warp around seen in some buttons.
If you step on any further problems that may arise starting from frame
32768 please just give me a hint and I'll fix it.
(Sorry about that, didn't know enough about Blender, when I did it the first
time...)
Diffstat (limited to 'source/blender/src/buttons_scene.c')
-rw-r--r-- | source/blender/src/buttons_scene.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/buttons_scene.c b/source/blender/src/buttons_scene.c index bbff35d8e61..81258f7a43f 100644 --- a/source/blender/src/buttons_scene.c +++ b/source/blender/src/buttons_scene.c @@ -1941,8 +1941,8 @@ void anim_panels() if(uiNewPanel(curarea, block, "Anim", "Anim", 0, 0, 318, 204)==0) return; uiBlockBeginAlign(block); - uiDefButS(block, NUM,B_FRAMEMAP,"Map Old:", 10,160,150,20,&G.scene->r.framapto,1.0,900.0, 0, 0, "Specify old mapping value in frames"); - uiDefButS(block, NUM,B_FRAMEMAP,"Map New:", 160,160,150,20,&G.scene->r.images,1.0,900.0, 0, 0, "Specify how many frames the Map Old will last"); + uiDefButI(block, NUM,B_FRAMEMAP,"Map Old:", 10,160,150,20,&G.scene->r.framapto,1.0,900.0, 0, 0, "Specify old mapping value in frames"); + uiDefButI(block, NUM,B_FRAMEMAP,"Map New:", 160,160,150,20,&G.scene->r.images,1.0,900.0, 0, 0, "Specify how many frames the Map Old will last"); uiBlockBeginAlign(block); uiDefButS(block, NUM,B_FRAMEMAP,"Frs/sec:", 10,130,150,20, &G.scene->r.frs_sec, 1.0, 120.0, 100.0, 0, "Frames per second"); |