diff options
author | Ton Roosendaal <ton@blender.org> | 2005-10-03 19:48:17 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-10-03 19:48:17 +0400 |
commit | 15c5fb7e41f9a02122844adbf7be033001a47d2a (patch) | |
tree | e8dbe4b1a81c215c0885c1bcb8ff8e717e8c0ff9 /source | |
parent | 2e8d8f6b8f4b4294b4b7b4f47d931f4b0d29db4c (diff) |
NLA window:
Insert a NLA strip makes it size 100 frames if the actual action is smaller
than 2 frames, otherwise you cannot even select it :)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/editnla.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/editnla.c b/source/blender/src/editnla.c index e91b645295e..00cf212e3cb 100644 --- a/source/blender/src/editnla.c +++ b/source/blender/src/editnla.c @@ -465,6 +465,9 @@ static void add_nla_block(short event) strip->actend = calc_action_end(act); strip->start = G.scene->r.cfra; /* Should be mval[0] */ strip->end = strip->start + (strip->actend-strip->actstart); + if(strip->start<strip->end+2) + strip->end= strip->start+100; + strip->flag = ACTSTRIP_SELECT; strip->repeat = 1.0; |