NavLib integration enabled for MacOS
This commit is contained in:
@@ -142,12 +142,12 @@ macro(InitializeFreeCADBuildOptions)
|
||||
option(BUILD_CLOUD "Build the FreeCAD cloud module" OFF)
|
||||
option(ENABLE_DEVELOPER_TESTS "Build the FreeCAD unit tests suit" ON)
|
||||
|
||||
if(MSVC)
|
||||
if(MSVC OR APPLE)
|
||||
set(FREECAD_3DCONNEXION_SUPPORT "NavLib" CACHE STRING "Select version of the 3Dconnexion device integration")
|
||||
set_property(CACHE FREECAD_3DCONNEXION_SUPPORT PROPERTY STRINGS "NavLib" "Raw input")
|
||||
else(MSVC)
|
||||
else(MSVC OR APPLE)
|
||||
set(FREECAD_3DCONNEXION_SUPPORT "Raw input")
|
||||
endif(MSVC)
|
||||
endif(MSVC OR APPLE)
|
||||
|
||||
if(MSVC)
|
||||
option(BUILD_FEM_NETGEN "Build the FreeCAD FEM module with the NETGEN mesher" ON)
|
||||
|
||||
@@ -122,6 +122,8 @@ CameraType NavlibInterface::getCamera() const
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
template SoCamera* NavlibInterface::getCamera<SoCamera*>() const;
|
||||
|
||||
void NavlibInterface::onViewChanged(const Gui::MDIView* view)
|
||||
{
|
||||
if (view == nullptr)
|
||||
|
||||
@@ -109,6 +109,8 @@ long NavlibInterface::SetPivotVisible(bool visible)
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern template SoCamera* NavlibInterface::getCamera<SoCamera*>() const;
|
||||
|
||||
long NavlibInterface::GetHitLookAt(navlib::point_t& position) const
|
||||
{
|
||||
if (is2DView())
|
||||
|
||||
Reference in New Issue
Block a user