20 Commits

Author SHA1 Message Date
Stephen Gold
f652591281
remove unnecessary casts and tests for null, discovered using NetBeans (#1285)
* remove unnecessary tests for null, discovered using NetBeans

* jme3-core: remove unnecessary casts

* jme3-examples: remove unnecessary casts

* jme3-vr: remove unnecessary casts

* jme-plugins: remove unnecessary casts

* jme3-terrain: remove unnecessary casts

* jme3-desktop: remove unnecessary casts

* jme3-android: remove unnecessary casts

* remove unnecessary casts, discovered using NetBeans

* TerrainQuad: back out one casting delta that's not a removal

* TerrainPatch: simplify generateLodEntropies() after removal of the cast

* TerrainPatch: simplify reIndexGeometry() after removal of the cast
2020-02-13 10:21:51 -08:00
Toni Helenius
427ae0a28b
Added Override annotations, finals, some cleanup and better null checks (#1271)
* Added Override annotations, finals, some cleanup and better null checks

* More general null check

* Follow naming conventions
2020-01-29 11:05:12 -08:00
joliver82
68fb1afe5d GLRenderer.modifyTexture on GLES fix (#1235)
* Update GLImageFormats.java

* First implementation to solve the glTexSubImage issue

* Setting proper format to the image

* Removed the Image.convertToFormat method and its usage from GLRenderer.modifyTexture. Added a warning instead for the potential failing cases
Fixing the issue in JmeBatchRenderBackend.loadImage transforming it to RGBA8 if required
2019-12-22 21:23:31 -08:00
Stephen Gold
194ae883c5
fix for issue #99 (pr #1082) 2019-09-15 21:43:11 -07:00
Stephen Gold
9d6d31d685 GuiEvent: add JavaDoc (comments only) 2019-01-14 09:16:51 -08:00
Toni Helenius
55d5cd7381 Updated Nifty to 1.4.3 and cleaned up the build 2018-12-30 22:51:18 -08:00
Stephen Gold
531ff4edb1 correct 2 more typographical errors in comments 2018-03-17 20:09:04 -07:00
Stephen Gold
9675d52745 resolve deprecation warnings in jme3-niftygui 2018-01-18 14:46:09 +01:00
Stephen Gold
b159c847cc comment corrections: mostly spelling and grammar 2018-01-16 18:35:07 -08:00
David Bernard
676251b4d5 nifty-gui: upgrade from 1.4.1 to 1.4.2, available on maven central with the new “official” groupId: com.github.nifty-gui 2017-11-29 20:07:26 +01:00
Nehon
6b33ae470a Added a new step in AppProfiler for viewport processors and added method to pass the profiler to all processors. 2017-02-05 17:57:28 +01:00
Kirill Vainer
b01d356ee4 niftygui: add nifty repository to POM 2016-05-03 22:34:51 -04:00
Kirill Vainer
62eede87b3 niftygui build: add niftygui repository reference to pom 2015-09-12 17:54:43 -04:00
Christian Gärtner
97a2f58be7 [Nifty-GUI] Using java logger, instead of stdout
Replaced call to System.out.println() with proper logging call.
2015-06-22 13:59:11 +02:00
shadowislord
d2af0017b2 Nifty BatchRenderBackend: set colorspace property on images 2015-03-27 22:40:18 -04:00
void
d4ade2473f feature: Update Nifty GUI to version 1.4.1
This commit updates Nifty to version 1.4.1 and makes all
the necessary changes to the JME-Nifty integration to be
compatible with this version of Nifty (manily support of multiple
texture atlases in the batch renderer and some minor changes
like the removal of some *Null classes).

Most User code should still be able to compile with this change.

However, the NiftyJmeDisplay constructor that requires the
width and height of the texture atlas has been deprecated in
favour of the newly added static factory methods:
NiftyJmeDisplay.newNiftyJmeDisplay(). The new methods
add support for the Nifty BatchRenderConfiguration class that
allow further configuration of some rendering details.

The testcase jme3test.niftygui.TestNiftyGui has been modified
to use the new methods and seems to render fine for me.

Most of Nifty 1.4.1 should be compatible with old versions of
Nifty. However some compile-time incompatibilities might
exists to old 1.3.x code. Additionally some internal mechanism
have been modified with 1.4 so there might be additional runtime
incompatibilities as well.
2015-02-15 23:17:18 +01:00
Normen Hansen
d2749138ed - add nifty style to nifty jar collection (should be moved to separate library entry at some point) 2014-09-21 18:19:28 +02:00
shadowislord
99af4d9bd5 * Deprecate usage of TextureKey.setAsCube() and TextureKey.setAsTexture3D() - this is now handled by the TextureKey.setTextureTypeHint() method instead 2014-05-31 18:39:44 -04:00
shadowislord
6b12d5c638 * Fix many javadoc errors mostly related to incorrect HTML or missing references 2014-05-31 13:12:46 -04:00
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00