Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
10.7.x.x (relative to 10.7.0.0a12)
========

Fixes
-----

- PointInstancer : Fixed signature for `setPrototypes()` function.

10.7.0.0a12 (relative to 10.7.0.0a11)
===========
Expand Down
2 changes: 1 addition & 1 deletion include/IECoreScene/PointInstancer.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class IECORESCENE_API PointInstancer : public IECoreScene::PointsPrimitive
/// Sets the prototypes to be instanced. Interpretation is left to
/// the consuming rendering system, but in practice these are locations
/// in a SceneInterface or Gaffer scene.
void setPrototypes( IECore::StringVectorDataPtr &prototypes );
void setPrototypes( const IECore::StringVectorDataPtr &prototypes );
/// Returns an invalid view if the variable doesn't exist, or if it
/// exists but has the wrong type or interpolation.
PrimitiveVariable::IndexedView<std::string> getPrototypes() const;
Expand Down
2 changes: 1 addition & 1 deletion src/IECoreScene/PointInstancer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void PointInstancer::hash( MurmurHash &h ) const
PointsPrimitive::hash( h );
}

void PointInstancer::setPrototypes( IECore::StringVectorDataPtr &prototypes )
void PointInstancer::setPrototypes( const IECore::StringVectorDataPtr &prototypes )
{
if( prototypes )
{
Expand Down
Loading