Commit 0f6f26c5 authored by Jan Möbius's avatar Jan Möbius

cppcheck warning

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19060 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7095cbe4
......@@ -290,7 +290,7 @@ void BaseObjectData::getBoundingBox(ACG::Vec3d& bbmin, ACG::Vec3d& bbmax){
bbmax = (ACG::Vec3d) act.bbMax();
}
void BaseObjectData::setObjectDrawMode(const ACG::SceneGraph::DrawModes::DrawMode _mode, bool _force) {
void BaseObjectData::setObjectDrawMode(const ACG::SceneGraph::DrawModes::DrawMode& _mode, const bool& _force) {
// Set draw mode for this object
ACG::SceneGraph::SetDrawModesAction actionActive(_mode, _force);
......
......@@ -203,7 +203,7 @@ class DLLEXPORT BaseObjectData : public BaseObject
* @param _mode The draw mode that should be active for this object
* @param _force If true, the mode is set ignoring if its supported by the node and its subnodes
*/
void setObjectDrawMode(const ACG::SceneGraph::DrawModes::DrawMode _mode, bool _force = false);
void setObjectDrawMode(const ACG::SceneGraph::DrawModes::DrawMode& _mode, const bool& _force = false);
private :
......
Markdown is supported
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