mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
remove dead code, comment cleanup
This commit is contained in:
parent
4f9c7fed59
commit
0dde5b6411
1 changed files with 1 additions and 3 deletions
|
@ -2049,11 +2049,9 @@ void Application::maybeEditVoxelUnderCursor() {
|
|||
|
||||
void Application::deleteVoxelUnderCursor() {
|
||||
if (_mouseVoxel.s != 0) {
|
||||
// sending delete to the server is sufficient, server will send new version so we see updates soon enough
|
||||
sendVoxelEditMessage(PACKET_HEADER_ERASE_VOXEL, _mouseVoxel);
|
||||
|
||||
// delete the voxel locally so it disappears immediately
|
||||
//_voxels.deleteVoxelAt(_mouseVoxel.x, _mouseVoxel.y, _mouseVoxel.z, _mouseVoxel.s);
|
||||
|
||||
// remember the position for drag detection
|
||||
_justEditedVoxel = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue