Skip to content

Commit

Permalink
CheckRequiredExtensions now considers Volumetric and Implict namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
3dJan committed Mar 13, 2024
1 parent f24db6f commit c7c55a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/Model/Reader/NMR_ModelReaderNode_ModelBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ namespace NMR {
strcmp(sExtensionURI.c_str(), XML_3MF_NAMESPACE_PRODUCTIONSPEC) != 0 &&
strcmp(sExtensionURI.c_str(), XML_3MF_NAMESPACE_SLICESPEC) != 0 &&
strcmp(sExtensionURI.c_str(), XML_3MF_NAMESPACE_BEAMLATTICESPEC) != 0 &&
strcmp(sExtensionURI.c_str(), XML_3MF_NAMESPACE_SECURECONTENTSPEC) != 0 )
strcmp(sExtensionURI.c_str(), XML_3MF_NAMESPACE_SECURECONTENTSPEC) != 0 &&
strcmp(sExtensionURI.c_str(), XML_3MF_NAMESPACE_VOLUMETRICSPEC) != 0 &&
strcmp(sExtensionURI.c_str(), XML_3MF_NAMESPACE_IMPLICITSPEC) != 0
)
{
m_pWarnings->addWarning(NMR_ERROR_REQUIREDEXTENSIONNOTSUPPORTED, mrwInvalidMandatoryValue);
}
Expand Down

0 comments on commit c7c55a8

Please sign in to comment.