Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00b7b56
)
Bug IPAL22912: TC6.5.0: Create Local coordinate system in VTK view - Segmentation...
author
ouv
<ouv@opencascade.com>
Tue, 17 Apr 2012 11:56:46 +0000
(11:56 +0000)
committer
ouv
<ouv@opencascade.com>
Tue, 17 Apr 2012 11:56:46 +0000
(11:56 +0000)
src/GEOMGUI/GEOM_Displayer.cxx
patch
|
blob
|
history
diff --git
a/src/GEOMGUI/GEOM_Displayer.cxx
b/src/GEOMGUI/GEOM_Displayer.cxx
index b4f7abfe7b0e0f8d5a60c466f32908b70dea9646..6af5ba4e64f0e6eb3c9e3feaa050541ee618c2c0 100644
(file)
--- a/
src/GEOMGUI/GEOM_Displayer.cxx
+++ b/
src/GEOMGUI/GEOM_Displayer.cxx
@@
-1245,15
+1245,13
@@
void GEOM_Displayer::Update( SALOME_VTKPrs* prs )
}
}
-
if ( HasWidth()
)
+
if ( aGeomGActor
)
{
- aGeomGActor->SetWidth( GetWidth() );
- }
-
-
- if ( HasIsosWidth() )
- {
- aGeomGActor->SetIsosWidth( GetIsosWidth() );
+ if ( HasWidth() )
+ aGeomGActor->SetWidth( GetWidth() );
+
+ if ( HasIsosWidth() )
+ aGeomGActor->SetIsosWidth( GetIsosWidth() );
}
if ( myToActivate )