]> SALOME platform Git repositories - modules/shaper.git/commit
Salome HOME
There was discovered a logic, that the feature is created in the operation, after...
authornds <natalia.donis@opencascade.com>
Wed, 11 Jun 2014 15:00:01 +0000 (19:00 +0400)
committernds <natalia.donis@opencascade.com>
Wed, 11 Jun 2014 15:00:01 +0000 (19:00 +0400)
commit641932ae44c7da06fe38a7689cfa7369452d47e9
treef372ff9f99d5f97dc6d01891b35f6301f47e3dd5
parenta8d0fddcc65db1fe234df36354b6735918075a70
There was discovered a logic, that the feature is created in the operation, after the operation can perform some actions for feature and after, outside, the property panel widgets are created and the feature is initialized by the control default values.

The problem with the Sketch creation line operation, which need to fill the property start point by the last point of another feature. The functionality the operation done in the startOperation() virtual method. After, the property panel throw down the values set.
The decision is to redesign the operation-widget_factory-property panel functionality in order to set the default values to the feature at the moment of a new feature creation.
src/ModuleBase/ModuleBase_IOperation.h
src/ModuleBase/ModuleBase_Operation.cpp
src/ModuleBase/ModuleBase_Operation.h
src/ModuleBase/ModuleBase_WidgetFactory.cpp
src/ModuleBase/ModuleBase_WidgetFactory.h