Skip to content

Sync cache entry with root value in Json.cpp - #45

Merged
lbastigk merged 2 commits into
mainfrom
fix/cache/json-subdoc-set
Sep 6, 2026
Merged

lbastigk merged 2 commits into
mainfrom
fix/cache/json-subdoc-set

Conversation

@lbastigk

@lbastigk lbastigk commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Fixes cache sync of root subdoc value.

Problem:

Assume we previously set a subdoc containing a simple value.
This simple value must be synced with the documents cache, otherwise it remains in a deleted state, even though the stored value is potentially a simple value. Caused false cam settings in TaskFiles/Simulations/dual_solar.nebs, as the sunPos cache values stored were not synchronized.
Since the cache was in a deleted state, the value defaulted to 0.

@lbastigk
lbastigk merged commit ec052af into main Sep 6, 2026
2 checks passed
@lbastigk
lbastigk deleted the fix/cache/json-subdoc-set branch September 6, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant