Skip to content

Commit

Permalink
RenderState: fixed 'backStencilStencilFailOperation' field serializat…
Browse files Browse the repository at this point in the history
…ion issue. (#1719)
  • Loading branch information
Ali-RS authored and stephengold committed Dec 27, 2021
1 parent 8976bac commit 2e90b9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jme3-core/src/main/java/com/jme3/material/RenderState.java
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ public void write(JmeExporter ex) throws IOException {
oc.write(frontStencilStencilFailOperation, "frontStencilStencilFailOperation", StencilOperation.Keep);
oc.write(frontStencilDepthFailOperation, "frontStencilDepthFailOperation", StencilOperation.Keep);
oc.write(frontStencilDepthPassOperation, "frontStencilDepthPassOperation", StencilOperation.Keep);
oc.write(backStencilStencilFailOperation, "frontStencilStencilFailOperation", StencilOperation.Keep);
oc.write(backStencilStencilFailOperation, "backStencilStencilFailOperation", StencilOperation.Keep);
oc.write(backStencilDepthFailOperation, "backStencilDepthFailOperation", StencilOperation.Keep);
oc.write(backStencilDepthPassOperation, "backStencilDepthPassOperation", StencilOperation.Keep);
oc.write(frontStencilFunction, "frontStencilFunction", TestFunction.Always);
Expand Down

0 comments on commit 2e90b9f

Please sign in to comment.