debugging

This commit is contained in:
Seth Alves 2015-05-26 18:21:45 -07:00
parent 517d4372fa
commit cd2b6473ba
2 changed files with 7 additions and 1 deletions

View file

@ -409,7 +409,11 @@ bool EntityScriptingInterface::setVoxelSphere(QUuid entityID, const glm::vec3& c
_entityTree->unlock();
properties.setVoxelDataDirty();
queueEntityMessage(PacketTypeEntityEdit, entityID, properties);
entity->setLastBroadcast(usecTimestampNow());
// modifiedProperties.setType(entity->getType());
// bidForSimulationOwnership(modifiedProperties);
queueEntityMessage(PacketTypeEntityEdit, entityID, properties);
return true;
}

View file

@ -82,6 +82,8 @@ int PolyVoxEntityItem::readEntitySubclassDataFromBuffer(const unsigned char* dat
int bytesRead = 0;
const unsigned char* dataAt = data;
qDebug() << "PolyVoxEntityItem::readEntitySubclassDataFromBuffer";
READ_ENTITY_PROPERTY(PROP_COLOR, rgbColor, setColor);
READ_ENTITY_PROPERTY(PROP_VOXEL_VOLUME_SIZE, glm::vec3, setVoxelVolumeSize);
READ_ENTITY_PROPERTY(PROP_VOXEL_DATA, QByteArray, setVoxelData);