Cleanup: simplify debugging
This makes it easy to set breakpoints where false is returned.
This commit is contained in:
parent
81d82427b5
commit
d3f07998ed
|
@ -172,7 +172,10 @@ inline bool topology_cache_is_available(const bNodeTree &tree)
|
|||
if (tree.runtime->allow_use_dirty_topology_cache.load() > 0) {
|
||||
return true;
|
||||
}
|
||||
return !tree.runtime->topology_cache_is_dirty;
|
||||
if (tree.runtime->topology_cache_is_dirty) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
inline bool topology_cache_is_available(const bNode &node)
|
||||
|
|
Loading…
Reference in New Issue