From 9e197399447007e64ee2f8aec36330fd55ddf44f Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sat, 22 Oct 2005 18:47:38 +0000 Subject: Various stuff in one commit; - Added (BKE_utildefines.h) POINTER_TO_INT(poin) and INT_TO_POINTER(int) defines, to help fixing issues with switch to 64 bits systems. This assumes that a) not more than 16GB mem is used and b) that address space is below the 1<<35 value. The latter has to be confirmed, but it seems to conform the current 64 bits generation of OSs (for mallocs). Needless to say; use long if you want to store pointers! This is for temporal fixing. - Added editmesh version for mesh-octree lookups, not used yet. - Fix: ESC on armature posemode restored the actions, should not happen - Fix: If in NLA an action was 0 frame long, it caused draw error - Fix: Click on name in Action Window now activates Bones - Fix: "Snap to" options in Armature editmode now use X-axis mirror edit. --- source/blender/src/drawnla.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/src/drawnla.c') 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); } } -- cgit v1.2.3