1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-14 08:34:26 +00:00

Added missing uniform calls for emission_factor

This commit is contained in:
enricoturri1966
2021-05-27 12:41:46 +02:00
committed by Lukas Matena
parent f69bd75464
commit e1d5d0804b
4 changed files with 13 additions and 4 deletions
+1
View File
@@ -227,6 +227,7 @@ void GCodeViewer::SequentialView::Marker::render() const
shader->start_using();
shader->set_uniform("uniform_color", m_color);
shader->set_uniform("emission_factor", 0.0);
glsafe(::glPushMatrix());
glsafe(::glMultMatrixf(m_world_transform.data()));