Skip to content

Commit 1b632a4

Browse files
authored
solve issue #2177 (PBRTerrainAdvancedTest typo) (#2180)
1 parent b53e9f6 commit 1b632a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jme3-examples/src/main/java/jme3test/terrain/PBRTerrainAdvancedTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2009-2021 jMonkeyEngine
2+
* Copyright (c) 2009-2024 jMonkeyEngine
33
* All rights reserved.
44
*
55
* Redistribution and use in source and binary forms, with or without
@@ -444,7 +444,7 @@ private void setUpLights() {
444444
rootNode.addLight(directionalLight);
445445

446446
ambientLight = new AmbientLight();
447-
directionalLight.setColor(ColorRGBA.White);
447+
ambientLight.setColor(ColorRGBA.White);
448448
rootNode.addLight(ambientLight);
449449
}
450450

0 commit comments

Comments
 (0)