Array is in pairs but has a single sentinel, trips up Coverity (CID 147346) and does allow an out-of-bounds write if WX_GL_SAMPLES were ever removed from the array.
* CID 143740: Null pointer dereferences (NULL_RETURNS) A few minor cut/paste and style issues in the 3D code are also fixed.
+ Added renderer for 3D model preview (Mario) + Added 3d_cache including name resolver and modifications to 3D model dialogs (Cirilo)