diff --git a/src/App/PropertyGeo.cpp b/src/App/PropertyGeo.cpp index 833b8d1645..85a0b962ce 100644 --- a/src/App/PropertyGeo.cpp +++ b/src/App/PropertyGeo.cpp @@ -643,6 +643,10 @@ void PropertyPlacement::setPathValue(const ObjectIdentifier &path, const boost:: avalue = boost::any_cast(value); else if (value.type() == typeid(unsigned short)) avalue = boost::any_cast(value); + else if (value.type() == typeid(long)) + avalue = boost::any_cast(value); + else if (value.type() == typeid(unsigned long)) + avalue = boost::any_cast(value); else throw std::bad_cast();