Issue #850 Flyout property panel: sketch features can not be created by clicking in the viewer
Additionaly the next regression is corrected: sketch, contour, translation, select lines with a rectangle[move over some lines], click Tab, waiting result-the next control in PP is activated, but it has not happened.
nds [Mon, 31 Aug 2015 16:57:11 +0000 (19:57 +0300)]
The same, as in onEnterViewPort(): validation of the operation should be pefromed only in create sketch entity case. Otherwise it influence performance.
nds [Mon, 31 Aug 2015 16:34:46 +0000 (19:34 +0300)]
The correction, to do not create a line by click in the viewer if the second click happens in the area of the first point. The first point has a coincidence to the previous point(sketch contour).
nds [Mon, 31 Aug 2015 10:23:31 +0000 (13:23 +0300)]
Issue #854 Fillet angle modification redisplay the presentation twice
EVENT_OBJECT_TO_REDISPLAY is not necessary because it is sent by model when it processes EVENT_OBJECT_UPDATED.
In order to avoid the bug, the current decision is to do not redraw OCC viewer until the message is processed.
nds [Mon, 31 Aug 2015 08:48:00 +0000 (11:48 +0300)]
Issue #844 Infinite filter problem after activating GEOM module : deactivateSelectionFilters is realized in displayer. When the module is deactivated, myAndFilter of displayer is removed from context, but the displayer has an instance, which is not in the context. So, the filters do not work after: NewGeom, Geom, NewGeom activating. We nullify this fillter on deactivation and it will be created and set to the context by the first get of this filter.
Issue #846 Color modification in preferences is applyed to the visualized objects after a model modification : correction to update the objects when "Default" state is clicked in the preferences dialog.
nds [Mon, 31 Aug 2015 05:26:27 +0000 (08:26 +0300)]
Bug #846 Color modification in preferences is applyed to the visualized objects after a model modification
Auxiliary,Detach,Delete are corrected to use OperationAction in order to:
1. update AcceptAll button enabled state
2. set into the parent operation isModified state, to show warning about the operation abort, if it happens
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].