Explorar o código

Make things a bit more efficient

Chris Brunner %!s(int64=15) %!d(string=hai) anos
pai
achega
fec47d9aea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      panda/src/egg/eggGroup.cxx

+ 1 - 1
panda/src/egg/eggGroup.cxx

@@ -1242,7 +1242,7 @@ adjust_under() {
     bool invert_ok = mat.invert_from(get_node_frame());
     if (invert_ok) {
       _node_frame_inv =
-        new MatrixFrame(invert(get_node_frame()));
+        new MatrixFrame(mat);
     } else {
       _node_frame_inv = NULL;
     }