mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Hide list of children completely in structured data
* This makes it easier to enforce object ownership, as well as gives us options for e.g. generating structure data on demand lazily.
This commit is contained in:
@@ -268,10 +268,10 @@ void PersistantConfig::applyValues(const QVariantMap &values)
|
||||
SDObject *debug = RENDERDOC_SetConfigSetting("DXBC.Debug.SearchDirPaths");
|
||||
|
||||
debug->DeleteChildren();
|
||||
debug->data.children.resize(searchPaths.size());
|
||||
debug->ReserveChildren(searchPaths.size());
|
||||
|
||||
for(int i = 0; i < searchPaths.size(); i++)
|
||||
debug->data.children[i] = makeSDString("$el", searchPaths[i]);
|
||||
debug->AddAndOwnChild(makeSDString("$el", searchPaths[i]));
|
||||
}
|
||||
|
||||
if(settings.contains(lit("d3d12ShaderDebugging")))
|
||||
|
||||
Reference in New Issue
Block a user