remove commented out code

This commit is contained in:
Seth Alves 2015-04-22 17:22:37 -07:00
parent 5a7f8a2f5a
commit d51f5a0ae8

View file

@ -64,18 +64,6 @@ void EntityScriptingInterface::setEntityTree(EntityTree* modelTree) {
void setSimId(EntityItemProperties& propertiesWithSimID, EntityItem* entity) {
auto nodeList = DependencyManager::get<NodeList>();
const QUuid myNodeID = nodeList->getSessionUUID();
// // if this entity has non-zero physics/simulation related values, claim simulation ownership
// if (propertiesWithSimID.velocityChanged() ||
// propertiesWithSimID.rotationChanged() ||
// propertiesWithSimID.containsPositionChange()) {
// propertiesWithSimID.setSimulatorID(myNodeID);
// entity->setSimulatorID(myNodeID);
// } else if (entity->getSimulatorID() == myNodeID) {
// propertiesWithSimID.setSimulatorID(QUuid()); // give up simulation ownership
// entity->setSimulatorID(QUuid());
// }
propertiesWithSimID.setSimulatorID(myNodeID);
entity->setSimulatorID(myNodeID);
}