#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
}
//******************************************************
#endif
QString aFileName = aDocDir + aSep + thePage;
if (QFile::exists(aFileName)) {
+#ifdef HAVE_SALOME
SUIT_Application* app = SUIT_Session::session()->activeApplication();
if (app)
app->onHelpContextModule("SHAPER", aFileName);
QUrl aUrl = QUrl::fromLocalFile(aFileName);
QDesktopServices::openUrl(aUrl);
}
+#else
+ QUrl aUrl = QUrl::fromLocalFile(aFileName);
+ QDesktopServices::openUrl(aUrl);
+#endif
}
}
}