In src/exec/libdx/line.c::_dxf_Line():
_dxfInitApplyLights(xf->kaf, xf->kdf, xf->ksf, xf->kspf,
xf->kab, xf->kdb, xf->ksb, xf->kspb,
xf->fcolors, xf->bcolors, xf->cmap,
xf->normals, xf->lights,
?? -> xf->colors_dep, xf->normals_dep==dep_positions,
cbuf, NULL, 2, xf->fcst, xf->bcst, xf->ncst,
fbyte, 0);
A boolean parameter is being passed for the normals "dependency" parameter,
which has the following valid values:
typedef enum {
dep_positions,
dep_connections,
dep_polylines
} dependency;
The compiler complains, and this looks like a bug to me. If the normals
are position dependent, it lies and says they're connection dependent and
vice versa. If they're polylines-dependent, it says they're position
dependent.
Anyone have some insight as to what DX is doing here? For now, I'll just
cast it and add a FIXME comment.
Thanks,
Randy
--
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA N127-01; RTP, NC 27711