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 #1330: draft preferences implementation for polyline arrow
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_ImagePrs.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_ImagePrs.cxx
b/src/HYDROGUI/HYDROGUI_ImagePrs.cxx
index 1a4b2bb956c587445f579a654d8b310da0913498..9ebb95a148043548222315aff38e2f8e048ade61 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_ImagePrs.cxx
+++ b/
src/HYDROGUI/HYDROGUI_ImagePrs.cxx
@@
-102,6
+102,9
@@
void HYDROGUI_ImagePrs::Compute( const Handle(PrsMgr_PresentationManager3d)&,
aPrs->Clear();
Handle(Graphic3d_Group) aGroup = Prs3d_Root::CurrentGroup( aPrs );
+ if( myImage.IsNull() )
+ return;
+
if ( aMode == 0 )
{
Handle(Graphic3d_ArrayOfPolylines) aSegments = new Graphic3d_ArrayOfPolylines( 5 );