浏览代码

recursive lock

David Rose 17 年之前
父节点
当前提交
25af05eef3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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()) {
     return (*ti).second;
   }
-  if (!has_fullpath()) {
+  if (_fullpath.empty()) {
     return (Texture*)NULL;
   }
   Filename main = _fullpath;