From 81aa4087eec00b73ff7e23d773180bc0a538762f Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 13 Oct 2004 01:09:20 +0000 Subject: [PATCH] should strip out version suffixes from texture references too --- pandatool/src/mayaprogs/mayaCopy.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandatool/src/mayaprogs/mayaCopy.cxx b/pandatool/src/mayaprogs/mayaCopy.cxx index 677ea9f8a0..98aab6cc95 100644 --- a/pandatool/src/mayaprogs/mayaCopy.cxx +++ b/pandatool/src/mayaprogs/mayaCopy.cxx @@ -247,7 +247,7 @@ extract_texture(MayaShaderColorDef &color_def, CVSSourceDirectory *dir) { // Update the texture reference to point to the new texture // filename, relative to the maya file. Filename new_filename = dir->get_rel_to(texture_dir) + "/" + - texture_filename.get_basename(); + filter_filename(texture_filename.get_basename()); color_def.reset_maya_texture(new_filename); } }