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.
9 years ago
Paul Speed
d8d7d061f6
Small formatting change.
9 years ago
Paul Speed
0bfabacef6
Small formatting change.
9 years ago
Paul Speed
d241a9a235
Added a couple more bracketing log messages just to confirm
...
my own sanity.
Some small formatting changes.
9 years ago
Paul Speed
ab0628c070
Fixed a typo in an exception message.
9 years ago
Kirill Vainer
72423b682e
Merge pull request #392 from NemesisMate/patch-4
...
Fixed a possible bug in TextureAtlas.java
9 years ago
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.
9 years ago
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.
9 years ago
Daniel Johansson
0354f976e9
Merge remote-tracking branch 'origin/master'
9 years ago
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.
9 years ago
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.
9 years ago
Daniel Johansson
e0c24cd73a
Added a guard to ensure setSinglePassLightBatchSize() is set to a minimum of at least 1.
9 years ago
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.
9 years ago
normen
fd4f9789cc
Merge pull request #391 from NemesisMate/patch-5
...
Fixed BetterCharacterControl "flickering" when not moving.
9 years ago
NemesisMate
abdd739437
Fixed BetterCharacterControl "flickering" when not moving.
...
Sometimes, when the BetterCharacterControl is not moving, it flickers due it physics being always active. The reason for it being always active is that on the prePhysicsTick method it always set the rigidBody's linear velocity (and the method PhysicsRigidBody.setLinearVelocity(Vector3f) reactivates the physics each time is called).
The fix consist on just comparing if the current velocity and the setting one aren't the same and, thus, not setting it (using ZERO_TOLERANCE instead 0 to best results).
9 years ago
NemesisMate
19577c3288
Fixed a possible bug in TextureAtlas.java
...
It seems that the variable was the wrong one when adding the normal texture to the atlas.
9 years ago
Kirill Vainer
962ab22ef4
Merge branch 'fbx-import-animation' into experimental
9 years ago
Kirill Vainer
f9500f955f
Merge branch 'renderer-rgtc' into experimental
9 years ago
Kirill Vainer
c50839796f
Merge branch 'renderer-fbreadasync' into experimental
9 years ago
Kirill Vainer
ff6b1be725
Merge branch 'renderer-improvements' into experimental
9 years ago
Kirill Vainer
97281de5c4
Merge branch 'new_material_system' into experimental
9 years ago
Kirill Vainer
8f54af3263
Merge remote-tracking branch 'origin/master' into experimental
9 years ago
Kirill Vainer
79125f2f63
remove useless TestNativeLoader
...
It has a proper integration test now
9 years ago
Kirill Vainer
908b37350d
remove XXX HACK from native library loader
...
also add additional integration tests for
AppSettings, Application, and NativeLibraryLoader
9 years ago
Kirill Vainer
f986043745
minor formatting changes
9 years ago
Paul Speed
b006204c0f
Various warning-related cleanups. Added @Overrides
...
and removed some manual unboxing.
9 years ago
Paul Speed
3189323c2f
Converted manual array + list management over to just use SafeArrayList.
...
It was a class added after this code.
9 years ago
Paul Speed
46794e251d
Allow the caller to override the axis' default dead
...
zone configured at startup.
9 years ago
Paul Speed
2a2c71dadf
Modified to pay attention to the joystick axis'
...
dead zone if it is larger than the globally defined
dead zone.
9 years ago
Paul Speed
84ccd71873
Added additional information to the range check exception.
9 years ago
Paul Speed
14e84a4dd7
Added a constructor that just takes the service's
...
default channel.
9 years ago
Paul Speed
99742a76f2
Added additional trace logging.
9 years ago
Paul Speed
15afcfb735
Added the error information to the toString() if
...
there is error information to show.
9 years ago
jmekaelthas
8958459ef9
Bugfix: fixed a bug that caused NURB lines did not use their proper
...
resolution.
9 years ago
jmekaelthas
7e185b25df
Bugfix: fixed a bug that caused Bezier objects to use only the vertices
...
of its first bezier line (out of many).
9 years ago
jmekaelthas
153cb27d78
Bugfix: fixed error in Inverse Kinematics constraint (animations with
...
these constraint should look better now, although not yet perfect ;).
9 years ago
Nehon
6b262e56c8
Fixed the javadoc fixes :D
9 years ago
Nehon
2648f67b34
Javadoc in RenderManager : Fixed some typos and added some for light mode methods.
9 years ago
Kirill Vainer
961bf92734
lwjgl test: fix build exceed timeout
9 years ago
Kirill Vainer
3d82f5c459
lwjgl: add unit test
9 years ago
Kirill Vainer
4a646de49d
gitignore: more cleanup
9 years ago
Kirill Vainer
06e8210e5d
gitignore: cleanup
9 years ago
Kirill Vainer
85feb305ef
SDK: fix build error
9 years ago
Kirill Vainer
15465a020f
Merge branch 'master' into expermiental
9 years ago
Kirill Vainer
f005c05f8d
OffscreenBuffer: check needClose after runLoop
...
To be consistent with other context types.
9 years ago
Kirill Vainer
42729b2302
FastMathTest: ignore failing test (for now)
9 years ago
Kirill Vainer
30855f5bb4
TestShaderNodes: fix build error
9 years ago
Kirill Vainer
352c02db8a
DefineList: fix build error
...
Also add additional unit tests for DefineList.
9 years ago
Kirill Vainer
ea4d750d52
RM: per-pass render method
9 years ago
Kirill Vainer
6db1d15045
Image: support for RGTC format
9 years ago