1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-13 08:24:27 +00:00

Fixed bug with last solid part deleting

+ fixed building
+ deleted last ";" from the settings digest
This commit is contained in:
YuSanka
2018-11-23 11:54:06 +01:00
parent a05bda5347
commit 4575443c4c
3 changed files with 7 additions and 3 deletions
+2
View File
@@ -410,6 +410,8 @@ bool PrusaObjectDataViewModelNode::update_settings_digest(const std::vector<std:
for (auto& cat : m_opt_categories)
m_name += cat + "; ";
if (!m_name.IsEmpty())
m_name.erase(m_name.Length()-2, 2); // Delete last "; "
wxBitmap *bmp = m_bitmap_cache->find(m_name.ToStdString());
if (bmp == nullptr) {