Image: treat setMipMapSizes as a request to generate mips

experimental
Kirill Vainer 10 years ago
parent 10cde0a4b2
commit 0a3e9a434e
  1. 4
      jme3-core/src/main/java/com/jme3/texture/Image.java

@ -791,8 +791,8 @@ public class Image extends NativeObject implements Savable /*, Cloneable*/ {
needGeneratedMips = false;
mipsWereGenerated = false;
} else {
needGeneratedMips = false;
mipsWereGenerated = true;
needGeneratedMips = true;
mipsWereGenerated = false;
}
setUpdateNeeded();

Loading…
Cancel
Save