Răsfoiți Sursa

solve issue #2177 (PBRTerrainAdvancedTest typo) (#2180)

Stephen Gold 1 an în urmă
părinte
comite
1b632a4cc6

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

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009-2021 jMonkeyEngine
+ * Copyright (c) 2009-2024 jMonkeyEngine
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -444,7 +444,7 @@ public class PBRTerrainAdvancedTest extends SimpleApplication {
         rootNode.addLight(directionalLight);
 
         ambientLight = new AmbientLight();
-        directionalLight.setColor(ColorRGBA.White);
+        ambientLight.setColor(ColorRGBA.White);
         rootNode.addLight(ambientLight);
     }