[Bf-blender-cvs] [9883899] master: Remove debug only code

Sergey Sharybin noreply at git.blender.org
Fri Sep 16 16:11:56 CEST 2016


Commit: 9883899d62a7b275c05ee6b15b5383dff6043cfc
Author: Sergey Sharybin
Date:   Fri Sep 16 16:11:38 2016 +0200
Branches: master
https://developer.blender.org/rB9883899d62a7b275c05ee6b15b5383dff6043cfc

Remove debug only code

Thanks Severin for spotting it!

===================================================================

M	source/blender/editors/animation/anim_filter.c

===================================================================

diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c
index 72c20c0..87c7381 100644
--- a/source/blender/editors/animation/anim_filter.c
+++ b/source/blender/editors/animation/anim_filter.c
@@ -478,7 +478,7 @@ bool ANIM_animdata_get_context(const bContext *C, bAnimContext *ac)
 #define ANIMDATA_FILTER_CASES(id, adtOk, nlaOk, driversOk, nlaKeysOk, keysOk) \
 	{ \
 		if ((id)->adt) { \
-			if (!(filter_mode & ANIMFILTER_CURVE_VISIBLE) || !((id)->adt->flag & ADT_CURVES_NOT_VISIBLE) || 1) { \
+			if (!(filter_mode & ANIMFILTER_CURVE_VISIBLE) || !((id)->adt->flag & ADT_CURVES_NOT_VISIBLE)) { \
 				if (filter_mode & ANIMFILTER_ANIMDATA) { \
 					adtOk \
 				} \




More information about the Bf-blender-cvs mailing list