From ecc889054e1b323e9d8f1e3781b50196fd8b57c1 Mon Sep 17 00:00:00 2001 From: Matti Gruener Date: Wed, 24 Jul 2019 15:42:42 -0700 Subject: [PATCH] AtomsAttributes : adjust to new NameValuePlug in Gaffer Dependency: Gaffer 0.54.0.0 --- src/AtomsGaffer/AtomsAttributes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" ) ); +}