We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2799970 commit b44492fCopy full SHA for b44492f
Changes
@@ -1,7 +1,10 @@
1
10.6.x.x (relative to 10.6.1.0)
2
========
3
4
+Improvements
5
+------------
6
7
+- ShaderNetwork : Optimised applySubstitutions() for cases where not all shaders need them.
8
9
10.6.1.0 (relative to 10.6.0.2)
10
src/IECoreScene/ShaderNetwork.cpp
@@ -745,7 +745,10 @@ class ShaderNetwork::Implementation
745
}
746
747
748
- m_parmsNeedingSubstitution[ node.handle ] = parmsNeedingSub;
+ if( parmsNeedingSub.size() )
749
+ {
750
+ m_parmsNeedingSubstitution[ node.handle ] = parmsNeedingSub;
751
+ }
752
753
754
m_hash.append( m_output.shader );
0 commit comments