Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_PolylineOp.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_PolylineOp.cxx
b/src/HYDROGUI/HYDROGUI_PolylineOp.cxx
index 2c299e2f778c38e300cb5ce9f59c7df6891d07a3..a97508ef261b4073a2d426e0371419965d2c1580 100755
(executable)
--- a/
src/HYDROGUI/HYDROGUI_PolylineOp.cxx
+++ b/
src/HYDROGUI/HYDROGUI_PolylineOp.cxx
@@
-23,6
+23,7
@@
#include "HYDROGUI_PolylineOp.h"
#include "HYDROGUI_Module.h"
#include "HYDROGUI_PolylineOp.h"
#include "HYDROGUI_Module.h"
+#include "HYDROGUI_DataObject.h"
#include "HYDROGUI_PolylineDlg.h"
#include "HYDROGUI_Tool.h"
#include "HYDROGUI_UpdateFlags.h"
#include "HYDROGUI_PolylineDlg.h"
#include "HYDROGUI_Tool.h"
#include "HYDROGUI_UpdateFlags.h"
@@
-86,7
+87,7
@@
bool HYDROGUI_PolylineOp::deleteEnabled()
*/
void HYDROGUI_PolylineOp::updatePreviewZLayer( int theLayer )
{
*/
void HYDROGUI_PolylineOp::updatePreviewZLayer( int theLayer )
{
-
set
PreviewZLayer( theLayer );
+
HYDROGUI_Operation::update
PreviewZLayer( theLayer );
int aZLayer = getPreviewZLayer();
if ( aZLayer >= 0 )
int aZLayer = getPreviewZLayer();
if ( aZLayer >= 0 )
@@
-211,7
+212,8
@@
HYDROGUI_InputPanel* HYDROGUI_PolylineOp::createInputPanel() const
}
bool HYDROGUI_PolylineOp::processApply( int& theUpdateFlags,
}
bool HYDROGUI_PolylineOp::processApply( int& theUpdateFlags,
- QString& theErrorMsg )
+ QString& theErrorMsg,
+ QStringList& theBrowseObjectsEntries )
{
HYDROGUI_PolylineDlg* aPanel = ::qobject_cast<HYDROGUI_PolylineDlg*>( inputPanel() );
if ( !aPanel )
{
HYDROGUI_PolylineDlg* aPanel = ::qobject_cast<HYDROGUI_PolylineDlg*>( inputPanel() );
if ( !aPanel )
@@
-321,6
+323,8
@@
bool HYDROGUI_PolylineOp::processApply( int& theUpdateFlags,
if( !myIsEdit )
{
module()->setObjectVisible( anActiveViewId, aPolylineObj, true );
if( !myIsEdit )
{
module()->setObjectVisible( anActiveViewId, aPolylineObj, true );
+ QString anEntry = HYDROGUI_DataObject::dataObjectEntry( aPolylineObj );
+ theBrowseObjectsEntries.append( anEntry );
}
return true;
}
return true;