mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 08:57:27 +02:00
debugging
This commit is contained in:
parent
517d4372fa
commit
cd2b6473ba
2 changed files with 7 additions and 1 deletions
|
@ -409,7 +409,11 @@ bool EntityScriptingInterface::setVoxelSphere(QUuid entityID, const glm::vec3& c
|
||||||
_entityTree->unlock();
|
_entityTree->unlock();
|
||||||
|
|
||||||
properties.setVoxelDataDirty();
|
properties.setVoxelDataDirty();
|
||||||
queueEntityMessage(PacketTypeEntityEdit, entityID, properties);
|
|
||||||
|
|
||||||
|
entity->setLastBroadcast(usecTimestampNow());
|
||||||
|
// modifiedProperties.setType(entity->getType());
|
||||||
|
// bidForSimulationOwnership(modifiedProperties);
|
||||||
|
|
||||||
|
queueEntityMessage(PacketTypeEntityEdit, entityID, properties);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -82,6 +82,8 @@ int PolyVoxEntityItem::readEntitySubclassDataFromBuffer(const unsigned char* dat
|
||||||
int bytesRead = 0;
|
int bytesRead = 0;
|
||||||
const unsigned char* dataAt = data;
|
const unsigned char* dataAt = data;
|
||||||
|
|
||||||
|
qDebug() << "PolyVoxEntityItem::readEntitySubclassDataFromBuffer";
|
||||||
|
|
||||||
READ_ENTITY_PROPERTY(PROP_COLOR, rgbColor, setColor);
|
READ_ENTITY_PROPERTY(PROP_COLOR, rgbColor, setColor);
|
||||||
READ_ENTITY_PROPERTY(PROP_VOXEL_VOLUME_SIZE, glm::vec3, setVoxelVolumeSize);
|
READ_ENTITY_PROPERTY(PROP_VOXEL_VOLUME_SIZE, glm::vec3, setVoxelVolumeSize);
|
||||||
READ_ENTITY_PROPERTY(PROP_VOXEL_DATA, QByteArray, setVoxelData);
|
READ_ENTITY_PROPERTY(PROP_VOXEL_DATA, QByteArray, setVoxelData);
|
||||||
|
|
Loading…
Reference in a new issue