mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
Fixed crash when importing .prusa files
This commit is contained in:
1 parent
81a80ebd61
commit
e77111bf98
1 file changed
+1
-1
@@ -148,7 +148,7 @@ bool load_prus(const char *path, Model *model)
|
||||
if (scene_xml_data.size() < size_last + size_incr)
|
||||
scene_xml_data.resize(size_last + size_incr);
|
||||
}
|
||||
size_last += size_last + zip.LastRead();
|
||||
size_last += zip.LastRead();
|
||||
if (scene_xml_data.size() == size_last)
|
||||
scene_xml_data.resize(size_last + 1);
|
||||
else if (scene_xml_data.size() > size_last + 1)
|
||||
|
||||
Reference in new issue
Block a user