Bizarrely Dissappearing faces

I’m having faces magically dissappear on me with my script, and there appears to be no reason as far as I can tell

the script is here

http://wiki.blender.org/bin/view.pl/Blenderdev/SculpMesh

create a default suzanne and run the script, RMB on suzanne, and watch her eyes dissappear. For other mesh the entire object dissappears.

LetterRip

okay I think I know what is happening it looks like I dropped a term that takes into account the objects location. Will update after I verify.

LetterRip

Don’t you just love it when you solve your own problem before anybody can even post? :wink: