Browse Source

recursive lock

David Rose 17 years ago
parent
commit
25af05eef3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/gobj/texture.cxx

+ 1 - 1
panda/src/gobj/texture.cxx

@@ -724,7 +724,7 @@ load_related(const InternalName *suffix) const {
   if (ti != _related_textures.end()) {
   if (ti != _related_textures.end()) {
     return (*ti).second;
     return (*ti).second;
   }
   }
-  if (!has_fullpath()) {
+  if (_fullpath.empty()) {
     return (Texture*)NULL;
     return (Texture*)NULL;
   }
   }
   Filename main = _fullpath;
   Filename main = _fullpath;