highfidelity/hifi — pull request #2803 by ZappoMan (2014-05-06 22:57:23+00:00)
Title: Model Server Bug Fixes/Bandwidth improvements

* The most important fix here is that we now aren't flooding clients with lots of packets - this was fixed by removing the update() timer, which was constantly marking all models as changed.

* To fix this I needed to add the concept of a new type of OctreeRecursion, one that can do both pre-recursion operations and post-recursion operations, so that we can unwind the recursion after an update and appropriately mark all the changed elements in the path as having changed.

* Also cleanup a bunch of old references to "node" to be "element" to distinguish between "elements" in the tree and "nodes" in the network.

* Also fixed the packet sequence number rollover bug

Fixes #2796, fixes #2790, fixes #2789