Tech ENABLE_SEQUENTIAL_LIMITS set as default
This commit is contained in:
parent
e6c361ec5e
commit
c61785f775
18 changed files with 6 additions and 668 deletions
|
@ -339,12 +339,9 @@ void GLGizmoRotate::render_grabber_extension(const BoundingBoxf3& box, bool pick
|
|||
if (! picking) {
|
||||
shader->start_using();
|
||||
shader->set_uniform("emission_factor", 0.1);
|
||||
#if ENABLE_SEQUENTIAL_LIMITS
|
||||
const_cast<GLModel*>(&m_cone)->set_color(-1, color);
|
||||
#else
|
||||
shader->set_uniform("uniform_color", color);
|
||||
#endif // ENABLE_SEQUENTIAL_LIMITS
|
||||
} else
|
||||
}
|
||||
else
|
||||
glsafe(::glColor4fv(color.data()));
|
||||
|
||||
glsafe(::glPushMatrix());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue