5449 Commits

Author SHA1 Message Date
MeFisto94
e051936f9b Simplify Naming of SDK Windows (#135) 2016-02-20 13:30:12 +01:00
MeFisto94
1c12b68bb0 Validate SkyboxWizard's Input on multiple ways to inform the user rather than throwing an exception (#81). 2016-02-20 11:19:07 +01:00
Kirill Vainer
2a959e17ab particle: fix fading not working correctly 2016-02-19 14:20:25 -05:00
MeFisto94
6f6e93e01b Simplified the AudioNode constructors (#342) and allow looping/seeking on every AudioNode now by default. 2016-02-19 00:59:15 +01:00
Paul Speed
947c576ca8 Merge pull request #416 from MeFisto94/CloneLights
Fixes the bug of shallow copies when cloning lights
2016-02-17 18:42:26 -05:00
MeFisto94
f233565031 Changed the copyright notice in the comments just like it was done on 25ca07d. 2016-02-18 00:10:39 +01:00
MeFisto94
6c4e8010f2 Fixes the bug of shallow copies when cloning lights (See http://hub.jmonkeyengine.org/t/what-is-the-expected-meaning-of-light-clone/35100 ) 2016-02-17 23:45:27 +01:00
Kirill Vainer
d1a09536e5 Merge pull request #415 from MeFisto94/master
Fixes #360 : Material now serializes name
2016-02-17 15:17:57 -05:00
MeFisto94
04566d8c6a Fixes #360 : Material now serializes name 2016-02-17 12:21:17 +01:00
Paul Speed
8c1eb6f455 Merge pull request #413 from john01dav/EnqueueRunnable
Added enqueue runnable
2016-02-14 16:31:01 -05:00
john01dav
f9a9839228 Added enqueue runnable 2016-02-14 15:16:45 -06:00
Paul Speed
f128ff8df7 Merge pull request #409 from MeFisto94/JavaDoc
Tiny Javadoc Issue
2016-02-10 19:14:51 -05:00
MeFisto94
75360a2f92 Just a small javadoc issue that was catching my eye 2016-02-10 20:51:15 +01:00
jmekaelthas
1b99896be4 Bugfix: fixed a bug that caused ClassCastException while loading linked
meshes.
2016-02-08 13:29:02 +01:00
jmekaelthas
c7dc73e85f Bugfix: fixed incorrect faces' triangulation. 2016-02-07 14:58:30 +01:00
David Bernard
80c11a5f02 build: fix sdk build failure due to writeFullPom 2016-02-06 11:04:22 +01:00
David Bernard
2aca942b1b build: use the same custom pom file for 'install', 'uploadArchives' and 'uploadBintray'. A custom pom with minimal information required to maven central 2016-02-06 10:47:57 +01:00
Paul Speed
a0261e78fb Added meaningful messages to the exceptions. 2016-01-30 07:15:04 -05:00
Paul Speed
d4c94bc7c0 Added a vector4f based populate method. 2016-01-30 04:32:19 -05:00
David Bernard
142d7bebae build: upload on bintray from travis when a git tag is set and it starts by jmeMainVersion 2016-01-28 22:06:21 +01:00
Kirill Vainer
c39788d4fa Merge pull request #402 from MeFisto94/Issue373
Fixes #373 - Faulty Loggings of a SphereCollissionShape when using na…
2016-01-26 19:52:59 -05:00
Paul Speed
8cfe537625 Fix clone to account for the update list added for update
optimization.  The updateList was cloned also and needs to
be cleared out and the update flag reset as if freshly
initialized.  Thanks for lightbringer for pointing out the
problem and solution.
2016-01-26 19:28:23 -05:00
MeFisto94
e776967c23 Reverted Changes and fixed it the way it was done in CapsuleCollissionShape (See Commit f836b26)
"SphereCollisionShape: warn about scaling only if its not identity"
2016-01-26 15:53:53 +01:00
Paul Speed
c6768dc724 Added some additional finest logging. 2016-01-23 05:38:23 -05:00
MeFisto94
5064552905 Fixes #373 - Faulty Loggings of a SphereCollissionShape when using native bullet 2016-01-21 15:35:20 +01:00
Paul Speed
b28f7e9293 Removing a println I had for testing something else.
Added some gating to the endpoint closure to try to delay
some NPE I'm seeing caused be a race condition somewhere when
client and server in the same VM and shutting down at the same
time.
2016-01-16 04:24:02 -05:00
Paul Speed
ac672df63a Fixes to keep the kernel adapter threads from hanging.
Closing the underlying kernel didn't wake up any readers
and so the read() operation in the adapter was never returning.
KernelAdapter.close() was modified to call join() after closing
the underlying kernel so that the method won't complete until
all of the threads are done.
Then the kernels were modified to wakeup the readers (and this
is now standardized in a base class method) so that they don't
hang forever.
2016-01-16 03:28:10 -05:00
jmekaelthas
84a38d1363 Bugfix: fixed an error that caused bad faces triangulation in some
cases.
2016-01-13 20:02:32 +01:00
Paul Speed
696b19467f Merge pull request #401 from Pesegato/master
Added support to Logitech F310 with Xinput for Windows 10
2016-01-08 09:29:58 -05:00
Pesegato
1df3c204f2 Added support to Logitech F310 with Xinput for Windows 10 2016-01-08 10:06:49 +01:00
Paul Speed
c38a050f61 Added some trace level logging to field serializer. 2015-12-31 04:28:03 -05:00
Paul Speed
ac5cc5312b Added some additional information to the bad constants exception.
Only of marginal utility but it was a nice sanity check.
2015-12-31 04:27:05 -05:00
Paul Speed
a0569b340d Fixed a bug caused by generic registration of the enum class
but it could catch the user unaware for any registered non-leaf
class.  When a class has a field of a specific final type then
the type information is implicit in the outer object... and
the proper serialization information can be written.  It is then
sometimes useful to register a generic serializer for something
like Enum to catch these cases.  However, there are many times where
the type cannot be implicitly known and so must be specifically
registered.  Prior to this fix, having a generic Enum serializer
registered would cause problems on the reading end because it
wouldn't know what real enum class to use.
Now we catch the issue on the write side where enough information
is known to properly report this to the user.  Only a few Bothans
died to bring this info.
2015-12-31 04:26:22 -05:00
Paul Speed
05587ab387 Modified to avoid closing the connection if it is already
closed.  Certain race conditions can cause this to happen
during whole-server shutdown.
2015-12-31 04:23:11 -05:00
Kirill Vainer
7bf4949e83 Revert native loading changes 2015-12-29 00:11:31 -05:00
Kirill Vainer
2ca55c8b3a LWJGL3 improvements
* Added key remapping for GLFW key constants
 * Rename AppSettings.getGammaCorrection() to isGammaCorrection()
 * Use LWJGL3 artifacts from maven
 * Minor compatibility changes for LWJGL 3.0.0b
 * Fixed some minor bugs in LwjglWindow
2015-12-29 00:00:39 -05:00
Paul Speed
6cb691592d Fixed two potential race conditions in the DefaultClient.
In one case, closing a client while it was already closing on
another thread (say because the server is shutting down and
you are exiting at the same time) would cause an NPE if you
caught it just right.  Now the thing checking and setting the
connection state is synchronized to avoid the race.

The other more subtle one was caused by sending out the 'connected'
event before the services were all started.  It's quite common for
application code to start doing stuff when the 'connected' event comes
through like sending messages and stuff.  If the services hadn't been
fully started then even the serializers might not be registered yet...
and that = bad.

Now the client doesn't send the 'connected' event until the services
are started.  This should be safe and one could argue that it's more
'correct' but there is some small chance that it screws up certain
use-cases.  However, if a real use-case comes up that's not solved by
a service then we can always add some kind of prestarted event.
2015-12-26 17:56:31 -05:00
Paul Speed
d8d7d061f6 Small formatting change. 2015-12-26 17:51:47 -05:00
Paul Speed
0bfabacef6 Small formatting change. 2015-12-26 17:49:37 -05:00
Paul Speed
d241a9a235 Added a couple more bracketing log messages just to confirm
my own sanity.
Some small formatting changes.
2015-12-26 17:45:58 -05:00
Paul Speed
ab0628c070 Fixed a typo in an exception message. 2015-12-26 17:42:15 -05:00
Kirill Vainer
72423b682e Merge pull request #392 from NemesisMate/patch-4
Fixed a possible bug in TextureAtlas.java
2015-12-26 15:36:41 -05:00
Paul Speed
50b2f76bdf Modified the FieldSerializer to support classes with non-public no-arg constructors.
Finally we can end the tyranny of exposing dangerous public constructors in the
name of a cheap serialization.
2015-12-24 03:29:36 -05:00
Daniel Johansson
69c17d72c8 Reverted statistics code for tracking number of lights in the scene. Not counting correctly. Maybe this can be added back in later on. 2015-12-23 20:49:25 +00:00
Daniel Johansson
0354f976e9 Merge remote-tracking branch 'origin/master' 2015-12-22 11:11:31 +00:00
Daniel Johansson
25b9691e32 Added support for toggling lights on and off via Light.setEnabled(boolean). This implements #393
This commit also contains some minor changes to TestManyLightsSingle which now has a key trigger (L) for toggling lights on and off.
2015-12-22 11:10:47 +00:00
Daniel Johansson
67eb998ef4 Added numLights to statistics. This tells us how many lights are left to render after filtering has occurred. Also did some tidy up of javadoc in RenderManager. 2015-12-22 10:55:43 +00:00
Daniel Johansson
e0c24cd73a Added a guard to ensure setSinglePassLightBatchSize() is set to a minimum of at least 1. 2015-12-22 10:37:08 +00:00
Paul Speed
98194e83aa Modified the RPC layer to pass exceptions over the wire
if they are serializable.  They are still wrapped but at
least the original exception is intact if callers want to 
peel it out.
2015-12-22 05:33:44 -05:00
normen
fd4f9789cc Merge pull request #391 from NemesisMate/patch-5
Fixed BetterCharacterControl "flickering" when not moving.
2015-12-18 16:54:39 +01:00