Commit 3b38d38d authored by Henrik Zimmer's avatar Henrik Zimmer
Browse files

added missing ifdefs for BSPLINE SUPPORT

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14425 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 323100cd
......@@ -782,8 +782,12 @@ BaseObject* OBJImporter::object(int _objectID) {
if(triMeshes_[_objectID] != NULL) return triMeshes_[_objectID];
else if(polyMeshes_[_objectID] != NULL) return polyMeshes_[_objectID];
#ifdef ENABLE_BSPLINECURVE_SUPPORT
else if(bSplineCurves_[_objectID] != NULL) return bSplineCurves_[_objectID];
#endif
#ifdef ENABLE_BSPLINESURFACE_SUPPORT
else if(bSplineSurfaces_[_objectID] != NULL) return bSplineSurfaces_[_objectID];
#endif
return NULL;
}
......
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