Skip to content

Commit 3b1e785

Browse files
authored
Merge pull request #1581 from murraystevenson/glBoundFixP
IECoreGL::Primitive : Fix bound drawing
2 parents f5daaee + 390fcca commit 3b1e785

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎Changes‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
10.7.x.x (relative to 10.7.4.1)
22
========
33

4+
Fixes
5+
-----
46

7+
- IECoreGL::Primitive : Fixed bounding boxes drawn via "gl:primitive:bound".
58

69
10.7.4.1 (relative to 10.7.4.0)
710
========

‎src/IECoreGL/Primitive.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ const Shader::Setup *Primitive::boundSetup() const
456456
p.push_back( V3f( b.min.x, b.max.y, b.max.z ) );
457457

458458
m_boundSetup = new Shader::Setup( Shader::constant() );
459-
m_boundSetup->addVertexAttribute( "P", pData );
459+
m_boundSetup->addVertexAttribute( "vertexP", pData );
460460

461461
return m_boundSetup.get();
462462
}

0 commit comments

Comments
 (0)