lib3mf 2.5 :
- aggiornamento versione - utilizzate le nostre librerie esterne libzip e zlib e non quelle incluse in lib3mf.
This commit is contained in:
@@ -132,7 +132,12 @@ namespace NMR {
|
||||
for (auto pStack : m_pSliceRefs) {
|
||||
nSlices += pStack->getSliceCount();
|
||||
}
|
||||
m_pSlices.reserve(nSlices);
|
||||
|
||||
if (nSlices > LIB3MF_MAXSLICEREFERENCES)
|
||||
throw CNMRException(NMR_ERROR_TOOMANYSLICES);
|
||||
|
||||
|
||||
m_pSlices.reserve((size_t)nSlices);
|
||||
for (auto pStack : m_pSliceRefs) {
|
||||
for (auto pOldSlice : pStack->m_pSlices) {
|
||||
m_pSlices.push_back(std::make_shared<CSlice>(*pOldSlice.get()));
|
||||
|
||||
Reference in New Issue
Block a user