lib3mf 2.5 :
- aggiornamento versione - utilizzate le nostre librerie esterne libzip e zlib e non quelle incluse in lib3mf.
This commit is contained in:
@@ -118,7 +118,10 @@ void CMultiPropertyGroup::GetMultiProperty (const Lib3MF_uint32 nPropertyID, Lib
|
||||
*pPropertyIDsNeededCount = multiProperty->size();
|
||||
}
|
||||
|
||||
if (pPropertyIDsBuffer && nPropertyIDsBufferSize >= multiProperty->size()) {
|
||||
if (pPropertyIDsBuffer) {
|
||||
|
||||
if (nPropertyIDsBufferSize < multiProperty->size())
|
||||
throw ELib3MFInterfaceException(LIB3MF_ERROR_BUFFERTOOSMALL);
|
||||
|
||||
if (nPropertyIDsBufferSize > LIB3MF_MAXMULTIPROPERTIES)
|
||||
throw ELib3MFInterfaceException(LIB3MF_ERROR_ELEMENTCOUNTEXCEEDSLIMIT);
|
||||
|
||||
Reference in New Issue
Block a user