5 ####################################################################################
6 # Problem in local selection mode with selected objects staying in the viewer
7 # Outdated entity owners remain selected after recompute of presentation in
9 # The following cases are tested:
10 # o Recompute should not clear per-object selection (neutral selection context).
11 # o Recompute should clear per-owner selection (local selection context).
12 ####################################################################################
14 set check_recomputed_x 227
15 set check_recomputed_y 269
16 set check_untouched_x 239
17 set check_untouched_y 309
25 vdisplay pln1 p1 p2 p3
27 vchangeplane pln1 x=100 y=100 z=200 dx=0.707 dy=0.707 dz=0.707
30 checkcolor $check_recomputed_x $check_recomputed_y 0.8 0.8 0.8
32 puts "Error : Neutral selection of updated object is erased."
35 checkcolor $check_untouched_x $check_untouched_y 0.8 0.8 0.8
37 puts "Error : Neutral selection of unmodified object is erased."
46 vdisplay -local pln2 p4 p5 p6
48 vchangeplane pln2 x=100 y=100 z=200 dx=0.707 dy=0.707 dz=0.707
51 checkcolor $check_recomputed_x $check_recomputed_y 0 1 0
53 puts "Error : Local (renewed) selection of updated object is not updated."
56 checkcolor $check_untouched_x $check_untouched_y 0.8 0.8 0.8
58 puts "Error : Local selection of unmodified object is erased."
61 vdump ${imagedir}/${casename}_View1.png
62 vdump ${imagedir}/${casename}_View2.png