Browse Source

oops, further fix

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

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

@@ -5652,11 +5652,10 @@ make_from_bam(const FactoryParams &params) {
         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);
     }
   }