Reply To: Serialization of Zoom/Translation

NodeCanvas Forums Support Serialization of Zoom/Translation Reply To: Serialization of Zoom/Translation

#15705
Gavalakis
Keymaster

Hello,

The zoom/pan (especially the pan) is serialized for two reasons:

1) So that Undo also undo pan which is clearer (at least to me) what actually was undo-ed,

2) But more importantly, so that when you open a graph, it opens up at the same position (pan) that it was, when it was previously closed.

Please note, that Zoom and Pan are serialized in the Unity asset itself (not in the graph json), so it is easy to see in the diff and decide to discard the change if its only that. With that said, this has come up more than a few times already, thus I will try to see what other solution I might come up with for that.

Thanks!

Join us on Discord: https://discord.gg/97q2Rjh