Commit 1e5e0165 authored by Jan Möbius's avatar Jan Möbius
Browse files

Ignore Backface culling in TranslationManipulatroNode

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5091 383ad7c9-94d9-4d36-a494-682f7c89f535
parent fc6f3902
......@@ -297,6 +297,9 @@ bool TranslationManipulatorNode::updateCurrentColors (GLState& _state)
void TranslationManipulatorNode::drawMaipulator (GLState& _state, bool _active)
{
glPushAttrib(GL_ENABLE_BIT );
glDisable( GL_CULL_FACE );
// Save modelview matrix
_state.push_modelview_matrix();
......@@ -481,8 +484,10 @@ void TranslationManipulatorNode::drawMaipulator (GLState& _state, bool _active)
_state.rotate(90, 1.0, 0.0, 0.0);
drawCircle(2*manipulator_height_, 2*manipulator_height_ - manipulator_height_/4.0);
glPopAttrib(); // ENABLE_BIT
glPopAttrib(); // LIGHTING_BIT
_state.pop_modelview_matrix();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment