[Bf-blender-cvs] [d140e597a6a] master: Fix T63281: Drivers inside nodegroups inside nodegroups don't show up in Driver Editor

Sebastian Parborg noreply at git.blender.org
Fri Apr 5 16:31:26 CEST 2019


Commit: d140e597a6a8f2bef8cbc2626effef41025b5688
Author: Sebastian Parborg
Date:   Fri Apr 5 16:28:34 2019 +0200
Branches: master
https://developer.blender.org/rBd140e597a6a8f2bef8cbc2626effef41025b5688

Fix T63281: Drivers inside nodegroups inside nodegroups don't show up in Driver Editor

Recurse into node groups when looking for drivers.

Reviewed By: Brecht

Differential Revision: http://developer.blender.org/D4653

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

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 17d74e8324f..dad0727a82d 100644
--- a/source/blender/editors/animation/anim_filter.c
+++ b/source/blender/editors/animation/anim_filter.c
@@ -1968,8 +1968,9 @@ static size_t animdata_filter_ds_nodetree(bAnimContext *ac, ListBase *anim_data,
 				if ((ads->filterflag & ADS_FILTER_ONLYSEL) && (node->flag & NODE_SELECT) == 0) {
 					continue;
 				}
-				items += animdata_filter_ds_nodetree_group(ac, anim_data, ads, owner_id, (bNodeTree *) node->id,
-				                                           filter_mode | ANIMFILTER_TMP_IGNORE_ONLYSEL);
+				/* Recurse into the node group */
+				items += animdata_filter_ds_nodetree(ac, anim_data, ads, owner_id, (bNodeTree *) node->id,
+				                                     filter_mode | ANIMFILTER_TMP_IGNORE_ONLYSEL);
 			}
 		}
 	}



More information about the Bf-blender-cvs mailing list