Bump up the packet version.

This commit is contained in:
Andrzej Kapolka 2014-08-08 14:18:32 -07:00
parent 768410ca0b
commit 468a3d4d67
2 changed files with 3 additions and 1 deletions

View file

@ -1139,7 +1139,7 @@ HeightfieldHeightBrushTool::HeightfieldHeightBrushTool(MetavoxelEditor* editor)
QVariant HeightfieldHeightBrushTool::createEdit(bool alternate) { QVariant HeightfieldHeightBrushTool::createEdit(bool alternate) {
return QVariant::fromValue(PaintHeightfieldHeightEdit(_position, _radius->value(), return QVariant::fromValue(PaintHeightfieldHeightEdit(_position, _radius->value(),
alternate ? (-_height->value() : _height->value()))); alternate ? -_height->value() : _height->value()));
} }
HeightfieldColorBrushTool::HeightfieldColorBrushTool(MetavoxelEditor* editor) : HeightfieldColorBrushTool::HeightfieldColorBrushTool(MetavoxelEditor* editor) :

View file

@ -80,6 +80,8 @@ PacketVersion versionForPacketType(PacketType type) {
return 1; return 1;
case PacketTypeAudioStreamStats: case PacketTypeAudioStreamStats:
return 1; return 1;
case PacketTypeMetavoxelData:
return 1;
default: default:
return 0; return 0;
} }