Browse Source

debugging output

David Rose 18 years ago
parent
commit
4e39bfdf13
1 changed files with 6 additions and 0 deletions
  1. 6 0
      panda/src/gobj/geom.cxx

+ 6 - 0
panda/src/gobj/geom.cxx

@@ -623,6 +623,12 @@ rotate_in_place() {
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 void Geom::
 void Geom::
 unify_in_place(int max_indices, bool preserve_order) {
 unify_in_place(int max_indices, bool preserve_order) {
+  if (gobj_cat.is_debug()) {
+    gobj_cat.debug()
+      << "unify_in_place(" << max_indices << ", " << preserve_order
+      << "): " << *this << "\n";
+  }
+
   Thread *current_thread = Thread::get_current_thread();
   Thread *current_thread = Thread::get_current_thread();
   if (get_num_primitives() <= 1) {
   if (get_num_primitives() <= 1) {
     // If we don't have more than one primitive to start with, no need
     // If we don't have more than one primitive to start with, no need