mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 01:22:07 +00:00
FIX: missed to delete texture
Jira: STUDIO-4574 Change-Id: I8884380158d3d20ce76a07cbcaa8531ab039357b
This commit is contained in:
@@ -5257,8 +5257,10 @@ void PartPlateList::BedTextureInfo::TexturePart::update_buffer()
|
||||
|
||||
void PartPlateList::BedTextureInfo::TexturePart::reset()
|
||||
{
|
||||
if (texture)
|
||||
if (texture) {
|
||||
texture->reset();
|
||||
delete texture;
|
||||
}
|
||||
if (buffer)
|
||||
delete buffer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user