Skip to content

Commit 8f4d595

Browse files
committed
Ensured that the enable lighting toolbutton gets properly updated.
1 parent 2a22ad0 commit 8f4d595

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

FEBioStudio/GLControlBar.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ void CGLControlBar::Update()
275275

276276
GLViewSettings& vs = ui->m_wnd->GetGLView()->GetViewSettings();
277277

278+
ui->toggleLight->setChecked(vs.m_bLighting);
279+
278280
ui->showMesh->setChecked(vs.m_bmesh);
279281

280282
GObject* po = view->GetActiveObject();

0 commit comments

Comments
 (0)