Commit 0e1672d6 authored by Dirk Wilden's avatar Dirk Wilden

removed warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10625 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 33c22918
......@@ -294,7 +294,7 @@ void SkeletonEditingPlugin::slotPickToolbarAction(QAction* _action)
//--------------------------------------------------------------------------------
void SkeletonEditingPlugin::slotSetEditingMode(QAction* _action)
void SkeletonEditingPlugin::slotSetEditingMode(QAction* /*_action*/)
{
PluginFunctions::actionMode(Viewer::PickingMode);
PluginFunctions::pickMode("MoveJoints");
......@@ -820,8 +820,6 @@ void SkeletonEditingPlugin::insertJoint(QMouseEvent* _event)
if (skeleton == 0)
return;
Skeleton::Joint* joint = skeleton->joint( currentJoint_ );
for (Skeleton::Iterator it=skeleton->begin(); it != skeleton->end(); ++it)
(*it)->setSelected(false);
}
......@@ -835,8 +833,6 @@ Skeleton::Pose* SkeletonEditingPlugin::activePose(SkeletonObject* _skeletonObj){
AnimationHandle handle = _skeletonObj->skeletonNode()->activePose();
Skeleton::Pose* pose = 0;
if ( !handle.isValid() ){
//no current animation found -> transform the reference Pose
return skeleton->referencePose();
......
......@@ -156,7 +156,6 @@ void SkeletonEditingPlugin::addJoint( int _objectId , int _parent, Vector _posit
skeleton->addJoint(parent, jointNew);
//set the position
Skeleton::Pose* refPose = skeleton->referencePose();
setJointPosition(PluginFunctions::skeletonObject(baseObject), jointNew, _position);
emit updatedObject(_objectId, UPDATE_ALL);
......@@ -542,8 +541,6 @@ int SkeletonEditingPlugin::activeAnimation(int _objectId){
return -1;
}
Skeleton* skeleton = PluginFunctions::skeleton(obj);
AnimationHandle handle = skeletonObj->skeletonNode()->activePose();
emit scriptInfo("activeAnimation( ObjectId )" );
......@@ -570,8 +567,6 @@ int SkeletonEditingPlugin::activeFrame(int _objectId){
return -1;
}
Skeleton* skeleton = PluginFunctions::skeleton(obj);
AnimationHandle handle = skeletonObj->skeletonNode()->activePose();
emit scriptInfo("activeFrame( ObjectId )" );
......
......@@ -50,7 +50,7 @@ const ACG::Vec4f base_color (0.4,0.4,0.4,1.0);
//******************************************************************************
bool SkeletonMarker::stencilRefForObject(BaseObjectData * _obj, GLuint & _reference)
bool SkeletonMarker::stencilRefForObject(BaseObjectData * /*_obj*/, GLuint & _reference)
{
_reference = 1;
return true;
......
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