diff --git a/renderdoc/core/settings.cpp b/renderdoc/core/settings.cpp index 12998c7cf..5912bb9b5 100644 --- a/renderdoc/core/settings.cpp +++ b/renderdoc/core/settings.cpp @@ -345,7 +345,7 @@ static bool MergeConfigValues(const rdcstr &prefix, SDObject *dstConfig, const S ret |= true; // if we're copying nodes, do that now - dstConfig->DuplicateAndAddChild(srcChild->Duplicate()); + dstConfig->DuplicateAndAddChild(srcChild); } }