Issue #1404 Random crash with Shaper. REDISPLAY is not flushed in deleteFeature. It improves the application performance. Problem case is "Delete" in Sketch: create a rectangle, a lenght, select a line, after a lenght(or with rectangle so, that the line is the first), call Delete action. Result: warning message(in Debug mode) about empty AIS(it's caused a crash).
Additionaly performance of fillet, mirror, rotation are improved by this modification.
1. Correction for perfomance problem by Apply button state update: do not flush updated signal for each widget filling for the feature when operation is started. Do it once after the widgets are filled by feature on start operation.
1. Correction for perfomance problem by Apply button state update: do not listen EVENT_OBJECT_ERROR_CHANGED, perform update after flushing Updated signal of modified value
2. Layout correction for Extrusion's multi-selector height(regression)
3. Issue #1343 correction to do not show preview planes if there is a visualized sketch
Issue #1383 Preview button: correction for the case: switch off auto_preview in extrusion, start extrusion, select sketch, enter height=0, click Enter to validate it, Apply is still green.
Issue #1299, #1393. The presentation should not be changed automatically by distance value update from the first edges points to the center. The flag is introduced in OCCT presentation. Case: in the #1393 after input of value 55 degree, the AIS presentation is incorrect place.
Issue #1343. Improvement of Extrusion and Revolution operations: correction for case: create Sketch, create Extrusion on the sketch, delete Sketch, Ok, crash.
Issue #1393 Angle constraint : incorrect angle displayed. solution: do not select any object in the viewer when passed through point widget is active. This commit is a validator creator for such widgets(a candidate to replace WidgetValidated). It is used now for Distance of Circle widget and Flyout point of dimensional constraints. The next integration is for the bug purpose(arc's passed point)
Issue #1393 Angle constraint : incorrect angle displayed. solution: do not select any object in the viewer when passed through point widget is active. This commit is a validator creator for such widgets(a candidate to replace WidgetValidated). It is used now for Distance of Circle widget and Flyout point of dimensional constraints. The next integration is for the bug purpose(arc's passed point)
Issue 1299 angle constraint: final correction to calculate reverse state in SketcherPrs by product of scalar. Providing corresponded method in AIS_AngleDimension. It is ready to be integrated as a patch for OCCT.
Issue #1343. Improvement of Extrusion and Revolution operations: correction for case: plane selection filter is ignored in Sketch started under Extrusion
Issue #1343. Improvement of Extrusion and Revolution operations: correction for case: create Extrusion with a construction Plane selected as a bounding plane(From/To); edit extrusion. Problem: is is not possible to deselect the plane by click in viewer.
Issue #1343. Improvement of Extrusion and Revolution operations: transaction correction: sketch creation is sketch transaction(was: sketch in extrusion, edit sketch transaction), disable/enable selection control in widget sketch creator.
Issue #1343. Improvement of Extrusion and Revolution operations: setSketchObjectToList is perfomed on the GUI level. Reason: if execute is started before, there is a crash if sketch contains only one not-closed contour.
Issue #1343. Improvement of Extrusion and Revolution operations: sketch creator setSelection in two ways(Sketch or Selection list), so the validators should be checked in the same manner, in two ways(call validator for Sektch after(if invalid) validator for Selection list).
Issue #1343. Improvement of Extrusion and Revolution operations: sketch creator setSelection in two ways(Sketch or Selection list), so the validators should be checked in the same manner, in two ways(call validator for Sektch after(if invalid) validator for Selection list).
Issue #1343. Improvement of Extrusion and Revolution operations: Bug correction: Open saved study, activate part, start extrusion, Crash. Additionaly the validation for attribute selection is called in widget sketch creator.
Issue #1343. Improvement of Extrusion and Revolution operations: Bug correction: Clean History, as Delete, should be disabled on Sketch created under an Extrusion.
Issue #1343. Improvement of Extrusion and Revolution operations: Bug correction: start Extrusion, select plane, abort Sketch, move over plane. Error message is about modification out of transaction.
nds [Tue, 29 Mar 2016 13:56:24 +0000 (16:56 +0300)]
Issue #1343 Improvement of Extrusion and Revolution operations: correction for the bug: there was a crash on using: <box></box>, if <box/> is used, the result is correct. The reason is that there are not elements in the construction. This will be used in the Pipe feature.