Be careful about marking facets modified
authorJeremy Stanley <fungi@yuggoth.org>
Sat, 18 Nov 2017 15:47:39 +0000 (15:47 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sat, 18 Nov 2017 15:47:39 +0000 (15:47 +0000)
commit124dd5e224bc2d2cc8af5db6d9e3fc55ed1a8426
treeeda5923296a37f5d4d96f0cb0bb1475863004085
parent46a46f095b503ba27f07521e9fef62a97ff1b078
Be careful about marking facets modified

Make sure to only set the modified flag on a facet when setting a
value if it has no corresponding node in its origin or the value
differs. This prevents the engine from unnecessarily rewriting the
origin's backing file on startup or reload.
mudpy/misc.py