|
From: Stefan H. <st...@to...> - 2005-02-27 11:04:10
|
The default highlight style in QD3D is red. Currently the default
highlight style in Quesa is NULL.
Here's a small patch...
Stefan
_________________________________________________
File: E3View
Method: e3view_stack_initialise
TQ3ColorRGB defaultHighLightDiffuseColor;
TQ3ColorRGB defaultHighLightTransparencyColor;
...
// theItem->styleHighlight = NULL; // to be commented
theItem->styleHighlight = Q3AttributeSet_New();
if (theItem->styleHighlight != NULL)
{
Q3ColorRGB_Set(&defaultHighLightDiffuseColor, kQ3ViewDefaultHighlightColor);
Q3AttributeSet_Add (theItem->styleHighlight,
kQ3AttributeTypeDiffuseColor, &defaultHighLightDiffuseColor);
Q3ColorRGB_Set(&defaultHighLightTransparencyColor,
kQ3ViewDefaultTransparency);
Q3AttributeSet_Add (theItem->styleHighlight,
kQ3AttributeTypeTransparencyColor,
&defaultHighLightTransparencyColor);
}
|