ソースを参照

change default config option for keep-geom-ram

David Rose 24 年 前
コミット
aceef42011
1 ファイル変更1 行追加1 行削除
  1. 1 1
      panda/src/gobj/config_gobj.cxx

+ 1 - 1
panda/src/gobj/config_gobj.cxx

@@ -78,7 +78,7 @@ bool keep_texture_ram = config_gobj.GetBool("keep-texture-ram", false);
 // Ditto for Geom's.  This is a little more dangerous, because if
 // Ditto for Geom's.  This is a little more dangerous, because if
 // anyone calls release_all_geoms() on the GSG, we won't be able to
 // anyone calls release_all_geoms() on the GSG, we won't be able to
 // restore them automatically.
 // restore them automatically.
-bool keep_geom_ram = config_gobj.GetBool("keep-geom-ram", false);
+bool keep_geom_ram = config_gobj.GetBool("keep-geom-ram", true);
 
 
 // Set this true to allow the use of retained mode rendering, which
 // Set this true to allow the use of retained mode rendering, which
 // creates specific cache information (like display lists or vertex
 // creates specific cache information (like display lists or vertex