Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container filter doesn't work on Windows server #202

Open
Kvel2D opened this issue May 18, 2021 · 1 comment
Open

Container filter doesn't work on Windows server #202

Kvel2D opened this issue May 18, 2021 · 1 comment
Labels

Comments

@Kvel2D
Copy link
Collaborator

Kvel2D commented May 18, 2021

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
@Kvel2D Kvel2D added the bug label May 18, 2021
@Kvel2D
Copy link
Collaborator Author

Kvel2D commented Nov 18, 2021

Update for 0.8.0:

object_impl.cpp
ObjectImpl::fetch()
object_impl_add_objects_to_console()
should_be_in_scope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant