nds [Mon, 26 Jan 2015 08:22:48 +0000 (11:22 +0300)]
Issue #348 Validate sketch is disabled when point coordinates are set manually
It saves the clicked point, connects to the the activated signal of a widget and try initialize the widget with the point value.
There are some limitations:
Firstly, for the constraints distane we should not perform it because the fly out point is moved to the mouse, there is a blinking between calculated value and the clicked. It can be corrected if do not update the viewer during this. But, the lightes workaround is to do not apply clicked point to such type of operation.
Secondly, the mouse release point should be also saved in the clicked point for the mouse moving with Left button swithed. Without this, the actuvatedwidget value is moved to the previuosly clicked mouse but not the current one.
nds [Thu, 22 Jan 2015 09:02:50 +0000 (12:02 +0300)]
Issue #348 Validate sketch is disabled when point coordinates are set manually
Do not store value if the default value was not defined in the XML file.
It corrects setValue in the Point2D to update attributes even if the value are the same.
nds [Wed, 21 Jan 2015 09:33:50 +0000 (12:33 +0300)]
Regression correction: the axis is not displayed in the black dash-dots. The reason is displayer correction to do not perform redisplay if the presentation is not modified.
nds [Wed, 21 Jan 2015 06:39:05 +0000 (09:39 +0300)]
Issue #351 constraint is not applied on preselected segments
The reason: lost selection of the circle center.
The decision: do not perform redisplay the AIS presentation in the AIS_InteractiveContext(displayer) if the shapes are equal. Here the GeomAPI realisation is necessary. The TopoDS_Shape realisation of the isEqual method is not enough because different TShapes instances are created and isEqual returns false.
A correction in the widget shape selector to avoid the distance presentation update by set an object(before set an attribute). In the previous version, the distance was jumped by selecting two points on lines. The reason is the distance calculation between point-object by setObject and after that point-point by setAttr
nds [Tue, 20 Jan 2015 14:54:42 +0000 (17:54 +0300)]
Issue #351 constraint is not applied on preselected segments
The reason: lost selection of the circle center.
The decision: do not perform redisplay the AIS presentation in the AIS_InteractiveContext(displayer) if the shapes are equal. Here the GeomAPI realisation is necessary. The TopoDS_Shape realisation of the isEqual method is not enough because different TShapes instances are created and isEqual returns false.
A correction in the widget shape selector to avoid the distance presentation update by set an object(before set an attribute). In the previous version, the distance was jumped by selecting two points on lines. The reason is the distance calculation between point-object by setObject and after that point-point by setAttr
nds [Mon, 29 Dec 2014 17:01:26 +0000 (20:01 +0300)]
Remove multiSelection flag set, because it is enoght to set selectionEnabled flag in false between move-release functionality. There is a bug in SALOME 7.5.1, after it is fixed, the NewGeom_SalomeViewer should be corrected.
nds [Mon, 29 Dec 2014 15:56:44 +0000 (18:56 +0300)]
Debug the selection restore on the Full Salome mode. There is a bug there, that enableSelection(false) call AISContext->ClearSelected(update_viewer=true), the problem 1: it should not clear, the problem 2: it should not update viewer - we have blinking.
nds [Mon, 29 Dec 2014 12:27:10 +0000 (15:27 +0300)]
Debug the multi-edit operation. The restore of the selection after all features are moved,
Edge activation mode in the context for the edit operation(in order to the selection of the edge is not lost during moving)
do not flush for the Update signal, because it is automatically called by the solver after pocessing(flush) the move signal.
nds [Mon, 29 Dec 2014 10:10:01 +0000 (13:10 +0300)]
It replaces two lists of features and attributes to a map of feature to a list of attributes.
It fixes a multi-selection bug, in the new version it is possible to move a countour of four lines in another place, the countour figure is not changed.
nds [Sat, 27 Dec 2014 12:39:24 +0000 (15:39 +0300)]
This is not necessary anymore for edit operation because the selection is restored in the PartSet_SketcherMgr::onMouseMove. It is possible that this functionality will be moved in another place.