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

Do nothing when picking in material node

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5579 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 9710ac96
......@@ -174,6 +174,19 @@ void MaterialNode::enter(GLState& _state, unsigned int /* _drawmode */ )
}
}
//----------------------------------------------------------------------------
void MaterialNode::enterPick(GLState& /*_state*/ ,
PickTarget /*_target*/,
unsigned int /*_drawMode*/ ) {
}
void MaterialNode::leavePick(GLState& /*_state*/,
PickTarget /*_target*/,
unsigned int /*_drawMode*/ ) {
}
//----------------------------------------------------------------------------
......
......@@ -116,6 +116,14 @@ public:
/// restores original GL-color and GL-material
void leave(GLState& _state, unsigned int _drawmode);
/** \brief Do nothing in picking
*/
void enterPick(GLState& _state, PickTarget _target, unsigned int _drawMode );
/** \brief Do nothing in picking
*/
void leavePick(GLState& _state, PickTarget _target, unsigned int _drawMode );
/// get properties that will be applied (OR'ed ApplyProperties)
unsigned int applyProperties() const { return applyProperties_; }
......
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