X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicer.cxx;h=7405a450bb67f3e35f23aedfbd39abba34cfa8cf;hb=4155f049dc94e05e1f88a9cbdeb817243706c900;hp=a53daf24da6eda141db18747f319af5fb0d452cd;hpb=8a3497690d4e39e99b6d5e50cb324449041ea08d;p=clitk.git diff --git a/vv/vvSlicer.cxx b/vv/vvSlicer.cxx index a53daf2..7405a45 100644 --- a/vv/vvSlicer.cxx +++ b/vv/vvSlicer.cxx @@ -653,7 +653,9 @@ void vvSlicer::SetVF(vvImage::Pointer vf) #else mVFMapper->SetInputConnection(mGlyphFilter->GetOutputPort()); #endif +#ifndef VTK_OPENGL2 mVFMapper->ImmediateModeRenderingOn(); +#endif mVFMapper->SetLookupTable(mVFColorLUT); if (!mVFActor)