• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Main repository of MikuMikuStudio


Commit MetaInfo

Revision016ed7883591065ac0e7da9d7c72072d588c28c8 (tree)
Time2013-05-23 03:26:46
Authorremy.bouquet@gmail.com <remy.bouquet@gmai...>
Commiterremy.bouquet@gmail.com

Log Message

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

Change Summary

Incremental Difference

--- a/engine/src/niftygui/com/jme3/niftygui/JmeBatchRenderBackend.java
+++ b/engine/src/niftygui/com/jme3/niftygui/JmeBatchRenderBackend.java
@@ -452,6 +452,7 @@ public class JmeBatchRenderBackend implements BatchRenderBackend {
452452
453453 material.setTexture("ColorMap", textureAtlas);
454454 material.render(meshGeometry, renderManager);
455+ renderManager.setForcedRenderState(null);
455456 }
456457
457458 private RenderState.BlendMode convertBlend(final BlendMode blendMode) {