Răsfoiți Sursa

paste buffer corruption

David Rose 24 ani în urmă
părinte
comite
13918eb201
1 a modificat fișierele cu 2 adăugiri și 3 ștergeri
  1. 2 3
      panda/src/pgui/pgTop.cxx

+ 2 - 3
panda/src/pgui/pgTop.cxx

@@ -189,11 +189,10 @@ r_traverse(Node *node, const ArcChain &chain) {
       if (!get_transition_into(tt, ntw)) {
         // No relative transform.
         mat = LMatrix4f::ident_mat();
-        return;
+      } else {
+        mat = tt->get_matrix();
       }
       
-      mat = tt->get_matrix();
-      
       // Now apply this transform to the item's frame.
       pgi->activate_region(this, mat, _sort_index);
       _sort_index++;