From 390fccaaddef3c77e90c553db28912a3dd602d65 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Wed, 25 Nov 2026 15:11:59 -0700 Subject: [PATCH] IECoreGL::Primitive : Fix bound drawing --- Changes | 3 +++ src/IECoreGL/Primitive.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 524883a7af..fb63963989 100644 --- a/Changes +++ b/Changes @@ -1,7 +1,10 @@ 10.7.x.x (relative to 10.7.4.1) ======== +Fixes +----- +- IECoreGL::Primitive : Fixed bounding boxes drawn via "gl:primitive:bound". 10.7.4.1 (relative to 10.7.4.0) ======== diff --git a/src/IECoreGL/Primitive.cpp b/src/IECoreGL/Primitive.cpp index f2c9d33097..22d634fd6f 100644 --- a/src/IECoreGL/Primitive.cpp +++ b/src/IECoreGL/Primitive.cpp @@ -456,7 +456,7 @@ const Shader::Setup *Primitive::boundSetup() const p.push_back( V3f( b.min.x, b.max.y, b.max.z ) ); m_boundSetup = new Shader::Setup( Shader::constant() ); - m_boundSetup->addVertexAttribute( "P", pData ); + m_boundSetup->addVertexAttribute( "vertexP", pData ); return m_boundSetup.get(); }