Sync changes from upstream repository

Co-authored-by: Andrew Le Bihan <andy@mcneel.com>
Co-authored-by: Bozo <bozo@mcneel.com>
Co-authored-by: Bozo the Builder <bozo@mcneel.com>
Co-authored-by: croudyj <croudyj@gmail.com>
Co-authored-by: Dale Lear <dalelear@mcneel.com>
Co-authored-by: piac <giulio@mcneel.com>
This commit is contained in:
Bozo the Builder
2023-08-21 06:01:25 -07:00
parent 6e754fbf6d
commit cb1994195e
30 changed files with 1892 additions and 299 deletions

View File

@@ -867,6 +867,15 @@ ON_SubDimple::ON_SubDimple(const ON_SubDimple& src)
m_texture_coordinate_type = src.m_texture_coordinate_type;
m_texture_mapping_tag = src.m_texture_mapping_tag;
// NOTE WELL: (Dale Lear Aug 2023)
// Fragment settings like the three m_fragment_... values
// should be copied only if the mesh fragments are copied
// and that happens conditionally and happens later
// if ON_SubDimple::CopyEvaluationCacheForExperts() is called.
// NO // m_fragment_colors_mapping_tag = src.m_fragment_colors_mapping_tag;
// NO // m_fragment_texture_settings_hash = src.m_fragment_texture_settings_hash;
// NO // m_fragment_colors_settings_hash = src.m_fragment_colors_settings_hash;
m_face_packing_id = src.m_face_packing_id;
m_face_packing_topology_hash = src.m_face_packing_topology_hash;
m_face_packing_topology_hash.m_subd_runtime_serial_number