[Bf-committers] Really odd removedoublesflag() problem

Joe Eagar joeedh at gmail.com
Sun Mar 12 20:45:32 CET 2006


Alexander Ewering wrote:
>
> Hi,
>
> maybe someone can help with this incredibly strange issue.
>
> I'm trying to automate the removal of doubles after doing a radiosity 
> solve
> (as there are often thousands of doubles left). I'm using the following
> sequence of calls on each new ob and me created inside rad_addmesh():
>
>             set_active_object(ob);
>             enter_editmode();
>             EM_set_flag_all(1);
>             countall();
>             fprintf(stderr, "Removed %d on [%s]\n", 
> removedoublesflag(1, (float)0.001), ob->id.name);
>             countall();
>             exit_editmode(1);
maybe the compiler is being stupid and you need to say 0.001f despite 
the (float)?

joeedh


More information about the Bf-committers mailing list