Browse Source

whoops, fix texture bam loader

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

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

@@ -5652,6 +5652,8 @@ make_from_bam(const FactoryParams &params) {
         me = TexturePool::load_cube_map(filename, false, options);
         me = TexturePool::load_cube_map(filename, false, options);
         break;
         break;
       }
       }
+
+      me->fillin_from(dummy);
     }
     }
 
 
     if (me != (Texture *)NULL) {
     if (me != (Texture *)NULL) {