Only use effect schemes when the Compositor is enabled
This commit is contained in:
parent
7d92698644
commit
c7efa81efe
@ -1479,6 +1479,7 @@ static SGMutex realizeTechniques_lock;
|
||||
bool Effect::realizeTechniques(const SGReaderWriterOptions* options)
|
||||
{
|
||||
SGGuard<SGMutex> g(realizeTechniques_lock);
|
||||
if (getPropertyRoot()->getBoolValue("/sim/version/compositor-support", false))
|
||||
mergeSchemesFallbacks(this, options);
|
||||
|
||||
if (_isRealized)
|
||||
|
Loading…
Reference in New Issue
Block a user