#NEWLINE# def update_tex_uv( tex_uv ) : #NEWLINE# #INDENT# tex_uv [ 'fret' ] = mutate ( c [ 'fret' ] , { #NEWLINE# #INDENT# 5 : ( FRET_LENGTH * 0.5 ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# tex_uv . update ( [ ( ( 'string_%d' % c ) , mutate ( tex_uv [ 'string' ] , { #NEWLINE# #INDENT# 4 : ( ( STRING_LENGTH * 0.5 ) + tex_uv [ 'fret' ] [ 4 ] ) , #NEWLINE# 5 : ( ( c >> 1 ) + 1 ) , #NEWLINE# #UNINDENT# } ) ) for c in xrange ( STRING_COUNT ) ] )