mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
has_texture is no longer filled in reliably
This commit is contained in:
parent
0245552aa1
commit
70572c0c11
@ -308,7 +308,6 @@ copy_maya_file(const Filename &source, const Filename &dest,
|
||||
////////////////////////////////////////////////////////////////////
|
||||
bool MayaCopy::
|
||||
extract_texture(MayaShaderColorDef &color_def, CVSSourceDirectory *dir) {
|
||||
if (color_def._has_texture) {
|
||||
Filename texture_filename =
|
||||
_path_replace->convert_path(color_def._texture_filename);
|
||||
if (!texture_filename.exists()) {
|
||||
@ -333,7 +332,6 @@ extract_texture(MayaShaderColorDef &color_def, CVSSourceDirectory *dir) {
|
||||
Filename new_filename = texture_path.get_rel_from(dir);
|
||||
color_def.reset_maya_texture(new_filename);
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user