diff options
author | Jacques Guignot <guignot@wanadoo.fr> | 2003-06-22 23:52:04 +0400 |
---|---|---|
committer | Jacques Guignot <guignot@wanadoo.fr> | 2003-06-22 23:52:04 +0400 |
commit | ab9e15b75d5297ee54d0ead5e99b8a55760545e6 (patch) | |
tree | c0607f82ea58b3ed57881ff8c2ae22ddd38ad72e /source/blender/python/api2_2x/Metaball.c | |
parent | d18538076d572cc5a27646b6efbeb8033e386cc5 (diff) |
removed all references to FP_INFINITE, dirty hack I used before, which is not useful now.
: ----------------------------------------------------------------------
Diffstat (limited to 'source/blender/python/api2_2x/Metaball.c')
-rw-r--r-- | source/blender/python/api2_2x/Metaball.c | 5 |
1 files changed, 1 insertions, 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)) |