[Gui] add UI to change the NaviCube button size
- it was frequently requested and people now even published videos since I documented this hidden feature in the Wiki. However, for a user it is a nightmare without a UI and users who like a bright background need to change the button color to keep the buttons visible.
This commit is contained in:
@@ -341,7 +341,7 @@ void SoStringLabel::GLRender(SoGLRenderAction *action)
|
||||
|
||||
// text color
|
||||
SbColor color = this->textColor.getValue();
|
||||
glColor4f(color[0], color[1], color[2],1);
|
||||
glColor4f(color[0], color[1], color[2], 1);
|
||||
const SbMatrix & mat = SoModelMatrixElement::get(state);
|
||||
const SbMatrix & projmatrix = (mat * SoViewingMatrixElement::get(state) *
|
||||
SoProjectionMatrixElement::get(state));
|
||||
|
||||
Reference in New Issue
Block a user