mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
should strip out version suffixes from texture references too
This commit is contained in:
parent
bcbe9bb30c
commit
81aa4087ee
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user