Skip to content

Commit b2cc9a3

Browse files
committed
updated dependence to tonegod.emitter
1 parent 466d27a commit b2cc9a3

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ dependencies {
128128
compile ('com.github.JavaSaBr:jme3-spaceshift-extension:1.5.1') {
129129
exclude group: 'org.jmonkeyengine'
130130
}
131-
compile ('com.github.JavaSaBr:tonegodemitter:2.3.1') {
131+
compile ('com.github.JavaSaBr:tonegodemitter:2.3.4') {
132132
exclude group: 'org.jmonkeyengine'
133133
}
134134

src/main/java/com/ss/editor/ui/dialog/SettingsDialog.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.ss.editor.ui.dialog;
22

33
import static com.ss.rlib.util.ObjectUtils.notNull;
4+
import com.jme3.asset.AssetManager;
45
import com.jme3.math.Vector3f;
56
import com.jme3.post.filters.FXAAFilter;
67
import com.jme3.post.filters.ToneMapFilter;
@@ -1376,9 +1377,13 @@ private void processOk() {
13761377
});
13771378

13781379
if (needUpdateClasspath > 0) {
1380+
13791381
final CustomClasspathManager customClasspathManager = CustomClasspathManager.getInstance();
13801382
customClasspathManager.updateLibraries();
13811383
customClasspathManager.updateClasses();
1384+
1385+
final AssetManager assetManager = EDITOR.getAssetManager();
1386+
assetManager.clearCache();
13821387
}
13831388

13841389
final ResourceManager resourceManager = ResourceManager.getInstance();

0 commit comments

Comments
 (0)