diff --git a/src/compas_viewer/scene/gridobject.py b/src/compas_viewer/scene/gridobject.py index f9f23ad62..7133e3562 100644 --- a/src/compas_viewer/scene/gridobject.py +++ b/src/compas_viewer/scene/gridobject.py @@ -181,6 +181,7 @@ def make_buffer_from_data(self, data: ShaderDataType) -> dict[str, Any]: } def draw(self, shader: Shader): + shader.uniform1f("object_opacity", 1) shader.enable_attribute("position") shader.enable_attribute("color") shader.bind_attribute("position", self._lines_buffer["positions"])