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_VTKPrs.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_VTKPrs.cxx
b/src/HYDROGUI/HYDROGUI_VTKPrs.cxx
index 588c7c8d71d60e46144ffad190e0e4c3e43c7d24..87a86d5cd2aabbf96b8a17fedfc25092afbf4a33 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_VTKPrs.cxx
+++ b/
src/HYDROGUI/HYDROGUI_VTKPrs.cxx
@@
-56,6
+56,7
@@
HYDROGUI_VTKPrs::~HYDROGUI_VTKPrs()
//=======================================================================
void HYDROGUI_VTKPrs::compute()
{
//=======================================================================
void HYDROGUI_VTKPrs::compute()
{
+ setIsToUpdate( false );
}
//=======================================================================
}
//=======================================================================
@@
-69,6
+70,6
@@
void HYDROGUI_VTKPrs::setZRange( double theRange[] )
vtkMapper* aMapper = mapper();
if ( aMapper )
{
vtkMapper* aMapper = mapper();
if ( aMapper )
{
- mapper()->SetScalarRange(
-myZRange[1], -myZRange[0]
);
+ mapper()->SetScalarRange(
myZRange
);
}
}
}
}