From 25af05eef3529d3a7a652c2c4e39edb0c52e6cd3 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 16 Sep 2008 01:50:49 +0000 Subject: [PATCH] recursive lock --- panda/src/gobj/texture.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/gobj/texture.cxx b/panda/src/gobj/texture.cxx index 3417f4385e..8560065303 100644 --- a/panda/src/gobj/texture.cxx +++ b/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;