Main repository of MikuMikuStudio
Revision | 016ed7883591065ac0e7da9d7c72072d588c28c8 (tree) |
---|---|
Time | 2013-05-23 03:26:46 |
Author | remy.bouquet@gmail.com <remy.bouquet@gmai...> |
Commiter | remy.bouquet@gmail.com |
fixed JmeBatchRendererBackend that was not properly reseting the forcedRenderState of the renderer causing depth test and depth write to be disable once th first frame was rendered
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10630 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
@@ -452,6 +452,7 @@ public class JmeBatchRenderBackend implements BatchRenderBackend { | ||
452 | 452 | |
453 | 453 | material.setTexture("ColorMap", textureAtlas); |
454 | 454 | material.render(meshGeometry, renderManager); |
455 | + renderManager.setForcedRenderState(null); | |
455 | 456 | } |
456 | 457 | |
457 | 458 | private RenderState.BlendMode convertBlend(final BlendMode blendMode) { |