[Bf-python] Operator Fails on tweaking/redo

David Silverman silvermindyarr at gmail.com
Sun Nov 13 20:57:40 CET 2011


Hi all,
I am working on an operator that "scans" a mesh, creating points. It works
fine on first execution, but fails with any tweaks to it's properties.

The error is that it thinks that the mesh selected suddenly has no geometry
to do ray_cast() on, but this is incorrect. There is no modification of
the selected object, and manually running the operator again shows no
problem.

Printscreen: http://www.pasteall.org/pic/20639

* The object can't have been modified
* The knowledge of what object is selected can't have changed, the error
gives it's name

Can this be a red herring, something reported, but not the real problem?

Code here:
http://www.pasteall.org/26353

Any help would be great as i'm stuck at this point. I don't want to add
functionality if something more basic is broken, it will get harder to fix.

Thanks
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20111113/d6e80605/attachment.html>


More information about the Bf-python mailing list