Commit 90f8c961 authored by Isaak Lim's avatar Isaak Lim

added ifdef guard in case OVM is not supported (Alexander Dielen)

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@21172 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 868e1469
......@@ -299,6 +299,7 @@ QWidget* MultiObjectPropertyModel::createWidgetForType(const TypeInfoWrapper& in
// OpenVolumeMesh
// ----------------------------------------
#ifdef ENABLE_OPENVOLUMEMESH_SUPPORT
if (OVMPropertyModel<HexahedralMesh>::isBoolType(info))
return new BooleanWidget();
if (OVMPropertyModel<HexahedralMesh>::isIntType(info))
......@@ -311,6 +312,7 @@ QWidget* MultiObjectPropertyModel::createWidgetForType(const TypeInfoWrapper& in
return new VectorWidget();
if (OVMPropertyModel<HexahedralMesh>::isVec3fType(info))
return new VectorWidget();
#endif
// Other
......
Markdown is supported
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