1
0
Fork 0

hla: Avoid explicit attribute update request. Is already done by simgear.

This commit is contained in:
Mathias Froehlich 2011-10-04 20:57:15 +02:00
parent c4c5cc850b
commit a486eebeef

View file

@ -710,7 +710,6 @@ public:
aiMgr->attach(_aiMultiplayer.get());
_propertyReferenceSet->setRootNode(_aiMultiplayer->getPropertyRoot());
objectInstance.requestAttributeUpdate();
}
}
@ -739,7 +738,6 @@ public:
MPInAttributeCallback* attributeCallback = new MPInAttributeCallback;
objectInstance.setAttributeCallback(attributeCallback);
attachDataElements(objectInstance, *attributeCallback, false);
objectInstance.requestAttributeUpdate();
}
virtual void removeInstance(const sg::HLAObjectClass& objectClass, sg::HLAObjectInstance& objectInstance, const sg::RTIData& tag)