diff --git a/gazebo/common/Dem.cc b/gazebo/common/Dem.cc index fb7c5ffe53..df679201b7 100644 --- a/gazebo/common/Dem.cc +++ b/gazebo/common/Dem.cc @@ -260,7 +260,6 @@ void Dem::GetGeoReference(double _x, double _y, } cT = OGRCreateCoordinateTransformation(&sourceCs, &targetCs); - if (nullptr == cT) { gzthrow("Unable to transform terrain coordinate system to WGS84 for "