diff options
Diffstat (limited to 'src/model/mapfile.cc')
-rw-r--r-- | src/model/mapfile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/mapfile.cc b/src/model/mapfile.cc index 6bac44e..e3fda6c 100644 --- a/src/model/mapfile.cc +++ b/src/model/mapfile.cc @@ -1451,7 +1451,7 @@ Model * MapFile::load(std::string const &name) groupdst->set_axis(groupsrc->axis() * tag_submodel->axis()); // copy fragments, this only copies the original fragment's pointer into the vertex array - for (FragmentGroup::iterator fit = groupsrc->begin(); fit != groupsrc->end(); fit++) { + for (FragmentGroup::Fragments::const_iterator fit = groupsrc->fragments().begin(); fit != groupsrc->fragments().end(); fit++) { Fragment *fragmentdst = new Fragment(*(*fit)); groupdst->add_fragment(fragmentdst); } |