mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Support lazy-generating structured data objects for large arrays
* For certain very large arrays it can be nice to defer generation of structured data until it's needed, since often maybe only a handful of elements may be needed (or commonly none at all).
This commit is contained in:
@@ -59,8 +59,8 @@ static QString valueString(const SDObject *o)
|
||||
|
||||
static bool anyChildChanged(const SDObject *o)
|
||||
{
|
||||
SDObject *def = o->FindChild("default");
|
||||
SDObject *val = o->FindChild("value");
|
||||
const SDObject *def = o->FindChild("default");
|
||||
const SDObject *val = o->FindChild("value");
|
||||
|
||||
if(val && def)
|
||||
return !val->HasEqualValue(def);
|
||||
|
||||
Reference in New Issue
Block a user