mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
quietly ignore ObjectType none
This commit is contained in:
parent
1367be51df
commit
42faec57a0
@ -2044,6 +2044,10 @@ do_expand_object_type(EggGroup *egg_group, const pset<string> &expanded,
|
||||
} else if (cmp_nocase_uh(object_type, "model") == 0) {
|
||||
egg_syntax = "<Model> { 1 }";
|
||||
|
||||
} else if (cmp_nocase_uh(object_type, "none") == 0) {
|
||||
// ObjectType "none" is a special case, meaning nothing in particular.
|
||||
return true;
|
||||
|
||||
} else if (cmp_nocase_uh(object_type, "backstage") == 0) {
|
||||
// Ignore "backstage" geometry.
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user