use modify_geom() instead of get_unique_geom()

This commit is contained in:
David Rose 2006-02-23 21:09:00 +00:00
parent 95826297fb
commit 825717c720
1 changed files with 1 additions and 1 deletions

View File

@ -493,7 +493,7 @@ recompute_geom_node(const WorkingNodePath &np, LMatrix4f &rel_mat,
int num_geoms = node->get_num_geoms();
for (int i = 0; i < num_geoms; i++) {
Geom *geom = node->get_unique_geom(i);
Geom *geom = node->modify_geom(i);
recompute_geom(geom, rel_mat);
}
}