Sync changes from upstream repository

Co-authored-by: croudyj <croudyj@gmail.com>
Co-authored-by: Dale Lear <dalelear@mcneel.com>
Co-authored-by: Greg Arden <greg@mcneel.com>
Co-authored-by: Jussi Aaltonen <jussi@mcneel.com>
Co-authored-by: piac <giulio@mcneel.com>
Co-authored-by: Pierre Cuvilliers <pierre@mcneel.com>
Co-authored-by: Steve Baer <steve@mcneel.com>
Co-authored-by: Will Pearson <will@mcneel.com>
This commit is contained in:
Bozo the Builder
2023-06-27 14:12:47 -07:00
parent 112b5142ba
commit 3c751dd0ea
33 changed files with 2151 additions and 1856 deletions

View File

@@ -1849,6 +1849,18 @@ const ON_PostEffects& ON_3dmRenderSettings::PostEffects(void) const
return const_cast<ON_3dmRenderSettings*>(this)->PostEffects();
}
void ON_3dmRenderSettings::InvalidateCaches(void) const
{
m_private->_ground_plane->OnInternalXmlChanged(nullptr);
m_private->_dithering->OnInternalXmlChanged(nullptr);
m_private->_safe_frame->OnInternalXmlChanged(nullptr);
m_private->_skylight->OnInternalXmlChanged(nullptr);
m_private->_linear_workflow->OnInternalXmlChanged(nullptr);
m_private->_render_channels->OnInternalXmlChanged(nullptr);
m_private->_sun->OnInternalXmlChanged(nullptr);
m_private->_post_effects->OnInternalXmlChanged(nullptr);
}
#ifdef RDK_RENDER_PRESETS
extern ON_UUID uuidRenderPreset_Studio;