Commit 8779809e authored by Dirk Wilden's avatar Dirk Wilden
Browse files

removed warnings

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