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 | void MaterialEditApplier::handle() { | 615 | void MaterialEditApplier::handle() { |
| 616 | static_cast<MaterialEdit*>(_message.edit.data())->averageColor = _texture->getAverageColor(); | 616 | static_cast<MaterialEdit*>(_message.edit.data())->averageColor = _texture->getAverageColor(); |
| 617 | Application::getInstance()->getMetavoxels()->applyEdit(_message, true); | 617 | Application::getInstance()->getMetavoxels()->applyEdit(_message, true); |
| 618 | deleteLater(); | ||
| 618 | } | 619 | } |
| 619 | 620 | ||
| 620 | void MetavoxelSystem::applyMaterialEdit(const MetavoxelEditMessage& message, bool reliable) { | 621 | void MetavoxelSystem::applyMaterialEdit(const MetavoxelEditMessage& message, bool reliable) { |