Open bnolan opened 9 years ago
I think the sequential generator for node ids should be on the document object.
The RDP project isn't happening now, so this is up for discussion. Sequential IDs make sense because they would be smaller on the wire, the downside is that you can't mash two scenes together as easily (although we don't do that at the moment anyway, since everything is parented to a scene object).
More thought required.
Some problems that came up in #46:
To work with the RDP, we can't use UUIDs, we have to use integer IDs for nodes. We can do this by maintaing a map between UUID and nodeId, but thinking about it, it makes sense to use integers as the node id as a general change to scenevr.
It can be done on the server without changing the client, but since UUIDs will no longer be UUIDs, but instead be a
nodeId
, I think a larger change should be made to get rid of UUIDs and usenodeId
everywhere.