Commit ee951347 authored by Dirk Wilden's avatar Dirk Wilden

removed warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10624 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 3d570ee3
......@@ -143,7 +143,7 @@ void SkeletalAnimationPlugin::slotAllCleared()
/** \brief Update ui when the object selection changes
*
*/
void SkeletalAnimationPlugin::slotObjectSelectionChanged(int _id)
void SkeletalAnimationPlugin::slotObjectSelectionChanged(int /*_id*/)
{
checkObjectSelection();
}
......@@ -153,7 +153,7 @@ void SkeletalAnimationPlugin::slotObjectSelectionChanged(int _id)
/** \brief Update ui when the object is loaded
*
*/
void SkeletalAnimationPlugin::fileOpened( int _id) {
void SkeletalAnimationPlugin::fileOpened( int /*_id*/) {
checkObjectSelection();
}
......@@ -162,7 +162,7 @@ void SkeletalAnimationPlugin::fileOpened( int _id) {
/** \brief Update ui when the object is added
*
*/
void SkeletalAnimationPlugin::addedEmptyObject(int _id) {
void SkeletalAnimationPlugin::addedEmptyObject(int /*_id*/) {
checkObjectSelection();
}
......@@ -171,7 +171,7 @@ void SkeletalAnimationPlugin::addedEmptyObject(int _id) {
/** \brief Update ui when the object is deleted
*
*/
void SkeletalAnimationPlugin::objectDeleted(int _id) {
void SkeletalAnimationPlugin::objectDeleted(int /*_id*/) {
checkObjectSelection();
}
......@@ -309,7 +309,7 @@ void SkeletalAnimationPlugin::UpdateSkin(BaseObjectData *_pSkeletonObject, Anima
/**
* @brief Check activePose if a skeleton was updated
*/
void SkeletalAnimationPlugin::slotObjectUpdated( int _id, const UpdateType _type )
void SkeletalAnimationPlugin::slotObjectUpdated( int _id, const UpdateType /*_type*/ )
{
// do nothing during animation
if ( animationTimer_.isActive() )
......@@ -663,7 +663,7 @@ void SkeletalAnimationPlugin::slotBindMesh()
//------------------------------------------------------------------------------
void SkeletalAnimationPlugin::rig(BaseObjectData *_skin, BaseObjectData* _skeletonObj) {
void SkeletalAnimationPlugin::rig(BaseObjectData */*_skin*/, BaseObjectData* /*_skeletonObj*/) {
// // stop if the skeleton already has a skin
// if(_skeletonObj->objectData(OBJECTDATA_SKELETON) != 0)
......@@ -739,7 +739,7 @@ void SkeletalAnimationPlugin::slotUnbindMesh()
//------------------------------------------------------------------------------
void SkeletalAnimationPlugin::unrig(BaseObjectData *_pSkeleton) {
void SkeletalAnimationPlugin::unrig(BaseObjectData */*_pSkeleton*/) {
// if(_pSkeleton == 0 || _pSkeleton->objectData(OBJECTDATA_SKELETON) == 0)
// return;
......
......@@ -52,7 +52,7 @@ void SkeletalAnimationPlugin::setDescriptions(){
QStringList(tr("SkeletonObjectId")), QStringList(tr("ID of the skeleton object")));
}
bool SkeletalAnimationPlugin::attachSkin(int skeletonId, int skinId) {
bool SkeletalAnimationPlugin::attachSkin(int /*skeletonId*/, int /*skinId*/) {
// BaseObjectData* skeleton = NULL;
// if (!PluginFunctions::getObject(skeletonId, skeleton)) {
// emit log(LOGERR, "Could not retrieve skeleton");
......@@ -70,7 +70,7 @@ bool SkeletalAnimationPlugin::attachSkin(int skeletonId, int skinId) {
return true;
}
bool SkeletalAnimationPlugin::detachSkin(int skeletonId) {
bool SkeletalAnimationPlugin::detachSkin(int /*skeletonId*/) {
// BaseObjectData* skeleton = NULL;
// if (!PluginFunctions::getObject(skeletonId, skeleton)) {
// emit log(LOGERR, "Could not retrieve skeleton");
......
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