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:
authorHans Goudey <h.goudey@me.com>2022-09-27 23:00:37 +0300
committerHans Goudey <h.goudey@me.com>2022-09-27 23:00:37 +0300
commitb145cc9d361e21da3a8a0ff2ef3bad1f8e8fbae6 (patch)
treef1b80b6156feb51b68fcf991528343b342666628
parentf2bad0e49f8c36b36f32fb945517a44ca82e3ca1 (diff)
Cleanup: Unused variable warning with path guiding turned off
-rw-r--r--intern/cycles/integrator/path_trace.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/integrator/path_trace.cpp b/intern/cycles/integrator/path_trace.cpp
index 56b8e46ebda..6b033cfd051 100644
--- a/intern/cycles/integrator/path_trace.cpp
+++ b/intern/cycles/integrator/path_trace.cpp
@@ -1314,6 +1314,9 @@ void PathTrace::set_guiding_params(const GuidingParams &guiding_params, const bo
guiding_field_->Reset();
}
}
+#else
+ (void)guiding_params;
+ (void)reset;
#endif
}