MantisBT - Open CASCADE
View Issue Details
0029276Open CASCADE[OCCT] OCCT:DRAWpublic2017-10-31 11:472021-09-13 15:07
msv 
emv 
normalminor 
assignedopen 
[OCCT] 7.2.0 
[OCCT] 7.7.0 
0029276: Draw: Reset Boolean options to default state after running any test
Now some test scripts set global Boolean options that are stored as static variables inside Draw code. They do not restore options to initial state. So, it is inconvenient for the user to continue Draw session after running some tests, because there is no certain state of options.
I propose to add a new behavior in 'boptions' command to reset all options to their default state. Then use this command in 'begin' scripts of all test categories where Boolean operations are used and options can be altered.
N/A
No tags attached.
Issue History
2017-10-31 11:47msvNew Issue
2017-10-31 11:47msvAssigned To => msv
2018-07-19 14:25msvAssigned Tomsv => emv
2018-07-19 14:25msvStatusnew => assigned
2018-07-19 14:34msvNote Added: 0077819
2018-07-19 14:34msvRelationship addedrelated to 0028747
2018-07-19 14:35msvNote Added: 0077820
2019-07-19 17:28apnTarget Version7.4.0 => 7.5.0
2020-08-28 13:25emvTarget Version7.5.0 => 7.6.0*
2021-09-13 15:07emvTarget Version7.6.0* => 7.7.0

Notes
(0077819)
msv   
2018-07-19 14:34   
The command boptions has been improved to enable reset of all options using "-default" switch in the fix for #28747.
(0077820)
msv   
2018-07-19 14:35   
Now it is needed to insert this command in begin files of categories where BO are used.