Browse Source

use modify_geom() instead of get_unique_geom()

David Rose 20 years ago
parent
commit
825717c720
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/distort/projectionScreen.cxx

+ 1 - 1
panda/src/distort/projectionScreen.cxx

@@ -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);
   }
 }