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:
Diffstat (limited to 'intern/cycles/util/path.cpp')
-rw-r--r--intern/cycles/util/path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/path.cpp b/intern/cycles/util/path.cpp
index 5704c4ef8ef..7437ad7651a 100644
--- a/intern/cycles/util/path.cpp
+++ b/intern/cycles/util/path.cpp
@@ -313,7 +313,7 @@ static char *path_specials(const string &sub)
if (env_shader_path != NULL && sub == "shader") {
return env_shader_path;
}
- else if (env_shader_path != NULL && sub == "source") {
+ else if (env_source_path != NULL && sub == "source") {
return env_source_path;
}
return NULL;