Browse Source

paste buffer corruption

David Rose 24 years ago
parent
commit
13918eb201
1 changed files with 2 additions and 3 deletions
  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)) {
       if (!get_transition_into(tt, ntw)) {
         // No relative transform.
         // No relative transform.
         mat = LMatrix4f::ident_mat();
         mat = LMatrix4f::ident_mat();
-        return;
+      } else {
+        mat = tt->get_matrix();
       }
       }
       
       
-      mat = tt->get_matrix();
-      
       // Now apply this transform to the item's frame.
       // Now apply this transform to the item's frame.
       pgi->activate_region(this, mat, _sort_index);
       pgi->activate_region(this, mat, _sort_index);
       _sort_index++;
       _sort_index++;