@@ -654,15 +654,15 @@ def toggle_individual_loops(self, arguments):
654654 arguments [0 ]._individual_loops = self .bool_val
655655 arguments [0 ]._container .set_draw_tris (
656656 arguments [0 ]._individual_loops )
657-
657+
658658 if self .bool_val == False :
659659 sel_pos = get_selected_points (arguments [0 ], any_selected = True )
660660 arguments [0 ]._container .sel_status [arguments [0 ]._container .vert_link_ls [sel_pos ]] = True
661661
662662 if arguments [0 ]._container .act_status .any ():
663663 act_verts = arguments [0 ]._container .loop_verts [arguments [0 ]._container .act_status ]
664- arguments [0 ]._container .act_status [arguments [0 ]. _container . vert_link_ls [ act_verts ]] = True
665-
664+ arguments [0 ]._container .act_status [arguments [0 ]
665+ . _container . vert_link_ls [ act_verts ]] = True
666666
667667 arguments [0 ].redraw = True
668668 return
@@ -805,13 +805,11 @@ def finish_point_mode(self, arguments):
805805
806806def end_modal (self , arguments ):
807807 if self .custom_id [0 ] == 0 :
808- finish_modal (arguments [0 ], False )
809- status = {'FINISHED' }
808+ arguments [0 ]._confirm_modal = True
810809 if self .custom_id [0 ] == 1 :
811- finish_modal (arguments [0 ], True )
812- status = {'CANCELLED' }
810+ arguments [0 ]._cancel_modal = True
813811
814- return status
812+ return
815813
816814
817815def reset_vectors (self , arguments ):
0 commit comments