Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--intern/cycles/kernel/shaders/node_texture.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/intern/cycles/kernel/shaders/node_texture.h b/intern/cycles/kernel/shaders/node_texture.h
index f2aedb098d4..0a73c0907d9 100644
--- a/intern/cycles/kernel/shaders/node_texture.h
+++ b/intern/cycles/kernel/shaders/node_texture.h
@@ -202,8 +202,6 @@ float noise_basis_hard(point p, string basis, int hard)
float noise_wave(string wave, float a)
{
- float result = 0.0;
-
if (wave == "Sine") {
return 0.5 + 0.5 * sin(a);
}