diff --git a/src/Mod/Image/Gui/ViewProviderImagePlane.cpp b/src/Mod/Image/Gui/ViewProviderImagePlane.cpp index 54a6d8849e..3fc49e3bf9 100644 --- a/src/Mod/Image/Gui/ViewProviderImagePlane.cpp +++ b/src/Mod/Image/Gui/ViewProviderImagePlane.cpp @@ -31,6 +31,7 @@ # include # include # include +# include # include # include # include @@ -92,6 +93,8 @@ void ViewProviderImagePlane::attach(App::DocumentObject *pcObj) texture->model = SoTexture2::MODULATE; planesep->addChild(texture); + planesep->addChild(pcShapeMaterial); + // plane pcCoords->point.set1Value(0,0,0,0); pcCoords->point.set1Value(1,1,0,0);