Commit 42ce6031 authored by Sebastien Jourdain's avatar Sebastien Jourdain Committed by Kitware Robot
Browse files

Merge topic 'vtk-web-invalidate-cache-from-stream'


 Allow BinaryStream to invalidate image cache
Acked-by: Kitware Robot's avatarKitware Robot <>
Merge-request: !1891
parents bcb647d9 eaeac822
Pipeline #24158 failed with stage
in 0 seconds
......@@ -364,6 +364,11 @@ class ImagePushBinaryWebSocketServerProtocol(WebSocketServerProtocol):
if viewId not in self.viewToCapture:
self.viewToCapture[viewId] = { 'quality': 100, 'enabled': True, 'view': self.helper.getView(viewId), 'view_id': viewId, 'mtime': 0 }
if 'invalidate_cache' in request:
if self.viewToCapture[viewId]['view']:[viewId]['view'].SMProxy)
# Update fields
objToUpdate = self.viewToCapture[viewId]
for key in request:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment