Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all
Unified · Split
| @@ -1205,7 +1205,10 @@ void Application::timer() { · 1204 unmodified lines | ||
| 1205 | 1205 | // ask the node list to check in with the domain server |
| 1206 | 1206 | NodeList::getInstance()->sendDomainServerCheckIn(); |
| 1207 | 1207 | |
| 1208 | − | |
| 1208 | + // as soon as we have a valid sessionUUID, store it in the avatar for reference | |
| 1209 | + if (_myAvatar->getSessionUUID().isNull()) { | |
| 1210 | + _myAvatar->setSessionUUID(NodeList::getInstance()->getSessionUUID()); | |
| 1211 | + } | |
| 1209 | 1212 | } |
| 1210 | 1213 | |
| 1211 | 1214 | void Application::idle() { |