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

Serverside colshape.elementsWithin returns nil #2185

Closed
Yamsha75 opened this issue Apr 10, 2021 · 1 comment · Fixed by #2186
Closed

Serverside colshape.elementsWithin returns nil #2185

Yamsha75 opened this issue Apr 10, 2021 · 1 comment · Fixed by #2186
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@Yamsha75
Copy link

Describe the bug
There are three ways to get elements within colshape col:

  • getElementsWithinColshape(col)
  • col:getElementsWithin()
  • col.elementsWithin

The third option returns nil on serverside. Works correctly on clientside

To reproduce
Code below returns nil

srun col=createColSphere(0,0,0,1) return col.elementsWithin

Expected behaviour
Should work correctly on serverside, just as is presented in the wiki.

Screenshots
None

Version
v1.5.8-release-20802

Additional context
Conversation with @Pirulax

@Pirulax
Copy link
Contributor

Pirulax commented Apr 18, 2021

Fix #2186
Could you test it please?
Ping me on discord if yes.

@patrikjuvonen patrikjuvonen added this to the Next Release (1.5.9) milestone May 30, 2021
@patrikjuvonen patrikjuvonen added the good first issue Good for newcomers label May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants