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_ImmersibleZoneOp.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_ImmersibleZoneOp.cxx
b/src/HYDROGUI/HYDROGUI_ImmersibleZoneOp.cxx
index 405f5f8948253fae783b0a6c4c4b01871f739292..b6c0fd02b4ab084efd0951c861606f00be946af1 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_ImmersibleZoneOp.cxx
+++ b/
src/HYDROGUI/HYDROGUI_ImmersibleZoneOp.cxx
@@
-28,6
+28,7
@@
#include "HYDROGUI_Shape.h"
#include "HYDROGUI_Tool.h"
#include "HYDROGUI_UpdateFlags.h"
#include "HYDROGUI_Shape.h"
#include "HYDROGUI_Tool.h"
#include "HYDROGUI_UpdateFlags.h"
+#include "HYDROGUI_DataObject.h"
#include <HYDROData_Bathymetry.h>
#include <HYDROData_Iterator.h>
#include <HYDROData_Bathymetry.h>
#include <HYDROData_Iterator.h>
@@
-128,7
+129,8
@@
HYDROGUI_InputPanel* HYDROGUI_ImmersibleZoneOp::createInputPanel() const
}
bool HYDROGUI_ImmersibleZoneOp::processApply( int& theUpdateFlags,
}
bool HYDROGUI_ImmersibleZoneOp::processApply( int& theUpdateFlags,
- QString& theErrorMsg )
+ QString& theErrorMsg,
+ QStringList& theBrowseObjectsEntries )
{
HYDROGUI_ImmersibleZoneDlg* aPanel = ::qobject_cast<HYDROGUI_ImmersibleZoneDlg*>( inputPanel() );
if ( !aPanel )
{
HYDROGUI_ImmersibleZoneDlg* aPanel = ::qobject_cast<HYDROGUI_ImmersibleZoneDlg*>( inputPanel() );
if ( !aPanel )
@@
-194,7
+196,11
@@
bool HYDROGUI_ImmersibleZoneOp::processApply( int& theUpdateFlags,
closePreview();
if( !myIsEdit )
closePreview();
if( !myIsEdit )
+ {
module()->setObjectVisible( HYDROGUI_Tool::GetActiveOCCViewId( module() ), aZoneObj, true );
module()->setObjectVisible( HYDROGUI_Tool::GetActiveOCCViewId( module() ), aZoneObj, true );
+ QString anEntry = HYDROGUI_DataObject::dataObjectEntry( aZoneObj );
+ theBrowseObjectsEntries.append( anEntry );
+ }
module()->setIsToUpdate( aZoneObj );
module()->setIsToUpdate( aZoneObj );