lib3mf 2.5 :

- aggiornamento versione
- utilizzate le nostre librerie esterne libzip e zlib e non quelle incluse in lib3mf.
This commit is contained in:
SaraP
2026-08-25 12:44:11 +02:00
parent ea6efc1e36
commit 513f08e691
544 changed files with 52634 additions and 30760 deletions
@@ -86,7 +86,7 @@ namespace NMR {
__NMRASSERT(pAttributeValue);
if (strcmp(pAttributeName, XML_3MF_ATTRIBUTE_TEXTURE_U) == 0) {
m_fU = strtof(pAttributeValue, nullptr);
m_fU = fnStringToFloat(pAttributeValue);
if (std::isnan (m_fU))
throw CNMRException(NMR_ERROR_INVALIDMODELTEXTURECOORDINATES);
if (fabs (m_fU) > XML_3MF_MAXIMUMCOORDINATEVALUE)
@@ -95,8 +95,12 @@ namespace NMR {
}
if (strcmp(pAttributeName, XML_3MF_ATTRIBUTE_TEXTURE_V) == 0) {
m_fV = strtof(pAttributeValue, nullptr);
if (std::isnan (m_fV))
m_fV = fnStringToFloat(pAttributeValue);
#ifdef __MINGW32__
if (isNotANumber(m_fV))
#else
if (std::isnan(m_fV))
#endif
throw CNMRException(NMR_ERROR_INVALIDMODELTEXTURECOORDINATES);
if (fabs(m_fV) > XML_3MF_MAXIMUMCOORDINATEVALUE)
throw CNMRException(NMR_ERROR_INVALIDMODELTEXTURECOORDINATES);