==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...)
This commit is contained in:
2006-05-06 15:26:53 +00:00
parent 5a9b917ea4
commit 5f571e4ded
14 changed files with 64 additions and 62 deletions

View File

@@ -2109,7 +2109,7 @@ PyObject *RenderData_EnableSGICosmo( BPy_RenderData * self, PyObject * args )
//------------------------------------RenderData.OldMapValue() -----------
PyObject *RenderData_OldMapValue( BPy_RenderData * self, PyObject * args )
{
PyObject *tmp = M_Render_GetSetAttributeShort(args,
PyObject *tmp = M_Render_GetSetAttributeInt(args,
&self->renderContext->framapto, 1, 900);
self->renderContext->framelen =
(float)self->renderContext->framapto / self->renderContext->images;
@@ -2119,7 +2119,7 @@ PyObject *RenderData_OldMapValue( BPy_RenderData * self, PyObject * args )
//------------------------------------RenderData.NewMapValue() -----------
PyObject *RenderData_NewMapValue( BPy_RenderData * self, PyObject * args )
{
PyObject *tmp = M_Render_GetSetAttributeShort(args,
PyObject *tmp = M_Render_GetSetAttributeInt(args,
&self->renderContext->images, 1, 900);
self->renderContext->framelen =
(float)self->renderContext->framapto / self->renderContext->images;