Browse Source

object type is case-insensitive

David Rose 23 years ago
parent
commit
24b9f9da26
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/egg2pg/eggLoader.cxx

+ 1 - 1
panda/src/egg2pg/eggLoader.cxx

@@ -1947,7 +1947,7 @@ do_expand_object_type(EggGroup *egg_group, const pset<string> &expanded,
   // shorthand for.  First, look in the config file.
   // shorthand for.  First, look in the config file.
 
 
   string egg_syntax =
   string egg_syntax =
-    config_egg2pg.GetString("egg-object-type-" + object_type, "none");
+    config_egg2pg.GetString("egg-object-type-" + downcase(object_type), "none");
 
 
   if (egg_syntax == "none") {
   if (egg_syntax == "none") {
     // It wasn't defined in a config file.  Maybe it's built in?
     // It wasn't defined in a config file.  Maybe it's built in?