nds [Thu, 4 Jun 2015 08:50:09 +0000 (11:50 +0300)]
A fix for activate/deactivate selection from destructor. It is possible, that selection mode is not correct by a widget activation.
Scenario: sketch, create a poligon, start parallel operation, select two lines, result - a create new parallel feature operation is started. The first control is active, but previous parallel constraint is selectable. This is wrong. If the next operation is translation, the parallel constraint selection leads to crash.
Reason: The activateShapeSselection(false) called in the destructor of widget shape selector is called after starting/activation of a widget in a new operation. So, it clears the previous activation of the current operation, deactivate reset it.
nds [Thu, 4 Jun 2015 07:06:16 +0000 (10:06 +0300)]
An improvement of setCurrentFeature to avoid each object visualization in the viewer. It blocks flushes send and unblock them after the functionality is performed.
mpv [Wed, 3 Jun 2015 13:07:01 +0000 (16:07 +0300)]
Fix for the issue #593: do not remove naming attribute, but use TNaming_Builder for correct update of evolution and set new shapes. Othervise the MODIFUNTIL name myStop filed in TNaming_Name loses connection with the OCAF label.
nds [Fri, 29 May 2015 13:20:30 +0000 (16:20 +0300)]
Visualize sketch nested created feature by mouse enters the view port
Scenario: sketch, start line creation, click 1st, click 2nd, click 3rd(2nd line), click Distance in tool bar, select a point, select a point. Result - distance is not visualized until another click in the viewer.
nds [Fri, 29 May 2015 11:34:47 +0000 (14:34 +0300)]
A fix to abort sketch operation if nothing is displayed in the viewer but values of the feature are valid
Scenario: start line creation, click 1st point, click 2nd point, click circle feature. The line become visible(to origin) in the previous version. Currently it is aborted, nothing is shown.
nds [Fri, 29 May 2015 11:32:39 +0000 (14:32 +0300)]
A fix to abort sketch operation if nothing is displayed in the viewer but values of the feature are valid
Scenario: start line creation, click 1st point, click 2nd point, click circle feature. The line become visible(to origin) in the previous version. Currently it is aborted, nothing is shown.
nds [Fri, 29 May 2015 07:40:14 +0000 (10:40 +0300)]
Delete: never delete results. About "Part" deletion: only one selected part can be deleted(realisation in PartSet), part objects are skipped in Workshop in delete algorithm.
nds [Fri, 29 May 2015 06:58:55 +0000 (09:58 +0300)]
Delete: never delete results. About "Part" deletion: only one selected part can be deleted(realisation in PartSet), part objects are skipped in Workshop in delete algorithm.
nds [Fri, 29 May 2015 06:58:18 +0000 (09:58 +0300)]
Delete: never delete results. About "Part" deletion: only one selected part can be deleted(realisation in PartSet), part objects are skipped in Workshop in delete algorithm.
nds [Thu, 28 May 2015 15:59:09 +0000 (18:59 +0300)]
Temporary fix, which will be corrected by MPV. Crash fix: Create circle, translation, Undo, Redo.
The reason is that SketchPlugin_Circle::execute() flushes redisplay on 1st result creation. SketcerPrs listen it and obtains all results in the references list. The 2nd result is not created yet and it leads to crash.