mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
object type is case-insensitive
This commit is contained in:
parent
efc0a0b45b
commit
24b9f9da26
@ -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?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user