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
Fix for the bug #45: check and warning when the same image is used in 2 arguments.
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_VTKPrs.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_VTKPrs.cxx
b/src/HYDROGUI/HYDROGUI_VTKPrs.cxx
index 588c7c8d71d60e46144ffad190e0e4c3e43c7d24..671a2cdccf4192d7892f912035c246aafc4762e6 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_VTKPrs.cxx
+++ b/
src/HYDROGUI/HYDROGUI_VTKPrs.cxx
@@
-69,6
+69,6
@@
void HYDROGUI_VTKPrs::setZRange( double theRange[] )
vtkMapper* aMapper = mapper();
if ( aMapper )
{
- mapper()->SetScalarRange(
-myZRange[1], -myZRange[0]
);
+ mapper()->SetScalarRange(
myZRange
);
}
}