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

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 ...@@ -299,6 +299,7 @@ QWidget* MultiObjectPropertyModel::createWidgetForType(const TypeInfoWrapper& in
// OpenVolumeMesh // OpenVolumeMesh
// ---------------------------------------- // ----------------------------------------
#ifdef ENABLE_OPENVOLUMEMESH_SUPPORT
if (OVMPropertyModel<HexahedralMesh>::isBoolType(info)) if (OVMPropertyModel<HexahedralMesh>::isBoolType(info))
return new BooleanWidget(); return new BooleanWidget();
if (OVMPropertyModel<HexahedralMesh>::isIntType(info)) if (OVMPropertyModel<HexahedralMesh>::isIntType(info))
...@@ -311,6 +312,7 @@ QWidget* MultiObjectPropertyModel::createWidgetForType(const TypeInfoWrapper& in ...@@ -311,6 +312,7 @@ QWidget* MultiObjectPropertyModel::createWidgetForType(const TypeInfoWrapper& in
return new VectorWidget(); return new VectorWidget();
if (OVMPropertyModel<HexahedralMesh>::isVec3fType(info)) if (OVMPropertyModel<HexahedralMesh>::isVec3fType(info))
return new VectorWidget(); return new VectorWidget();
#endif
// Other // Other
......
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