@@ -566,8 +566,8 @@ def test_pick_nodes(mapdl, make_block, selection, verify_image_cache):
566566 def debug_orders (pl , point ):
567567 pl = pl .scene
568568 pl .show (auto_close = False )
569- pl . windows_size = (100 , 100 )
570- width , height = pl . window_size
569+ width , height = (100 , 100 )
570+
571571 if pl ._picking_right_clicking_observer is None :
572572 pl .iren ._mouse_left_button_press (
573573 int (width * point [0 ]), int (height * point [1 ])
@@ -638,8 +638,8 @@ def test_pick_kp(mapdl, make_block, selection):
638638 def debug_orders (pl , point ):
639639 pl = pl .scene
640640 pl .show (auto_close = False )
641- pl . windows_size = (100 , 100 )
642- width , height = pl . window_size
641+ width , height = (100 , 100 )
642+
643643 if pl ._picking_right_clicking_observer is None :
644644 pl .iren ._mouse_left_button_press (
645645 int (width * point [0 ]), int (height * point [1 ])
@@ -759,8 +759,7 @@ def test_pick_node_special_cases(mapdl, make_block):
759759 def debug_orders_0 (pl , point ):
760760 pl = pl .scene
761761 pl .show (auto_close = False )
762- pl .windows_size = (100 , 100 )
763- width , height = pl .window_size
762+ width , height = (100 , 100 )
764763 pl .iren ._mouse_move (int (width * point [0 ]), int (height * point [1 ]))
765764
766765 mapdl .nsel ("S" , "node" , "" , 1 )
@@ -777,8 +776,8 @@ def debug_orders_0(pl, point):
777776 def debug_orders_1 (pl , point ):
778777 pl = pl .scene
779778 pl .show (auto_close = False )
780- pl . windows_size = (100 , 100 )
781- width , height = pl . window_size
779+ width , height = (100 , 100 )
780+
782781 # First click
783782 pl .iren ._mouse_left_button_press (int (width * point [0 ]), int (height * point [1 ]))
784783 pl .iren ._mouse_left_button_release (width , height )
@@ -810,8 +809,8 @@ def test_pick_node_select_unselect_with_mouse(mapdl, make_block):
810809 def debug_orders_1 (pl , point ):
811810 pl = pl .scene
812811 pl .show (auto_close = False )
813- pl . windows_size = (100 , 100 )
814- width , height = pl . window_size
812+ width , height = (100 , 100 )
813+
815814 # First click- selecting
816815 pl .iren ._mouse_left_button_press (int (width * point [0 ]), int (height * point [1 ]))
817816 pl .iren ._mouse_left_button_release (width , height )
@@ -848,8 +847,7 @@ def test_pick_areas(mapdl, make_block, selection):
848847 def debug_orders (pl , point ):
849848 pl = pl .scene
850849 pl .show (auto_close = False )
851- pl .windows_size = (100 , 100 )
852- width , height = pl .window_size
850+ width , height = (100 , 100 )
853851 if pl ._picking_right_clicking_observer is None :
854852 pl .iren ._mouse_left_button_press (
855853 int (width * point [0 ]), int (height * point [1 ])
0 commit comments