Commit fb0d4cba authored by Jan Möbius's avatar Jan Möbius

Dont expose skeleton type in header anymore.

parent 95666601
......@@ -136,7 +136,7 @@ void SkeletalAnimationPlugin::initializePlugin()
pToolbox_->cbMethod->setCurrentIndex(0);
connect( pToolbox_->cbMethod, SIGNAL(currentIndexChanged(int)), this, SLOT(slotMethodChanged(int)) );
method_ = BaseSkin::M_LBS;
method_ = Blending::M_LBS;
toolIcon_ = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"skeletalAnimation.png");
emit addToolbox( tr("Skeletal Animation") , pToolbox_, toolIcon_ );
......@@ -652,11 +652,11 @@ void SkeletalAnimationPlugin::slotMethodChanged(int _index)
switch(_index)
{
case 0:
method_ = BaseSkin::M_LBS;
method_ = Blending::M_LBS;
break;
default:
case 1:
method_ = BaseSkin::M_DBS;
method_ = Blending::M_DBS;
break;
}
......
......@@ -55,9 +55,7 @@
#include <OpenFlipper/BasePlugin/LoadSaveInterface.hh>
#include <OpenFlipper/BasePlugin/RPCInterface.hh>
#include "ObjectTypes/Skeleton/BaseSkin.hh"
#include "ObjectTypes/Skeleton/BlendingMethod.hh"
class AnimationToolboxWidget;
class AnimationHandle;
......@@ -182,7 +180,7 @@ protected:
QIcon* toolIcon_;
private:
BaseSkin::Method method_; ///< The current blending method for the skin
Blending::Method method_; ///< The current blending method for the skin
bool bGuiUpdating_; ///< Used to drop a few messages while the gui is being updated
QTimer animationTimer_; ///< Timer used to control animations
......
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