File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,9 +86,9 @@ class IECORESCENE_API Primitive : public VisibleRenderable
8686 // / would not be sufficient for manipulating the PrimitiveVariable. To access indexed
8787 // / variables, either call expandedVariableData and take ownership of the copied data,
8888 // / or get them directly from the PrimitiveVariableMap to manipulate them in-place.
89- template <typename T>
89+ template <typename T = IECore::Data >
9090 T *variableData ( const std::string &name, PrimitiveVariable::Interpolation requiredInterpolation=PrimitiveVariable::Invalid );
91- template <typename T>
91+ template <typename T = IECore::Data >
9292 const T *variableData ( const std::string &name, PrimitiveVariable::Interpolation requiredInterpolation=PrimitiveVariable::Invalid ) const ;
9393 // / Use expandedVariableData() to find a named variable, expand indices if they exist,
9494 // / and cast to the requested data type. If the variable is not indexed, a direct copy
You can’t perform that action at this time.
0 commit comments