Commit 8fbdac9c authored by Dirk Wilden's avatar Dirk Wilden
Browse files

fixed building without bspline support

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9749 383ad7c9-94d9-4d36-a494-682f7c89f535
parent a3e2b6c5
......@@ -48,6 +48,7 @@
//
//=============================================================================
#ifdef ENABLE_BSPLINESURFACE_SUPPORT
#include <Plugin-Selection/SelectionPlugin.hh>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
......@@ -162,4 +163,6 @@ toggleBSplineSurfaceSelection(QMouseEvent* _event)
}
#endif //ENABLE_BSPLINESURFACE_SUPPORT
//-----------------------------------------------------------------------------
......@@ -389,12 +389,14 @@ getKnotSelection( int objectId )
#ifdef ENABLE_BSPLINECURVE_SUPPORT
if ( object->dataType() == DATA_BSPLINE_CURVE )
return BSplineCurveSelection::getKnotSelection(PluginFunctions::splineCurve(object));
else
#endif
#ifdef ENABLE_BSPLINESURFACE_SUPPORT
// else if ( object->dataType() == DATA_BSPLINE_SURFACE )
// if ( object->dataType() == DATA_BSPLINE_SURFACE )
// return BSplineSurfaceSelection::getKnotSelection(PluginFunctions::splineSurface(object));
// else
#endif
else {
{
emit log(LOGERR,tr("getKnotSelection : Unsupported object Type") );
return IdList(0);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment