Salome HOME
projects
/
modules
/
hexablock.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Porting to DEV version of OpenCASCADE.
[modules/hexablock.git]
/
src
/
HEXABLOCKGUI
/
HEXABLOCKGUI_OccGraphicView.cxx
diff --git
a/src/HEXABLOCKGUI/HEXABLOCKGUI_OccGraphicView.cxx
b/src/HEXABLOCKGUI/HEXABLOCKGUI_OccGraphicView.cxx
index 5d164a1c2b0af7f0e2d6a5db21ead06c33d9ce87..89e89bbaf2b06f53891944dc297dba1945179f41 100644
(file)
--- a/
src/HEXABLOCKGUI/HEXABLOCKGUI_OccGraphicView.cxx
+++ b/
src/HEXABLOCKGUI/HEXABLOCKGUI_OccGraphicView.cxx
@@
-18,7
+18,6
@@
//
//
-
#include "HEXABLOCKGUI_OccGraphicView.hxx"
#include "HEXABLOCKGUI.hxx"
#include "HEXABLOCKGUI_VtkDocumentGraphicView.hxx"
#include "HEXABLOCKGUI_OccGraphicView.hxx"
#include "HEXABLOCKGUI.hxx"
#include "HEXABLOCKGUI_VtkDocumentGraphicView.hxx"
@@
-42,7
+41,7
@@
OccGraphicView::OccGraphicView( OCCViewer_ViewWindow* view, QWidget* parent ):
TopoDS_Shape shapeToPreview;
previewShape = new AIS_Shape(shapeToPreview);
// previewShape->SetColor(Quantity_NOC_RED);
TopoDS_Shape shapeToPreview;
previewShape = new AIS_Shape(shapeToPreview);
// previewShape->SetColor(Quantity_NOC_RED);
- getContext()->SetColor( previewShape, Quantity_NOC_RED );
+ getContext()->SetColor( previewShape, Quantity_NOC_RED
, Standard_True
);
}
void OccGraphicView::setSelectionMode(TopAbs_ShapeEnum mode)
}
void OccGraphicView::setSelectionMode(TopAbs_ShapeEnum mode)
@@
-318,7
+317,7
@@
void OccGraphicView::displayPreview(TopoDS_Shape& shape)
previewShape->Set(shape);
// previewShape->SetColor(Quantity_NOC_RED);
previewShape->Set(shape);
// previewShape->SetColor(Quantity_NOC_RED);
- getContext()->SetColor( previewShape, Quantity_NOC_RED );
+ getContext()->SetColor( previewShape, Quantity_NOC_RED
, Standard_True
);
previewShape->Redisplay();
vf->Repaint();
}
previewShape->Redisplay();
vf->Repaint();
}