소스 검색

update license and add back root node

rickard 3 달 전
부모
커밋
b2f463ab00
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      jme3-terrain-editor/src/com/jme3/gde/terraineditor/TerrainEditorController.java

+ 3 - 1
jme3-terrain-editor/src/com/jme3/gde/terraineditor/TerrainEditorController.java

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009-2010 jMonkeyEngine
+ * Copyright (c) 2009-2025 jMonkeyEngine
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without
  * Redistribution and use in source and binary forms, with or without
@@ -100,6 +100,8 @@ public class TerrainEditorController implements NodeListener {
     //private InstanceContent content;
     //private InstanceContent content;
 
 
     class TerrainSaveCookie implements SaveCookie {
     class TerrainSaveCookie implements SaveCookie {
+        JmeSpatial rootNode;
+
         @Override
         @Override
         public void save() throws IOException {
         public void save() throws IOException {
             if (alphaLayersChanged) {
             if (alphaLayersChanged) {