mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 12:20:00 +02:00
remove a bad replacement from PacketType in EntityTree
This commit is contained in:
parent
72b713e32f
commit
ac40790841
2 changed files with 30 additions and 30 deletions
|
@ -63,7 +63,7 @@ void EntityTree::eraseAllOctreeElements(bool createNewRoot) {
|
||||||
Octree::eraseAllOctreeElements(createNewRoot);
|
Octree::eraseAllOctreeElements(createNewRoot);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool EntityTree::handlesEditPacketType::(PacketType::Value packetType) const {
|
bool EntityTree::handlesEditPacketType(PacketType::Value packetType) const {
|
||||||
// we handle these types of "edit" packets
|
// we handle these types of "edit" packets
|
||||||
switch (packetType) {
|
switch (packetType) {
|
||||||
case PacketType::EntityAdd:
|
case PacketType::EntityAdd:
|
||||||
|
|
|
@ -65,7 +65,7 @@ public:
|
||||||
virtual PacketType::Value expectedDataPacketType() const { return PacketType::EntityData; }
|
virtual PacketType::Value expectedDataPacketType() const { return PacketType::EntityData; }
|
||||||
virtual bool canProcessVersion(PacketVersion thisVersion) const
|
virtual bool canProcessVersion(PacketVersion thisVersion) const
|
||||||
{ return thisVersion >= VERSION_ENTITIES_USE_METERS_AND_RADIANS; }
|
{ return thisVersion >= VERSION_ENTITIES_USE_METERS_AND_RADIANS; }
|
||||||
virtual bool handlesEditPacketType::(PacketType::Value packetType) const;
|
virtual bool handlesEditPacketType(PacketType::Value packetType) const;
|
||||||
virtual int processEditPacketData(PacketType::Value packetType, const unsigned char* packetData, int packetLength,
|
virtual int processEditPacketData(PacketType::Value packetType, const unsigned char* packetData, int packetLength,
|
||||||
const unsigned char* editData, int maxLength, const SharedNodePointer& senderNode);
|
const unsigned char* editData, int maxLength, const SharedNodePointer& senderNode);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue