diff --git a/src/io/GlanceVtkJsReader.js b/src/io/GlanceVtkJsReader.js index a3a9ea5e..5d0d1636 100644 --- a/src/io/GlanceVtkJsReader.js +++ b/src/io/GlanceVtkJsReader.js @@ -297,7 +297,7 @@ function vtkGlanceVtkJsReader(publicAPI, model) { }); // Update LookupTables with PV ranges - Object.keys(model.lookupTables).forEach((fieldName) => { + Object.keys(model.lookupTables || {}).forEach((fieldName) => { const lutState = model.lookupTables[fieldName]; const lutProxy = proxyManager.getLookupTable(fieldName); const lut = lutProxy.getLookupTable();