소스 검색

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;