mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0032432: Inspectors - problems with tools test group
Adding __APPLE_ definition for libraries
This commit is contained in:
parent
50174691dc
commit
1aee888374
@ -39,6 +39,9 @@ TInspectorAPI_Communicator* TInspectorAPI_Communicator::LoadPluginLibrary
|
|||||||
TCollection_AsciiString aPluginLibraryName = thePluginName;
|
TCollection_AsciiString aPluginLibraryName = thePluginName;
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
aPluginLibraryName += ".dll";
|
aPluginLibraryName += ".dll";
|
||||||
|
#elif __APPLE__
|
||||||
|
aPluginLibraryName.Prepend ("lib");
|
||||||
|
aPluginLibraryName += ".dylib";
|
||||||
#else
|
#else
|
||||||
aPluginLibraryName.Prepend ("lib");
|
aPluginLibraryName.Prepend ("lib");
|
||||||
aPluginLibraryName += ".so";
|
aPluginLibraryName += ".so";
|
||||||
|
@ -438,7 +438,7 @@ bool VInspector_Window::OpenFile(const TCollection_AsciiString& theFileName)
|
|||||||
Handle(AIS_Shape) aPresentation = new AIS_Shape (aShape);
|
Handle(AIS_Shape) aPresentation = new AIS_Shape (aShape);
|
||||||
aPresentation->Attributes()->SetAutoTriangulation (Standard_False);
|
aPresentation->Attributes()->SetAutoTriangulation (Standard_False);
|
||||||
|
|
||||||
View_Displayer* aDisplayer = myViewWindow->Displayer();
|
View_Displayer* aDisplayer = displayer();
|
||||||
aDisplayer->DisplayPresentation (aPresentation);
|
aDisplayer->DisplayPresentation (aPresentation);
|
||||||
aContext->UpdateCurrentViewer();
|
aContext->UpdateCurrentViewer();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user