From ad238789c325e57e67909b6b6d4bf5adaf9ef9cf Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 18 Sep 2003 20:28:10 +0000 Subject: [PATCH] ignore CAMERAS --- pandatool/src/softprogs/softCVS.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pandatool/src/softprogs/softCVS.cxx b/pandatool/src/softprogs/softCVS.cxx index d70b70d0e4..65de604113 100644 --- a/pandatool/src/softprogs/softCVS.cxx +++ b/pandatool/src/softprogs/softCVS.cxx @@ -174,6 +174,12 @@ traverse_subdir(const Filename &directory) { if (dirname == "SCENES") { 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") { // In the pictures directory, we must keep everything, since the // scene files don't explicitly reference these but they're still