Merge remote-tracking branch 'singu/master'
Merge remote-tracking branch 'singu/master'
Don't cause undefined behavior by calling std::vector<>::front() for empty container.
Kill some vertex attribute / shader attribute inconsistencies. (Issue 1287, 1281) Also hopefully improved face edit overlay behavior when editing normal/specular texture/scale/offset/rotation.
Fix minor error in shader which prevented ssao from working with shadows enabled.
Use GL_STREAM_DRAW_ARB for post-process fullscreen quad.
Fixed Alerics favorite assertion.
Avoid calling a few deprecated gl functions when shaders are enabled.
Merge branch 'master' of git://github.com/Shyotl/SingularityViewer