Skip to content

Commit

Permalink
Merge pull request #37 from mattigruener/nameValuePlugUpdate
Browse files Browse the repository at this point in the history
AtomsAttributes : adjust to new NameValuePlug in Gaffer
  • Loading branch information
andrewkaufman authored Aug 9, 2019
2 parents fdc70ed + ecc8890 commit 3bdfada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AtomsGaffer/AtomsAttributes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
attributes->addChild( new Gaffer::NameValuePlug( "user:atoms:tint", new IECore::Color3fData(), false, "tint" ) );
}

0 comments on commit 3bdfada

Please sign in to comment.