Browse Source

fix reload

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

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

@@ -3020,6 +3020,8 @@ do_reload_ram_image(bool allow_compression) {
     n = _num_mipmap_levels_read;
     n = _num_mipmap_levels_read;
   }
   }
 
 
+  _loaded_from_image = false;
+
   LoaderOptions options;
   LoaderOptions options;
   options.set_texture_flags(LoaderOptions::TF_preload);
   options.set_texture_flags(LoaderOptions::TF_preload);
   do_read(_fullpath, _alpha_fullpath,
   do_read(_fullpath, _alpha_fullpath,