Files
PozzettiAndrea-ComfyUI-Geom…/javascript
PozzettiAndrea a9e14f5dc2 VTK viewer: restore Surface after a point cloud forces Points mode
Loading a point cloud correctly locks the shared actor to Points
representation, but the surface-mesh branch of the LOAD_MESH handler never
reset it -- so navigating from a point cloud back to a surface mesh (e.g.
scrolling a batch) left the mesh stuck rendering as points until you manually
picked Surface in settings.

Fix: in the non-point-cloud branch, restore property.setRepresentation to the
user's chosen mode (currentSettings.representation, default Surface). Point
clouds still switch to Points; switching back now returns to the chosen mode.
2026-08-14 13:35:17 +02:00
..