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
Coloring of objects (Bug #219).
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_PolylineOp.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_PolylineOp.cxx
b/src/HYDROGUI/HYDROGUI_PolylineOp.cxx
index b9fd474b75c12ff53cc7a5804a6e28b0e4225b40..835b9d04d18f341507a19b3c81f089a00abfc57e 100755
(executable)
--- a/
src/HYDROGUI/HYDROGUI_PolylineOp.cxx
+++ b/
src/HYDROGUI/HYDROGUI_PolylineOp.cxx
@@
-250,6
+250,11
@@
bool HYDROGUI_PolylineOp::processApply( int& theUpdateFlags,
}
}
+ if ( !myIsEdit )
+ {
+ aPolylineObj->SetWireColor( HYDROData_PolylineXY::DefaultWireColor() );
+ }
+
// Update the wire of polyline
aPolylineObj->Update();