This commit allows EnvironmentCamera users to access the ViewPorts used
for rendering the snapshots. This allows incorporating screenspace and other
SceneProcessor-based effects into the snapshots as well as the scene geometry.
* JmeVersion: Don't throw a NullPointerException when version.properties can't be found.
* ImplHandler: Reduce Code-Duplication by using a multi-catch statement
Fixes#1261 - Clone the Terrain Picker, so that loading a terrain from file still works (after cloning, the picker would have the wrong terrain quad instance)
* 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
master branch. (On master we want to default to the gradle.properties
version and not the latest tag for non-specific-commit tags.)
Updated gradle.properties to set master to be 3.4.0 for further development.
when building locally.
Normal auto-detected versions will be based on the base version parsed
from the most recent tag on the branch with a -SNAPSHOT appended. If
the current commit is the tagged commit then it is used directly to
preserve backwards compatibility... but really that should be a CI
only option for most use-cases.
A new includeBranchInVersion option was added to allow the old behavior
of including the branch name in a munged version string for those
wanting to keep their experimental branch builds separate from their
normal master/version-branch builds.
because user code should never throw NullPointerException.
Also made trying to add a child to itself an error instead of a no-op. Attempting
to do something like guiNode.attachChild(guiNode) will now throw an IllegalArgumentException.
a user later chooses to call updatePoints() after having created the line with
JME constants... since updatePoints() would actually call set() instead of just
replacing the references. The constructor and updatePoints() should match and I chose
to err on the side of caution and make them both operate on local instances.
to see if they've changed in the current frame. SimpleApplication will configure
this by default to use asserts but the application is free to change it to throw
regular exceptions or just log the error as desired.