From ab9e15b75d5297ee54d0ead5e99b8a55760545e6 Mon Sep 17 00:00:00 2001 From: Jacques Guignot Date: Sun, 22 Jun 2003 19:52:04 +0000 Subject: [PATCH] removed all references to FP_INFINITE, dirty hack I used before, which is not useful now. : ---------------------------------------------------------------------- --- source/blender/python/api2_2x/Metaball.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/blender/python/api2_2x/Metaball.c b/source/blender/python/api2_2x/Metaball.c index 1608a4b1028..c1df4b91ab1 100644 --- a/source/blender/python/api2_2x/Metaball.c +++ b/source/blender/python/api2_2x/Metaball.c @@ -31,9 +31,6 @@ #include "Metaball.h" -#ifndef FP_INFINITE -#define FP_INFINTE 1 -#endif /*****************************************************************************/ /* Function: M_Metaball_New */ @@ -402,7 +399,7 @@ static PyObject *Metaball_setMetadata(C_Metaball *self,PyObject*args) int i = 0; char*name = NULL; int intval=-1; - float floatval=FP_INFINITE; + float floatval=0; MetaElem *ptr; if (!PyArg_ParseTuple(args, "sif", &name,&num,&floatval))