mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 13:40:42 +08:00
FIX: missed to delete texture
Jira: STUDIO-4574 Change-Id: I8884380158d3d20ce76a07cbcaa8531ab039357b
This commit is contained in:
parent
35b15a1aa1
commit
74f8ba13c9
@ -5257,8 +5257,10 @@ void PartPlateList::BedTextureInfo::TexturePart::update_buffer()
|
|||||||
|
|
||||||
void PartPlateList::BedTextureInfo::TexturePart::reset()
|
void PartPlateList::BedTextureInfo::TexturePart::reset()
|
||||||
{
|
{
|
||||||
if (texture)
|
if (texture) {
|
||||||
texture->reset();
|
texture->reset();
|
||||||
|
delete texture;
|
||||||
|
}
|
||||||
if (buffer)
|
if (buffer)
|
||||||
delete buffer;
|
delete buffer;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user