Bugfix: segfault in SurfaceCollection->group(), fixed with a better implementation. #1566

This commit is contained in:
Alessandro Ranellucci 2013-12-04 00:10:31 +01:00
parent 57fd6ad563
commit e9b87b69df
3 changed files with 21 additions and 38 deletions

View file

@ -80,7 +80,7 @@ SurfaceCollection::group(merge_solid = false)
CODE:
// perform grouping
std::vector<SurfacesPtr> groups;
THIS->group(groups, merge_solid);
THIS->group(&groups, merge_solid);
// build return arrayref
AV* av = newAV();