You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#90 introduced ComputationContext::set_fallback_generator, but directly returning the nodes input parameter has a major issue:
It is impossible to definitely know if a node was run, making CacheValidator::was_accessed (from #99) unreliable.
The text was updated successfully, but these errors were encountered:
This PR adds a efficient caching system for the `Viewport` widget.
Only the minimal set of nodes is now rerun on changes to the passed in
`ProjectView`, considerably speeding up the viewport.
Caching is applied to both the `ViewportPlugins`, and the `SceneGraph`.
To test it, the `cadara` binary now shows a slowly growing cube.
While there are still some issues left to solve (#100 and #104), this
implementation should be enough for the time being.
#90 introduced
ComputationContext::set_fallback_generator
, but directly returning the nodes input parameter has a major issue:It is impossible to definitely know if a node was run, making
CacheValidator::was_accessed
(from #99) unreliable.The text was updated successfully, but these errors were encountered: