diff options
author | Hans Goudey <h.goudey@me.com> | 2022-09-27 23:00:37 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-09-27 23:00:37 +0300 |
commit | b145cc9d361e21da3a8a0ff2ef3bad1f8e8fbae6 (patch) | |
tree | f1b80b6156feb51b68fcf991528343b342666628 /intern/cycles | |
parent | f2bad0e49f8c36b36f32fb945517a44ca82e3ca1 (diff) |
Cleanup: Unused variable warning with path guiding turned off
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/integrator/path_trace.cpp | 3 |
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 } |