You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found this issue while working on ocioview. It appears that parameters beyond a Look's name don't contribute to the Config cache ID. Changing a look's process space and transforms produce the same cache result. For example:
Thanks for the report Michael. It looks like there is a bug in:
void Config::addLook(const ConstLookRcPtr & look)
If there is already a look with the same name, the code replaces it but neglects to call:
AutoMutex lock(getImpl()->m_cacheidMutex);
getImpl()->resetCacheIDs();
So getCacheID() is not regenerating the ID, it's pulling the stale one from the cacheID cache.
This would be an easy bug for someone, adding the "good first issue" label.
I found this issue while working on
ocioview
. It appears that parameters beyond a Look's name don't contribute to the Config cache ID. Changing a look's process space and transforms produce the same cache result. For example:The text was updated successfully, but these errors were encountered: