mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 00:40:06 +02:00
Bump up the packet version.
This commit is contained in:
parent
768410ca0b
commit
468a3d4d67
2 changed files with 3 additions and 1 deletions
|
@ -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) :
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue