@@ -566,8 +566,8 @@ def test_pick_nodes(mapdl, make_block, selection, verify_image_cache):
566
566
def debug_orders (pl , point ):
567
567
pl = pl .scene
568
568
pl .show (auto_close = False )
569
- pl . windows_size = (100 , 100 )
570
- width , height = pl . window_size
569
+ width , height = (100 , 100 )
570
+
571
571
if pl ._picking_right_clicking_observer is None :
572
572
pl .iren ._mouse_left_button_press (
573
573
int (width * point [0 ]), int (height * point [1 ])
@@ -638,8 +638,8 @@ def test_pick_kp(mapdl, make_block, selection):
638
638
def debug_orders (pl , point ):
639
639
pl = pl .scene
640
640
pl .show (auto_close = False )
641
- pl . windows_size = (100 , 100 )
642
- width , height = pl . window_size
641
+ width , height = (100 , 100 )
642
+
643
643
if pl ._picking_right_clicking_observer is None :
644
644
pl .iren ._mouse_left_button_press (
645
645
int (width * point [0 ]), int (height * point [1 ])
@@ -759,8 +759,7 @@ def test_pick_node_special_cases(mapdl, make_block):
759
759
def debug_orders_0 (pl , point ):
760
760
pl = pl .scene
761
761
pl .show (auto_close = False )
762
- pl .windows_size = (100 , 100 )
763
- width , height = pl .window_size
762
+ width , height = (100 , 100 )
764
763
pl .iren ._mouse_move (int (width * point [0 ]), int (height * point [1 ]))
765
764
766
765
mapdl .nsel ("S" , "node" , "" , 1 )
@@ -777,8 +776,8 @@ def debug_orders_0(pl, point):
777
776
def debug_orders_1 (pl , point ):
778
777
pl = pl .scene
779
778
pl .show (auto_close = False )
780
- pl . windows_size = (100 , 100 )
781
- width , height = pl . window_size
779
+ width , height = (100 , 100 )
780
+
782
781
# First click
783
782
pl .iren ._mouse_left_button_press (int (width * point [0 ]), int (height * point [1 ]))
784
783
pl .iren ._mouse_left_button_release (width , height )
@@ -810,8 +809,8 @@ def test_pick_node_select_unselect_with_mouse(mapdl, make_block):
810
809
def debug_orders_1 (pl , point ):
811
810
pl = pl .scene
812
811
pl .show (auto_close = False )
813
- pl . windows_size = (100 , 100 )
814
- width , height = pl . window_size
812
+ width , height = (100 , 100 )
813
+
815
814
# First click- selecting
816
815
pl .iren ._mouse_left_button_press (int (width * point [0 ]), int (height * point [1 ]))
817
816
pl .iren ._mouse_left_button_release (width , height )
@@ -848,8 +847,7 @@ def test_pick_areas(mapdl, make_block, selection):
848
847
def debug_orders (pl , point ):
849
848
pl = pl .scene
850
849
pl .show (auto_close = False )
851
- pl .windows_size = (100 , 100 )
852
- width , height = pl .window_size
850
+ width , height = (100 , 100 )
853
851
if pl ._picking_right_clicking_observer is None :
854
852
pl .iren ._mouse_left_button_press (
855
853
int (width * point [0 ]), int (height * point [1 ])
0 commit comments