The problem was that setQuad was being called in the second constructor

after updateRenderState in the third constructor, so the quad's render 
state didn't include the alpha state.  I changed it so that 
updateRenderState is called in setQuad.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3859 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Andrzej Kapolka
2006-02-15 22:19:36 +00:00
parent bbc4dcad31
commit 7d46f81392
@@ -75,8 +75,6 @@ public class FadeInOutEffect extends Node
setRenderQueueMode(Renderer.QUEUE_ORTHO);
setZOrder(overUI ? -1 : 1);
updateRenderState();
}
/**
@@ -87,6 +85,7 @@ public class FadeInOutEffect extends Node
attachChild(quad);
quad.setDefaultColor(_color);
quad.setRenderState(_astate);
quad.updateRenderState();
}
/**