Sync changes from upstream repository

Co-authored-by: croudyj <croudyj@gmail.com>
Co-authored-by: Dale Fugier <dale@mcneel.com>
Co-authored-by: Dale Lear <dalelear@mcneel.com>
Co-authored-by: Greg Arden <greg@mcneel.com>
Co-authored-by: jlasor <jeff@mcneel.com>
Co-authored-by: Joshua Kennedy <joshuakennedy102@gmail.com>
Co-authored-by: Pierre Cuvilliers <pierre@mcneel.com>
Co-authored-by: Steve Baer <steve@mcneel.com>
This commit is contained in:
Bozo The Builder
2023-05-19 16:14:53 -07:00
parent 2d71f42b17
commit 24b8c988cc
49 changed files with 2582 additions and 893 deletions

View File

@@ -306,8 +306,9 @@ const ON_EmbeddedFile* ON_EmbeddedFile::FromModelComponentRef(const ON_ModelComp
return none_return_value;
}
// This ON_Buffer stuff was already in file opennurbs_embedded_file.cpp even though it has nothing to do with files.
// I need this file for actual EMBEDDED FILE code so I'm hijacking it. This ON_Buffer stuff should be moved.
// This ON_Buffer stuff was already in file opennurbs_embedded_file.cpp even though it has nothing
// to do with embedded files. I need this file for actual embedded file code so I'm hijacking it.
// TODO: This ON_Buffer stuff should be moved.
ON_Buffer::ON_Buffer()
: m_buffer_size(0)