mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
remove commented out code
This commit is contained in:
parent
5a7f8a2f5a
commit
d51f5a0ae8
1 changed files with 0 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue