Revision: 49967 http://brlcad.svn.sourceforge.net/brlcad/?rev=49967&view=rev Author: bob1961 Date: 2012-04-10 21:05:40 +0000 (Tue, 10 Apr 2012) Log Message: ----------- This fixes the shaded geometry display problem when the embedded framebuffer is active.
Modified Paths: -------------- brlcad/trunk/src/mged/mged.c Modified: brlcad/trunk/src/mged/mged.c =================================================================== --- brlcad/trunk/src/mged/mged.c 2012-04-10 20:52:40 UTC (rev 49966) +++ brlcad/trunk/src/mged/mged.c 2012-04-10 21:05:40 UTC (rev 49967) @@ -2337,7 +2337,13 @@ mged_variables->mv_fb_overlay && mged_variables->mv_fb_all) { fb_refresh(fbp, 0, 0, dmp->dm_width, dmp->dm_height); + + if (restore_zbuffer) + DM_SET_ZBUFFER(dmp, 1); } else { + if (restore_zbuffer) + DM_SET_ZBUFFER(dmp, 1); + /* Draw each solid in its proper place on the * screen by applying zoom, rotation, & * translation. Calls DM_LOADMATRIX() and @@ -2407,9 +2413,6 @@ } DM_DRAW_END(dmp); - - if (restore_zbuffer) - DM_SET_ZBUFFER(dmp, 1); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits