Revision: 17744
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17744
Author: aligorith
Date: 2008-12-08 07:17:12 +0100 (Mon, 08 Dec 2008)
Log Message:
-----------
AnimSys2: Bugfix for Dopesheet
The buggy cull keyframes option in DopeSheet/Action Editor was always on.
Disabled it.
Modified Paths:
--------------
branches/animsys2/source/blender/src/drawaction.c
Modified: branches/animsys2/source/blender/src/drawaction.c
===================================================================
--- branches/animsys2/source/blender/src/drawaction.c 2008-12-08 00:48:27 UTC
(rev 17743)
+++ branches/animsys2/source/blender/src/drawaction.c 2008-12-08 06:17:12 UTC
(rev 17744)
@@ -1222,7 +1222,11 @@
aki.start= G.v2d->cur.xmin - 10;
aki.end= G.v2d->cur.xmax + 10;
- return &aki;
+ /* only return pointer to this data if the culling option is turned on
*/
+ if (G.saction->flag & SACTION_HORIZOPTIMISEON)
+ return &aki;
+ else
+ return NULL;
}
static void draw_channel_strips(void)
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs