Page MenuHome

scene.ray_cast() return nothing
Closed, ResolvedPublic

Description

System Information
Win 7
I7-5820K
GTX780 ti (368.69)

Blender Version
Broken: 2.78.4 9f67367
Worked: official 2.78 e8299c8

Short description of error
Using scene.raycast() in python is not working anymore. I don't see any update in the doc, truly sorry if it's not a bug.

Exact steps for others to reproduce the error
Open the file ray_cast.blend, run the srcipt, launch the operator "TestRayCast" in the tabs.
It should return the name of the object and a bgl circle under the mouse if an object is find, but nothing happend.

Revisions and Commits

Event Timeline

Indeed, there are some code problems in Blender involving NULL variables being freed and arguments not used :\
I only saw now that sergey tried to warn here rB62f2c44ffb60
I will fix now

Bastien Montagne (mont29) lowered the priority of this task from 90 to Normal.Feb 4 2017, 10:13 PM

@Germano Cavalcante (mano-wii) looks like something went wrong in snap code?

Already fixed the crash due to NULL access in rBa2c469edc2d, btw.