Skip to content

Commit a183c04

Browse files
committed
refactor(remoteview): remove pushing to model in the object creation function
this is already done in the newInstance function through the call of publicAPI.set(..)
1 parent 0925229 commit a183c04

File tree

1 file changed

+3
-3
lines changed
  • Sources/Rendering/Misc/RemoteView

1 file changed

+3
-3
lines changed

Sources/Rendering/Misc/RemoteView/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ function vtkRemoteView(publicAPI, model) {
183183
};
184184

185185
// Initialize viewStream if available
186-
if (model.viewStream) {
187-
publicAPI.setViewStream(model.viewStream);
188-
}
186+
// if (model.viewStream) {
187+
// publicAPI.setViewStream(model.viewStream);
188+
// }
189189
}
190190

191191
// ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)