diff --git a/src/AtomsGaffer/AtomsAttributes.cpp b/src/AtomsGaffer/AtomsAttributes.cpp index e2878d3..f9911be 100644 --- a/src/AtomsGaffer/AtomsAttributes.cpp +++ b/src/AtomsGaffer/AtomsAttributes.cpp @@ -48,5 +48,5 @@ AtomsAttributes::AtomsAttributes( const std::string &name ) { Gaffer::CompoundDataPlug *attributes = attributesPlug(); - attributes->addOptionalMember( "user:atoms:tint", new Color3fData(), "tint", Gaffer::Plug::Default, false ); -} \ No newline at end of file + attributes->addChild( new Gaffer::NameValuePlug( "user:atoms:tint", new IECore::Color3fData(), false, "tint" ) ); +}