mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 20:19:40 +00:00
Remove the now unused changeBlendMask
This commit is contained in:
parent
83cceeee72
commit
3656851750
2 changed files with 0 additions and 16 deletions
|
@ -688,21 +688,6 @@ namespace MWRender
|
||||||
addControllers();
|
addControllers();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: remove
|
|
||||||
void Animation::changeBlendMask(const std::string &groupname, int mask)
|
|
||||||
{
|
|
||||||
AnimStateMap::iterator stateiter = mStates.find(groupname);
|
|
||||||
if(stateiter != mStates.end())
|
|
||||||
{
|
|
||||||
if(stateiter->second.mBlendMask != mask)
|
|
||||||
{
|
|
||||||
stateiter->second.mBlendMask = mask;
|
|
||||||
resetActiveGroups();
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void Animation::stopLooping(const std::string& groupname)
|
void Animation::stopLooping(const std::string& groupname)
|
||||||
{
|
{
|
||||||
AnimStateMap::iterator stateiter = mStates.find(groupname);
|
AnimStateMap::iterator stateiter = mStates.find(groupname);
|
||||||
|
|
|
@ -392,7 +392,6 @@ public:
|
||||||
* \param groupname Animation group to disable.
|
* \param groupname Animation group to disable.
|
||||||
*/
|
*/
|
||||||
void disable(const std::string &groupname);
|
void disable(const std::string &groupname);
|
||||||
void changeBlendMask(const std::string &groupname, int mask);
|
|
||||||
|
|
||||||
/** Retrieves the velocity (in units per second) that the animation will move. */
|
/** Retrieves the velocity (in units per second) that the animation will move. */
|
||||||
float getVelocity(const std::string &groupname) const;
|
float getVelocity(const std::string &groupname) const;
|
||||||
|
|
Loading…
Reference in a new issue