From 392e1da1790d252f0f156379c1d5507959a4e17a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 17 Apr 2010 15:47:00 +0000 Subject: bugfix and cleanup - BGE Shader.setSampler(name, index): index range check was wrong. - Compositor check for an invalid channel was incorrect. - getting the center of selected verts used an uninitalized z axis. - do_init_render_material() used && rather then & when testing for MA_TRANSP. - weight paint activate flipped bone used && rather then & for flag checking. --- source/blender/editors/space_nla/nla_edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_nla') diff --git a/source/blender/editors/space_nla/nla_edit.c b/source/blender/editors/space_nla/nla_edit.c index 3319c36e92b..79aac30a7a4 100644 --- a/source/blender/editors/space_nla/nla_edit.c +++ b/source/blender/editors/space_nla/nla_edit.c @@ -903,7 +903,7 @@ static int nlaedit_bake_exec (bContext *C, wmOperator *op) ListBase anim_data = {NULL, NULL}; bAnimListElem *ale; int filter; - int flag = 0; +// int flag = 0; /* get editor data */ if (ANIM_animdata_get_context(C, &ac) == 0) -- cgit v1.2.3