Optimised Clamp::affects().
Optimised Clamp::affects().

Calls to isAncestorOf() are slightly more expensive than the simpler "inputParent ==" test because they must traverse all the way from the plug to the application root before discovering that the candidate is not an ancestor, and this must be repeated for each test.

goddardl/gaffer,ivanimanishi/gaffer,cedriclaunay/gaffer,andrewkaufman/gaffer,goddardl/gaffer,johnhaddon/gaffer,goddardl/gaffer,boberfly/gaffer,johnhaddon/gaffer,lucienfostier/gaffer,appleseedhq/gaffer,ivanimanishi/gaffer,ivanimanishi/gaffer,goddardl/gaffer,appleseedhq/gaffer,davidsminor/gaffer,GafferHQ/gaffer,appleseedhq/gaffer,appleseedhq/gaffer,cedriclaunay/gaffer,lucienfostier/gaffer,johnhaddon/gaffer,ImageEngine/gaffer,ImageEngine/gaffer,davidsminor/gaffer,chippey/gaffer,boberfly/gaffer,ImageEngine/gaffer,chippey/gaffer,ImageEngine/gaffer,davidsminor/gaffer,hradec/gaffer,cedriclaunay/gaffer,davidsminor/gaffer,hradec/gaffer,andrewkaufman/gaffer,boberfly/gaffer,GafferHQ/gaffer,GafferHQ/gaffer,johnhaddon/gaffer,hradec/gaffer,boberfly/gaffer,andrewkaufman/gaffer,andrewkaufman/gaffer,ivanimanishi/gaffer,lucienfostier/gaffer,chippey/gaffer,andrewkaufman/gaffer,johnhaddon/gaffer,lucienfostier/gaffer,GafferHQ/gaffer,hradec/gaffer,hradec/gaffer,GafferHQ/gaffer,cedriclaunay/gaffer,chippey/gaffer