merge fixes

This commit is contained in:
Kirill Vainer 2016-04-02 15:54:45 -04:00
parent f3414acc73
commit 2e4148f3c3
2 changed files with 5 additions and 3 deletions

View File

@ -1500,6 +1500,8 @@ public abstract class Spatial implements Savable, Cloneable, Collidable, Cloneab
this.localLights = cloner.clone(localLights); this.localLights = cloner.clone(localLights);
this.worldTransform = cloner.clone(worldTransform); this.worldTransform = cloner.clone(worldTransform);
this.localTransform = cloner.clone(localTransform); this.localTransform = cloner.clone(localTransform);
this.worldOverrides = cloner.clone(worldOverrides);
this.localOverrides = cloner.clone(localOverrides);
this.controls = cloner.clone(controls); this.controls = cloner.clone(controls);
// Cloner doesn't handle maps on its own just yet. // Cloner doesn't handle maps on its own just yet.

View File

@ -233,8 +233,8 @@ public abstract class LwjglContext implements JmeContext {
if (GLContext.getCapabilities().GL_ARB_debug_output && settings.getBoolean("GraphicsDebug")) { if (GLContext.getCapabilities().GL_ARB_debug_output && settings.getBoolean("GraphicsDebug")) {
ARBDebugOutput.glDebugMessageCallbackARB(new ARBDebugOutputCallback(new LwjglGLDebugOutputHandler())); ARBDebugOutput.glDebugMessageCallbackARB(new ARBDebugOutputCallback(new LwjglGLDebugOutputHandler()));
} }
renderer.setMainFrameBufferSrgb(settings.getGammaCorrection()); renderer.setMainFrameBufferSrgb(settings.isGammaCorrection());
renderer.setLinearizeSrgbImages(settings.getGammaCorrection()); renderer.setLinearizeSrgbImages(settings.isGammaCorrection());
// Init input // Init input
if (keyInput != null) { if (keyInput != null) {