diff --git a/CHANGELOG.md b/CHANGELOG.md index 42b0a23..f7a4669 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added ### Fixed +- [#351] Fix issue where ObjectRegistry contents are not properly inherited across filter node refreshes. ### Changed diff --git a/Editor/PreviewSystem/Rendering/NodeController.cs b/Editor/PreviewSystem/Rendering/NodeController.cs index 8f99db5..7d860f7 100644 --- a/Editor/PreviewSystem/Rendering/NodeController.cs +++ b/Editor/PreviewSystem/Rendering/NodeController.cs @@ -118,7 +118,8 @@ public async Task Refresh( RenderAspects changes ) { - var registry = ObjectRegistry.Merge(null, proxies.Select(p => p.Item3)); + var registry = ObjectRegistry.Merge(null, proxies.Select(p => p.Item3) + .Append(ObjectRegistry)); var context = new ComputeContext("NodeController (refresh) for " + _filter + " on " + _group.Renderers[0].gameObject.name);