0029604: Uniform mechanism providing History of shape's modifications for OCCT algori...
[occt.git] / tests / boolean / removefeatures / B7
index d4ffb57..005d20b 100644 (file)
@@ -10,9 +10,12 @@ checknbshapes result -vertex 28 -edge 43 -wire 22 -face 18 -shell 1 -solid 1 -t
 CheckIsFeatureRemoved s_7 {e f}
 CheckIsFeatureRemoved s_10 {e f}
 
+# get history of the operation
+savehistory rf_hist
+
 # check modification of the side faces
-rfmodified m12 s_12
-rfmodified m19 s_19
+modified m12 rf_hist s_12
+modified m19 rf_hist s_19
 
 if {![regexp "same shapes" [compare m12 m19]]} {
   puts "Error: incorrect feature removal"