-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
Description
console_object.cpp
console_object_create()
should_be_in_scope() (anonymous f-n inside)
When objects are loaded into console, we check whether they should be in scope or not. If "Show non containers" option is off, then we only put container objects into scope.
An object is considered a "container" if it's object class is part of the "container object class list". That list is obtained by adconfig. See adconfig ctor where "d->filter_containers" is set.
End result:
- If "show non containers" is off, then filter is applied but ends up filtering out all objects out of scope and scope is empty
- If option is on, then filter is ignored and scope loads normally