#NEWLINE# def _pos_changed( self , old , new ) : #NEWLINE# #INDENT# self . set ( x = new [ 0 ] , trait_change_notify = False ) #NEWLINE# self . set ( y = new [ 1 ] , trait_change_notify = False ) #NEWLINE# self . set ( z = new [ 2 ] , trait_change_notify = False ) #NEWLINE# self . points = translate ( old , new , self . points ) #NEWLINE# self . polydata . modified ( ) #NEWLINE# self . normals . update ( ) #NEWLINE# self . tube . update ( ) #NEWLINE# self . render ( )