You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sanity_check_attributes bodies are mostly empty across visuals #23
Short tracking issue — most sanity_check_attributes / sanity_check_attributes_buffer static methods across the visuals/geometry/material/texture classes are either pass or limited to isinstance(x, Buffer) checks. As a result, malformed input (wrong dtype, wrong shape, mismatched counts) crashes deep in numpy at render time instead of failing clearly at construction or at the buffer boundary.
Audit (as of mesh_ng):
gsp/visuals/mesh.py — sanity_check_attributes is pass; _buffer form only delegates.
gsp/visuals/markers.py — both pass.
gsp/visuals/paths.py — both pass.
gsp/geometry/mesh_geometry.py — both pass.
gsp/visuals/pixels.py, points.py, segments.py, texts.py — _buffer only has shallow isinstance(_, Buffer) checks; no shape/dtype/count validation.
gsp/visuals/image.py, gsp/core/texture.py — partial type checks only.
Activity
Enforce rgba8 colors via MeshBasicMaterial.sanity_check_attributes_bu…