Skip to content

Commit

Permalink
refactor(remoteview): remove pushing to model in the object creation …
Browse files Browse the repository at this point in the history
…function

this is already done in the newInstance function through the call of publicAPI.set(..)
  • Loading branch information
joannacirillo committed May 10, 2022
1 parent 0925229 commit a183c04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Rendering/Misc/RemoteView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ function vtkRemoteView(publicAPI, model) {
};

// Initialize viewStream if available
if (model.viewStream) {
publicAPI.setViewStream(model.viewStream);
}
// if (model.viewStream) {
// publicAPI.setViewStream(model.viewStream);
// }
}

// ----------------------------------------------------------------------------
Expand Down

0 comments on commit a183c04

Please sign in to comment.