From 2f52ccf8ca1b92a7bbdee363e90b8809273c9e29 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 23 Jan 2009 23:47:10 +0000 Subject: [PATCH] oops, further fix --- panda/src/gobj/texture.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/panda/src/gobj/texture.cxx b/panda/src/gobj/texture.cxx index 978b6e4f6b..4750a17007 100644 --- a/panda/src/gobj/texture.cxx +++ b/panda/src/gobj/texture.cxx @@ -5652,11 +5652,10 @@ make_from_bam(const FactoryParams ¶ms) { me = TexturePool::load_cube_map(filename, false, options); break; } - - me->fillin_from(dummy); } if (me != (Texture *)NULL) { + me->fillin_from(dummy); me->set_name(name); } }