Skip to content

spatial index queries return Nodes outside view's rendering area #128

Description

@PawelRoman

Steps to replicate:

  1. Have a view that renders stuff only in specific area e.g. 100x100 box in the middle of the screen
  2. Add some nodes to that view in such position that those nodes are outside the view's render area ie. do not appear on the screen
  3. Run scene.spatial_index.query_point on a point OUTSIDE view's render arena, but where the node is.

Expected: node is not get returned (as it is outside view's render area)
Actual: node is returned

Suggestion: add a flag to all spatial query methods to allow to explicitly query for nodes outside of the view's render area. But by default that flag should be disabled - queries should return only the nodes in the render area of the view.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions