#include <SelectMgr_ListIteratorOfListOfFilter.hxx>
#include <Graphic3d_Texture2Dmanual.hxx>
-#include <OCCViewer_Utilities.h>
+#ifdef HAVE_SALOME
+#include <OCCViewer_Utilities.h>
+#endif
#define FEATURE_ITEM_COLOR "0,0,225"
//******************************************************
void PartSet_Module::setTexture(const std::string & theTextureFile, const AISObjectPtr& thePrs)
{
+#ifdef HAVE_SALOME
Handle(AIS_InteractiveObject) anAIS = thePrs->impl<Handle(AIS_InteractiveObject)>();
if (!anAIS.IsNull())
{
anAISShape->SetDisplayMode(AIS_Shaded);
}
}
+#endif
}
//******************************************************