mirror of https://github.com/mosra/magnum.git
Browse Source
FeatureGroup shouldn't delete the features, as all features are deleted in Object destructor anyway and no feature can be created without explicitly attaching it to some Object (and it also cannot be detached). Moreover, when the group contains two features belogning to one object and one feature is added using multiple inheritance, on group destruction the object gets deleted along with the feature, removing also the other feature, which breaks the for cycle in group destructor.pull/7/head
1 changed files with 2 additions and 5 deletions
Loading…
Reference in new issue