Skip to content

Commit

Permalink
fix(ViewNodeFactory): Do not reset override map if provided
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed May 7, 2021
1 parent 87c3c06 commit 672812a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/Rendering/SceneGraph/ViewNodeFactory/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import macro from 'vtk.js/Sources/macro';

function vtkViewNodeFactory(publicAPI, model) {
// Make sure our overrides is just for our instance not shared with everyone...
model.overrides = {};
if (!model.overrides) {
model.overrides = {};
}

// Set our className
model.classHierarchy.push('vtkViewNodeFactory');
Expand Down

0 comments on commit 672812a

Please # to comment.