Serialization of Zoom/Translation

NodeCanvas Forums Support Serialization of Zoom/Translation

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15690
    Driiade
    Participant

    Hello,

    We face problem for working in team with NodeCanvas, It is caused by the serialization of Zoom/Translation directly into the Graph.

    I think this feature is only needed for Editor purpose. And I think you could delete it from graph and place it in the Editor preference ? So git will not see anychange if we just move/zoom inside a Graph ?

    #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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.