File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1110.7.x.x (relative to 10.7.0.0a12)
22========
33
4+ Fixes
5+ -----
46
7+ - PointInstancer : Fixed signature for `setPrototypes()` function.
58
6910.7.0.0a12 (relative to 10.7.0.0a11)
710===========
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ class IECORESCENE_API PointInstancer : public IECoreScene::PointsPrimitive
8383 // / Sets the prototypes to be instanced. Interpretation is left to
8484 // / the consuming rendering system, but in practice these are locations
8585 // / in a SceneInterface or Gaffer scene.
86- void setPrototypes ( IECore::StringVectorDataPtr &prototypes );
86+ void setPrototypes ( const IECore::StringVectorDataPtr &prototypes );
8787 // / Returns an invalid view if the variable doesn't exist, or if it
8888 // / exists but has the wrong type or interpolation.
8989 PrimitiveVariable::IndexedView<std::string> getPrototypes () const ;
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ void PointInstancer::hash( MurmurHash &h ) const
8383 PointsPrimitive::hash ( h );
8484}
8585
86- void PointInstancer::setPrototypes ( IECore::StringVectorDataPtr &prototypes )
86+ void PointInstancer::setPrototypes ( const IECore::StringVectorDataPtr &prototypes )
8787{
8888 if ( prototypes )
8989 {
You can’t perform that action at this time.
0 commit comments