We use the OGL control to display 3D views of existing false color plots with user defined color schemes. So we use the following code to set the color scheme of our OGL plot:
// get number of Z axis levels of false color plot
pRange->GetRule(&iNZ,NULL,NULL);
// setup a colour table to be used
// and determine zStart and zStop
pMap=(ColorMapEntry *)malloc((iNZ+3)*sizeof(ColorMapEntry));
... fill color table from user input (pRange object)
// set plot color scheme
errChk(OGLSetPlotColorScheme(iPanelOGL,iGraph,iPlot,
OGLVAL_COLORMAP,pMap,iNZ,iNZ-1,0,
NULL,0,0) );
This code seems to work as expected.
Now as soon as i try to use the OGL properties popup after that, the application crashes, even if i disabled the plot attri
butes tab. Is this a known issue? (The properties panel does not support user defined color schemes.)