Skip to content

Commit

Permalink
fix: ObjectRegistry is not inherited when refreshing nodes
Browse files Browse the repository at this point in the history
Closes: #349
  • Loading branch information
bdunderscore committed Aug 28, 2024
1 parent b1dbc39 commit e11ef1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion Editor/PreviewSystem/Rendering/NodeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ public async Task<NodeController> 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);

Expand Down

0 comments on commit e11ef1b

Please sign in to comment.