ivansafrin/Polycode — pull request #155 by mcclure (2013-02-20 07:56:57+00:00)
Title: Screen():getDefaultCamera():getScreenShaderMaterial():getShaderBinding(0) crashes

A variable is not initialized to NULL in Camera, so if you try to request a screen shader material which was not properly initialized (for example because of a problem with the .mat file) you will get a non-NULL garbage value and immediately crash upon trying to do anything to it.