Navigation Menu

Skip to content

Commit

Permalink
#5939: Fix rotate manipulator not being drawn
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Apr 17, 2022
1 parent 41bf96a commit 92bafbb
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -266,13 +266,14 @@ void TextureToolRotateManipulator::renderComponents(const render::IRenderView& v
glDisable(GL_BLEND);
}

// Enable point colours if required
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_COLOR_ARRAY);

pointvertex_gl_array(&_renderableCircle.front());
glDrawArrays(GL_LINE_LOOP, 0, static_cast<GLsizei>(_renderableCircle.size()));

glDisableClientState(GL_COLOR_ARRAY);
glDisableClientState(GL_VERTEX_ARRAY);

if (_selectableZ.isSelected())
{
Expand Down

0 comments on commit 92bafbb

Please sign in to comment.