Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 2 files). Show all
Unified · Split
| @@ -615,6 +615,7 @@ MaterialEditApplier::MaterialEditApplier(const MetavoxelEditMessage& message, co · 614 unmodified lines | ||
| 615 | 615 | void MaterialEditApplier::handle() { |
| 616 | 616 | static_cast<MaterialEdit*>(_message.edit.data())->averageColor = _texture->getAverageColor(); |
| 617 | 617 | Application::getInstance()->getMetavoxels()->applyEdit(_message, true); |
| 618 | + deleteLater(); | |
| 618 | 619 | } |
| 619 | 620 | |
| 620 | 621 | void MetavoxelSystem::applyMaterialEdit(const MetavoxelEditMessage& message, bool reliable) { |