Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/src/drawnla.c')
-rw-r--r--source/blender/src/drawnla.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/drawnla.c b/source/blender/src/drawnla.c
index 120ce5c3d8d..5c8a9ade3d9 100644
--- a/source/blender/src/drawnla.c
+++ b/source/blender/src/drawnla.c
@@ -190,6 +190,7 @@ void map_active_strip(gla2DDrawInfo *di, Object *ob, int restore)
map= stored;
map.xmin= get_action_frame(ob, map.xmin);
map.xmax= get_action_frame(ob, map.xmax);
+ if(map.xmin==map.xmax) map.xmax+= 1.0;
gla2DSetMap(di, &map);
}
}