Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/displist.c
| Show First 20 Lines • Show All 293 Lines • ▼ Show 20 Lines | if ((dl->flag & DL_CYCL_V) && a == dl->parts - 1) { | ||||
| (*p3) -= dl->nr * dl->parts; | (*p3) -= dl->nr * dl->parts; | ||||
| (*p4) -= dl->nr * dl->parts; | (*p4) -= dl->nr * dl->parts; | ||||
| } | } | ||||
| return true; | return true; | ||||
| } | } | ||||
| /* ****************** make displists ********************* */ | /* ****************** make displists ********************* */ | ||||
| #ifdef __INTEL_COMPILER | |||||
| /* ICC with the optimization -02 causes crashes. */ | |||||
| # pragma intel optimization_level 1 | |||||
| #endif | |||||
| static void curve_to_displist(Curve *cu, ListBase *nubase, ListBase *dispbase, | static void curve_to_displist(Curve *cu, ListBase *nubase, ListBase *dispbase, | ||||
| const bool for_render, const bool use_render_resolution) | const bool for_render, const bool use_render_resolution) | ||||
| { | { | ||||
| Nurb *nu; | Nurb *nu; | ||||
| DispList *dl; | DispList *dl; | ||||
| BezTriple *bezt, *prevbezt; | BezTriple *bezt, *prevbezt; | ||||
| BPoint *bp; | BPoint *bp; | ||||
| float *data; | float *data; | ||||
| ▲ Show 20 Lines • Show All 1,575 Lines • Show Last 20 Lines | |||||