nds [Fri, 28 Aug 2015 19:33:18 +0000 (22:33 +0300)]
It removes excessive code. The problem is Placement feature: it is not possible to select as the second face, a face on the object, which is used in the multi-selectio control.
Also, the regression of the issue #359 is corrected[Axis with the same point on both ends]
nds [Fri, 28 Aug 2015 15:45:40 +0000 (18:45 +0300)]
The preview presentation should be updated by the operation values changed.
If the operation, e.g. Group/Export has no preview for the feature, or feature is hidden, the customize does not happen, and the obsolete operation prs stayed in the viewer.
nds [Thu, 27 Aug 2015 10:04:50 +0000 (13:04 +0300)]
1. CanStopOperation knows which operation is stopped. Scenario: Unpress Sketch in ToolBar when sketch entity is active should visualizes the Abort warnning dialog.
2. Cashed previous current feature should be found in the document with 'true' flag. Scenario: ExtrusionCut, Create a line on the sketch, Edit the line. Change any value, start circle creation. Result: the line presentation disappears in the viewer.
nds [Wed, 26 Aug 2015 09:08:43 +0000 (12:08 +0300)]
Providing Action class to have a common approach to start/finish/abort model transactions for such actions as Delete/Detach and others.
The common functionality:
1.On the start of the action, the message about aborting the previous operation should be shown.
2. On commit, ApplyAll button[sketch operation] enable state should be updated, SetModified[sketch operation] of the parent operation update[in order to have a message about aborting transaction].
In the current integration, ModuleBase_Operation is separated to ModuleBase_OperationFeature and ModuleBase_OperationAction.
nds [Tue, 25 Aug 2015 13:32:16 +0000 (16:32 +0300)]
Synchronize AcceptAll actions state between Tool bar and property panel.
In the new realized version, this button state is updated by commit modification to the document and when the operation is started. In the previous version this state was updated by any modification of the model during operaion.
mpv [Tue, 25 Aug 2015 09:27:27 +0000 (12:27 +0300)]
Make Boolean operation conceal the selected argument: sub-body of compsolid or the whole compsolid. And these arguments are erased in the viewer on "Apply"
nds [Tue, 25 Aug 2015 05:26:29 +0000 (08:26 +0300)]
AcceptAll is always enabled. This is a temporary fix to hide a regression, where a sketch in the ExtrusionCut/Fuse can not be created. [parent operation extrusion cut/fuse is used instead of sketch to check whether parameters are valid].
nds [Mon, 24 Aug 2015 09:05:33 +0000 (12:05 +0300)]
Abort operation correction, Cases are: 1. Deselect feature button in ToolBar, 2. "Cancel" in warning of abort dialog should not abort the current operation.
nds [Mon, 24 Aug 2015 09:02:17 +0000 (12:02 +0300)]
Abort operation correction, Cases are: 1. Deselect feature button in ToolBar, 2. "Cancel" in warning of abort dialog should not abort the current operation.
nds [Fri, 21 Aug 2015 14:19:02 +0000 (17:19 +0300)]
Result compsolid should change the display flag of sub-results itself.
WorkshopListener in displayObject() should ignore the compsolid result and wait when sub-solid results comes in selection.
onFeatureCreateMsg moving rows: 1.canBeDisplayed before setDisplayed, displayObject - this is a previous version. It is more correctly firstly change display state of the object and after try to display it in the viewer. It is possible that flag is switch on, but the object will be visualized during redisplay.