From 8899af40fd556f7c356dc781d705aa38a53dec4a Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sat, 13 May 2006 10:38:39 +0000 Subject: Bugfix #4191 NLA window: the "blend in/out" values were limited to action lenght, which should the strip length instead. --- source/blender/src/drawnla.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/src/drawnla.c') diff --git a/source/blender/src/drawnla.c b/source/blender/src/drawnla.c index e3436645adc..9232feb3d41 100644 --- a/source/blender/src/drawnla.c +++ b/source/blender/src/drawnla.c @@ -483,8 +483,8 @@ static void nla_panel_properties(short cntrl) // NLA_HANDLER_PROPERTIES } uiBlockBeginAlign(block); - uiDefButF(block, NUM, B_NLA_PANEL, "Blendin:", 10,100,145,19, &strip->blendin, 0.0, strip->actend-strip->actstart, 100, 0, "Number of frames of ease-in"); - uiDefButF(block, NUM, B_NLA_PANEL, "Blendout:", 10,80,145,19, &strip->blendout, 0.0, strip->actend-strip->actstart, 100, 0, "Number of frames of ease-out"); + uiDefButF(block, NUM, B_NLA_PANEL, "Blendin:", 10,100,145,19, &strip->blendin, 0.0, strip->end-strip->start, 100, 0, "Number of frames of ease-in"); + uiDefButF(block, NUM, B_NLA_PANEL, "Blendout:", 10,80,145,19, &strip->blendout, 0.0, strip->end-strip->start, 100, 0, "Number of frames of ease-out"); uiBlockBeginAlign(block); uiDefButF(block, NUM, B_NLA_PANEL, "Repeat:", 160,100,150,19, &strip->repeat, 0.001, 1000.0f, 100, 0, "Number of times the action should repeat"); -- cgit v1.2.3