[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:
Uwe
2023-02-25 08:05:25 +01:00
parent 37fcd2da26
commit 4adf98e369
6 changed files with 69 additions and 14 deletions

View File

@@ -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));