Skip to content

Commit

Permalink
AtomsAttributes : adjust to new NameValuePlug in Gaffer
Browse files Browse the repository at this point in the history
Dependency:
Gaffer 0.54.0.0
  • Loading branch information
Matti Gruener committed Jul 24, 2019
1 parent 5a8f9df commit ecc8890
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 ecc8890

Please sign in to comment.