What sort of strange problems? As far as I know, the SGI tesselator implementation is used everywhere.
Anyway, you can use scanfill, it's not really difficult to use, look at the old lasso code (though the old lasso code went through the curve code and didn't use scanfill directly, not sure it really matters though). Joe On Tue, Jan 5, 2010 at 10:51 PM, Matt Ebb <m...@mke3.net> wrote: > Revision: 25765 > > http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25765 > Author: broken > Date: 2010-01-06 07:51:04 +0100 (Wed, 06 Jan 2010) > > Log Message: > ----------- > *Disabled filled lasso drawing on Windows for now, was causing some strange > problems, > perhaps GLU incompatibilities? If any Windows GL guru can help here, it would > be > most appreciated! > > Modified Paths: > -------------- > trunk/blender/source/blender/windowmanager/intern/wm_gesture.c > > Modified: trunk/blender/source/blender/windowmanager/intern/wm_gesture.c > =================================================================== > --- trunk/blender/source/blender/windowmanager/intern/wm_gesture.c > 2010-01-06 06:04:07 UTC (rev 25764) > +++ trunk/blender/source/blender/windowmanager/intern/wm_gesture.c > 2010-01-06 06:51:04 UTC (rev 25765) > @@ -209,6 +209,9 @@ > > } > > +#ifndef WIN32 > +/* Disabled for now, causing problems on Windows.. */ > + > /* more than 64 intersections will just leak.. not much and not a likely > scenario */ > typedef struct TessData { int num; short *intersections[64]; } TessData; > > @@ -237,10 +240,14 @@ > gluDeleteTess(tess); > } > > +#endif > + > static void wm_gesture_draw_lasso(wmWindow *win, wmGesture *gt) > { > short *lasso= (short *)gt->customdata; > int i; > + > +#ifndef WIN32 > TessData *data=MEM_callocN(sizeof(TessData), "tesselation data"); > GLUtesselator *tess = gluNewTess(); > > @@ -263,6 +270,8 @@ > glDisable(GL_BLEND); > > free_tess_data(tess, data); > + > +#endif > > glEnable(GL_LINE_STIPPLE); > glColor3ub(96, 96, 96); > > > _______________________________________________ > Bf-blender-cvs mailing list > bf-blender-...@blender.org > http://lists.blender.org/mailman/listinfo/bf-blender-cvs > _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers