Browse Source

ignore CAMERAS

David Rose 22 years ago
parent
commit
ad238789c3
1 changed files with 6 additions and 0 deletions
  1. 6 0
      pandatool/src/softprogs/softCVS.cxx

+ 6 - 0
pandatool/src/softprogs/softCVS.cxx

@@ -174,6 +174,12 @@ traverse_subdir(const Filename &directory) {
   if (dirname == "SCENES") {
   if (dirname == "SCENES") {
     is_scenes = true;
     is_scenes = true;
 
 
+  } else if (dirname == "CAMERAS") {
+    // We don't want anything in the cameras directory.  These may
+    // change arbitrarily and have no bearing on the model or
+    // animation that we will extract, so avoid them altogether.
+    return;
+
   } else if (dirname == "PICTURES") {
   } else if (dirname == "PICTURES") {
     // In the pictures directory, we must keep everything, since the
     // In the pictures directory, we must keep everything, since the
     // scene files don't explicitly reference these but they're still
     // scene files don't explicitly reference these but they're still