Cycles: Fixed a warning.
authorStefan Werner <stefan.werner@tangent-animation.com>
Fri, 23 Nov 2018 12:47:25 +0000 (13:47 +0100)
committerStefan Werner <stefan.werner@tangent-animation.com>
Fri, 23 Nov 2018 12:47:25 +0000 (13:47 +0100)
intern/cycles/render/nodes.h

index 048f0fcaa2462c9ce8ad08bad7b8dfa1b2160e12..429a1130a9bbda12de214b1bd391b9dbf97a0bc3 100644 (file)
@@ -1029,6 +1029,7 @@ public:
        float3 value;
 
 protected:
+       using ShaderNode::constant_fold;
        void constant_fold(const ConstantFolder& folder, ShaderInput *value_in);
        void compile(SVMCompiler& compiler, int type, ShaderInput *value_in, ShaderOutput *value_out);
        void compile(OSLCompiler& compiler, const char *name);