Fix possible bug in __reginprops__, return statement missing for some properties
@@ -255,13 +255,13 @@ class RegionPropertiesPS(RegionProperties):
@property
def surface_mesh_vertices(self):
if not hasattr(self, '_surface_mesh_vertices'):
- self.surface_area
+ return self.surface_area
return self._surface_mesh_vertices
@property
def surface_mesh_simplices(self):
if not hasattr(self, '_surface_mesh_simplices'):
- self.surface_area
+ return self.surface_area
return self._surface_mesh_simplices
@property
