mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 22:15:32 +00:00
Don't force loop textkey
This commit is contained in:
parent
2373f07168
commit
3195716a2c
1 changed files with 0 additions and 4 deletions
|
@ -40,8 +40,6 @@ namespace Resource
|
||||||
std::string animationName = animation->getName();
|
std::string animationName = animation->getName();
|
||||||
std::string start = animationName + std::string(": start");
|
std::string start = animationName + std::string(": start");
|
||||||
std::string stop = animationName + std::string(": stop");
|
std::string stop = animationName + std::string(": stop");
|
||||||
std::string loopstart = animationName + std::string(": loop start");
|
|
||||||
std::string loopstop = animationName + std::string(": loop stop");
|
|
||||||
|
|
||||||
const osgAnimation::ChannelList& channels = animation->getChannels();
|
const osgAnimation::ChannelList& channels = animation->getChannels();
|
||||||
for (const auto& channel: channels)
|
for (const auto& channel: channels)
|
||||||
|
@ -60,8 +58,6 @@ namespace Resource
|
||||||
// Keywords can be stuff like Loop, Equip, Unequip, Block, InventoryHandtoHand, InventoryWeaponOneHand, PickProbe, Slash, Thrust, Chop... even "Slash Small Follow"
|
// Keywords can be stuff like Loop, Equip, Unequip, Block, InventoryHandtoHand, InventoryWeaponOneHand, PickProbe, Slash, Thrust, Chop... even "Slash Small Follow"
|
||||||
mTarget.mTextKeys.emplace(startTime, std::move(start));
|
mTarget.mTextKeys.emplace(startTime, std::move(start));
|
||||||
mTarget.mTextKeys.emplace(stopTime, std::move(stop));
|
mTarget.mTextKeys.emplace(stopTime, std::move(stop));
|
||||||
mTarget.mTextKeys.emplace(startTime, std::move(loopstart));
|
|
||||||
mTarget.mTextKeys.emplace(stopTime, std::move(loopstop));
|
|
||||||
|
|
||||||
SceneUtil::EmulatedAnimation emulatedAnimation;
|
SceneUtil::EmulatedAnimation emulatedAnimation;
|
||||||
emulatedAnimation.mStartTime = startTime;
|
emulatedAnimation.mStartTime = startTime;
|
||||||
|
|
Loading…
Reference in a new issue