diff --git a/uSync8.Core/Dependency/Checkers/TemplateChecker.cs b/uSync8.Core/Dependency/Checkers/TemplateChecker.cs index f0ba575b..9c51b074 100644 --- a/uSync8.Core/Dependency/Checkers/TemplateChecker.cs +++ b/uSync8.Core/Dependency/Checkers/TemplateChecker.cs @@ -38,10 +38,12 @@ public IEnumerable GetDependencies(ITemplate item, DependencyFl Level = CalculateLevel(item) }); - if (flags.HasFlag(DependencyFlags.IncludeAncestors)) - { + // always get the parents of a template?? + + // if (flags.HasFlag(DependencyFlags.IncludeAncestors)) + // { dependencies.AddRange(GetParents(item, DependencyOrders.Templates - 1, flags)); - } + // } if (flags.HasFlag(DependencyFlags.IncludeChildren)) {