NLA Transform Bugfixes:
* Scaling NLA-strips now resets their scale setting correctly at all times * Added safe-guards against negative scaling being created through the use of the transform tools. Note: at scale 0 or thereabouts, there will still be a little blip, when keyframes are scaled as if scale were 1.0f. It's quite harmless.
This commit is contained in:
@@ -2726,9 +2726,10 @@ static void createTransNlaData(TransInfo *t)
|
||||
if (base->object->action) {
|
||||
/* exclude if strip is selected too */
|
||||
for (strip=base->object->nlastrips.first; strip; strip=strip->next) {
|
||||
if (strip->flag & ACTSTRIP_SELECT)
|
||||
if (strip->flag & ACTSTRIP_SELECT) {
|
||||
if (strip->act == base->object->action)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (strip==NULL) {
|
||||
cfra = get_action_frame(base->object, CFRA);
|
||||
@@ -2790,9 +2791,10 @@ static void createTransNlaData(TransInfo *t)
|
||||
if (base->object->action) {
|
||||
/* exclude if strip that active action belongs to is selected too */
|
||||
for (strip=base->object->nlastrips.first; strip; strip=strip->next) {
|
||||
if (strip->flag & ACTSTRIP_SELECT)
|
||||
if (strip->flag & ACTSTRIP_SELECT) {
|
||||
if (strip->act == base->object->action)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* can include if no strip found */
|
||||
|
||||
Reference in New Issue
Block a user