Compare commits
1 Commits
master
...
kimkulling
Author | SHA1 | Date |
---|---|---|
Kim Kulling | 8602c7c035 |
|
@ -83,9 +83,13 @@ AnimResolver::AnimResolver(std::list<Envelope> &_envelopes, double tick) :
|
||||||
(*it).old_first = 0;
|
(*it).old_first = 0;
|
||||||
(*it).old_last = (*it).keys.size() - 1;
|
(*it).old_last = (*it).keys.size() - 1;
|
||||||
|
|
||||||
if ((*it).keys.empty()) continue;
|
if ((*it).keys.empty()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if ((int)(*it).type < 1 || (int)(*it).type>EnvelopeType_Unknown) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
switch ((*it).type) {
|
switch ((*it).type) {
|
||||||
|
|
||||||
// translation
|
// translation
|
||||||
case LWO::EnvelopeType_Position_X:
|
case LWO::EnvelopeType_Position_X:
|
||||||
trans_x = &*it;
|
trans_x = &*it;
|
||||||
|
|
Loading…
Reference in New Issue