mathieutozer.com

em ay tee aich ai ei you tee oh zed ei ar dot com




Bug Fixed


E-mail this post



Remember me (?)



All personal information that you provide here will be governed by the Privacy Policy of Blogger.com. More...



Not having a debugger is a real pita. It might have helped me find this one much faster than I did!

SceneView.m: StillLife - Project Find

That return was missing!

I wanted to record though that the reason why I left it out in the first place was because I had forgotten or misunderstood the nature of dragging events. Part of me thought that once it finished, the thread of execution would end at the return of the draggingEnded method or something, but in actual fact what was happening (and it's obvious and understantable and deliciously clean NOW) was that the cascaded levels of method calls would wind themselves back up again, right to the point where that that dragScene method was called, and the execution would continue, running the else to this if clause, which would cause the retarded behaviour which was the bug. retuning there makes happen what should, and the bug doesn't occur anymore.

Hooray

Labels:


0 Responses to “Bug Fixed”

Leave a Reply

      Convert to boldConvert to italicConvert to link

 


+RSS | dev blog | Portfolio

About me

My status

Previous posts

www.flickr.com
This is a Flickr badge showing public photos from mathieutozer200. Make your own badge here.
Locations of visitors to this page