@@ -335,6 +335,8 @@ const SupportedRenderSettings& _GetSupportedRenderSettings()
335335 {str::t_ignore_smoothing, {" Ignore Smoothing" }},
336336 {str::t_ignore_sss, {" Ignore SubSurface Scattering" }},
337337 {str::t_ignore_operators, {" Ignore Operators" }},
338+ // HTML Report Settings
339+ {str::t_report_file, {" HTML Report Path" , config.report_file }},
338340 // Log Settings
339341 {str::t_log_verbosity, {" Log Verbosity (0-5)" , config.log_verbosity }},
340342 {str::t_log_file, {" Log File Path" , config.log_file }},
@@ -691,6 +693,11 @@ void HdArnoldRenderDelegate::_SetRenderSetting(const TfToken& _key, const VtValu
691693 _logFile = value.UncheckedGet <std::string>();
692694 AiMsgSetLogFileName (_logFile.c_str ());
693695 }
696+ } else if (key == str::t_report_file) {
697+ if (value.IsHolding <std::string>()) {
698+ _reportFile = value.UncheckedGet <std::string>();
699+ AiReportSetFileName (_reportFile.c_str ());
700+ }
694701 } else if (key == str::t_stats_file) {
695702 if (value.IsHolding <std::string>()) {
696703 _statsFile = value.UncheckedGet <std::string>();
@@ -983,6 +990,8 @@ VtValue HdArnoldRenderDelegate::GetRenderSetting(const TfToken& _key) const
983990 return VtValue (ArnoldUsdGetLogVerbosityFromFlags (_verbosityLogFlags));
984991 } else if (key == str::t_log_file) {
985992 return VtValue (_logFile);
993+ } else if (key == str::t_report_file) {
994+ return VtValue (_reportFile);
986995 } else if (key == str::t_stats_file) {
987996 return VtValue (_statsFile);
988997 } else if (key == str::t_stats_mode) {
0 commit comments