Skip to main content

Search

Anyone know the logic for what aspects of an element get updated in a scene?

  • merkaba48

    Additional, my new microchip had some nodes from an old microchip moved into it. Once I was able to get the microchip to update into my scenes, these moved nodes were missing. Turns out, they were still in the old microchip! But, they were also moved / in position they would be if they were on the new microchip.

    Clearly there's some kind of diffing logic going on as Dreams needs to keep track of changes to objects so it doesn't replace the whole element in a scene (in case it has been modified). In this instance of creating a new microchip, it doesn't seem to have worked well though.

    Eventually I worked through all these problems. For future work, I would really like to know more about how to avoid such situations in the future and so having some more understanding of how the update system works would be super useful.

  • TAPgiles

    The basic idea is, it'll look for the imported objects, and update those. If they no longer exist in the actual element, they'll be deleted. If they exist but as different literal objects (eg. you cloned a node and deleted the old one for some reason) then the one that was already imported will be removed.

    It's one of those things that would be very hard to prove all the edge cases for, which is why I haven't tracked this down.

    But in general, the update system isn't perfect. It may break things. If so, try just re-importing. Try not to change too much about it in the scene itself unless you have to, so that the update will go more smoothly. But be prepared to rejig some stuff if it breaks.

Please sign in to leave a comment.