<s> import Gaffer <EOL> import GafferUI <EOL> import GafferScene <EOL> def __attributesSummary ( plug ) : <EOL> info = [ ] <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" if plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) else "<STR_LIT>" ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" if plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) else "<STR_LIT>" ) <EOL> return "<STR_LIT:U+002CU+0020>" . join ( info ) <EOL> def __motionBlurSummary ( plug ) : <EOL> info = [ ] <EOL> for motionType in "<STR_LIT>" , "<STR_LIT>" : <EOL> onOffEnabled = plug [ motionType + "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) <EOL> segmentsEnabled = plug [ motionType + "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) <EOL> if onOffEnabled or segmentsEnabled : <EOL> items = [ ] <EOL> if onOffEnabled : <EOL> items . append ( "<STR_LIT>" if plug [ motionType + "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) else "<STR_LIT>" ) <EOL> if segmentsEnabled : <EOL> items . append ( "<STR_LIT>" % plug [ motionType + "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) ) <EOL> info . append ( motionType . capitalize ( ) + "<STR_LIT>" + "<STR_LIT:/>" . join ( items ) ) <EOL> return "<STR_LIT:U+002CU+0020>" . join ( info ) <EOL> Gaffer . Metadata . registerNode ( <EOL> GafferScene . StandardAttributes , <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> plugs = { <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT>" , __attributesSummary , <EOL> "<STR_LIT>" , __motionBlurSummary , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> } <EOL> ) </s>
