Fix Cycles OSL image texture issue after recent refactor.
[blender.git] / intern / cycles / render / nodes.cpp
index 6498de70a36a4ecf59b4119a96779c61603820cf..478443f205cade8bbe42084ece43b898a7accb88 100644 (file)
@@ -397,7 +397,7 @@ void ImageTextureNode::compile(OSLCompiler& compiler)
                compiler.parameter("color_space", "sRGB");
        compiler.parameter(this, "projection");
        compiler.parameter(this, "projection_blend");
-       compiler.parameter(this, "is_float");
+       compiler.parameter("is_float", is_float);
        compiler.parameter("use_alpha", !alpha_out->links.empty());
        compiler.parameter(this, "interpolation");
        compiler.parameter(this, "extension");