7059 Commits

Author SHA1 Message Date
James Khan
d3be2f332f Use enum constants instead of integer ID's 2019-05-11 20:19:44 +01:00
James Khan
76fcc2c497 Remove magic number translations and remove uppercase names. 2019-05-11 20:18:56 +01:00
James Khan
682d8c9fd8 Use RawInputListener for InputManager instead of creating another field.
Set methods to use JoystickState enum instead of event integers.
2019-05-11 20:18:15 +01:00
James Khan
80adca6dce Translate JoystickState directly from LWJGL context.
Set the logger to the correct class
2019-05-11 20:17:05 +01:00
James Khan
318d6d0e89 Add support for listening to joystick connection/disconnection.
Fixes bug causing NullPointerException when removing joysticks.
Allows adding joysticks after the application has started.
2019-05-11 15:25:11 +01:00
Ali-RS
c4d2de1656
AnimComposer: updated to save globalSpeed on export and fixed issue with Layer cloning (#1080)
* AnimComposer: save globalSpeed on export

* Updated TestModelExportingCloning to test AnimComposer.globalSpeed

* Fixed issue with AnimComposer.Layer cloning
2019-04-30 08:22:09 +04:30
Stephen Gold
50aed6f59e
Travis: use "xenial" Linux dist to solve TLS issue (#1081)
Fixing the broken build. Thanks to @Ali-RS for providing the hint:  https://travis-ci.community/t/install-of-openjdk11-is-failing-again/3061/16
2019-04-29 10:11:29 -07:00
Stephen Gold
fff16c2328 TestIssue99: specify panel widths, clarify interpretation of results 2019-04-27 12:47:48 -07:00
Ali-RS
36ddb5b0ce
Added ambient light support in PBR shader (#1077)
* Added ambient light support in PBR shader

* Updated to auto inject the define value if ambient light found
2019-04-27 14:56:45 +04:30
Stephen Gold
40be1b42b8 DynamicAnimControl: remove all mention of attachments incl. isReleased() 2019-04-26 10:20:08 -07:00
Stephen Gold
432085c191 TestBoneRagdoll: reduce jumpiness during "toggle" actions 2019-04-26 10:13:01 -07:00
Stephen Gold
234bd476f3 implement contact-response for jme3-jbullet's PhysicsRigidBody 2019-04-25 19:50:42 -07:00
Remy
8d3980bbe9 Refactor collection to set in anim composer (#1076)
* returns an unmodifiable set when retrieving the available animation names and available animation clips instead of an unmodifiable collection. fixes: #1070

* remove unnecessary set wrapper.

* Remove the unnecessary creation of a new hashset everytime getAnimClips() is called.
2019-04-24 16:11:51 -07:00
Stephen Gold
0bf931bf79 revert integration of PR #1071 which wasn't ready 2019-04-22 03:15:04 -07:00
Greg Hoffman
0bc060d474 Added an easy way to add sub steps to the profiler (#1067)
* Added an easy way to add sub steps to the profiler and enhanced the App State Manager to profile the update method of each app state

* Added the profiler step to the android profiler

* Fixed missing profiler extensions
2019-04-22 01:41:40 -07:00
Remy
ffa1df2aff returns unmodifiable sets (#1071)
* returns an unmodifiable set when retrieving the available animation names and available animation clips instead of an unmodifiable collection. fixes: #1070

* remove unnecessary set wrapper.
2019-04-22 01:39:43 -07:00
Trevor Flynn
9c1452b63b Fixed classes location while building natives (JDK11 Support) (#1073)
* Fixed classes location while building natives
* Fix minor formating issue
2019-04-20 10:43:16 -07:00
appveyor
41f88cd5eb [ci skip] bullet: update windows natives 2019-04-15 20:17:31 +00:00
Trevor Flynn
ad2ba95e99 Jdk 11 Build Support 2019-04-15 22:03:18 +02:00
remy
74588d96f3 adapt the caption of the string 2019-04-15 18:42:06 +02:00
Remy Van Doosselaer
988537987a calculate the total line height before aligning the letters, calculate the total line height from the font line height and total line count. Include a test case with alignment examples. fixes: #363 2019-04-15 18:42:03 +02:00
travis-ci
35b9d9df4e [ci skip] bullet: update linux natives 2019-04-13 06:13:33 +00:00
travis-ci
4bd8cfb218 [ci skip] bullet: update osx natives 2019-04-13 06:12:46 +00:00
appveyor
28cba18cbf [ci skip] bullet: update windows natives 2019-04-13 06:11:40 +00:00
Stephen Gold
9e532009da fix for issue #1037 (TestHoveringTank hull-shape performance issue) 2019-04-12 23:03:56 -07:00
Stephen Gold
ba340cf13a add a test case for issue #99 (blendMode="multiply" in NiftyGUI) 2019-04-12 22:10:31 -07:00
travis-ci
3696074c9a [ci skip] bullet: update linux natives 2019-04-12 18:19:20 +00:00
travis-ci
18cc15254b [ci skip] bullet: update osx natives 2019-04-12 18:19:04 +00:00
appveyor
73c055c37e [ci skip] bullet: update windows natives 2019-04-12 18:18:00 +00:00
Stephen Gold
8a4e5e1177 fix issue #1060: bt32BitAxisSweep3 not implemented 2019-04-12 11:10:44 -07:00
Paul Speed
657c5841aa
Merge pull request #1066 from rvandoosselaer/fix-classcastexception-#1065
fixed wrong reference check #1065
2019-04-09 13:54:07 -04:00
Remy Van Doosselaer
9a80f013fc fixed wrong reference check 2019-04-09 19:24:10 +02:00
Rickard Edén
1a1348983b
Merge pull request #1064 from FennelFetish/jme3-vr_mouse-fix
Adds option to disable VR mouse cursor
2019-04-08 16:00:17 +02:00
FennelFetish
88a9069662 Adds option to disable VR mouse cursor and thus enable the cursor on the desktop.
Fixes repeated attachment of mouseImage as scene to gui viewport (because its parent was always null).
2019-04-08 15:17:19 +02:00
Riccardo Balbo
3b24067a3c Add RGTC format 2019-04-07 10:22:18 -07:00
Paul Speed
7c6e12ed70
Merge pull request #1062 from jMonkeyEngine/revert-1054-export-transparent-png
Revert "Modified JmeDesktopSystem.writeImageFile() to export transparency for…"
...at least until we can fix it properly.
2019-04-06 01:11:43 -04:00
Ali-RS
cd90be13ec
Revert "Modified JmeDesktopSystem.writeImageFile() to export transparency for…" 2019-04-06 09:17:03 +04:30
Stephen Gold
d55776d081 revise TestBoneRagdoll & TestRagdollCharacter to use DynamicAnimControl 2019-04-03 08:07:52 -07:00
Stephen Gold
235b9db2ca publicize Joint.applyBindPose(), add DynamicAnimControl & related stuff 2019-04-03 08:07:52 -07:00
Paul Speed
59af265398 Updated the joystick test to indicate when the new LEFT_TRIGGER/RIGHT_TRIGGER
axes are used.
Also changed the console output to include the logical ID of triggered axes instead
of just the name.
2019-03-31 20:38:33 -04:00
Paul Speed
54b812ca71 Standardized the XBox controller mappings to one XBOX set of entries
and remapped all .*xbox.* names to it.  All of the specific XBOX remappings
have been commented out for now.  They can be removed once it is confirmed
that old working functionality is not newly broken.
2019-03-31 20:33:32 -04:00
Paul Speed
5901a95363 Added new JoystickAxis.LEFT_TRIGGER/RIGHT_TRIGGER.
Updated JoystickCompatibilityMappings to support normalizing joystick names
based on a regex.  For example:
XBOX.regex=(?i).*xbox.*
...will allow configuring all joysticks with xbox in the name with one
XBOX configuration.
2019-03-31 20:18:11 -04:00
quazi-irfan
5bc64800e0 Fix printing if stencil is enable or disable 2019-03-31 13:12:01 -07:00
Paul Speed
ac60a134d2 Updated the axis event processing to pay attention to dead zones.
A little more complicated than just ignoring values in the dead zone since
we have to bring them back to 0... but not much more complicated than that.
2019-03-31 14:56:11 -04:00
Stephen Gold
27bd16979c
Armature.java: correct a typo in the javadoc 2019-03-29 18:32:31 -07:00
Stephen Gold
f0d28a9501
changed Mythruna link to use http instead of https 2019-03-29 11:23:08 -07:00
Stephen Gold
a2df09b2fd
add Spoxel to the list of games in the README.md 2019-03-29 10:29:57 -07:00
Riccardo Balbo
51cadb260c
Merge pull request #1050 from Diffblue-benchmarks/virtual-buffer-tests
Add tests for com.jme3.scene.mesh.VirtualIndexBuffer
2019-03-29 13:00:58 +01:00
Riccardo Balbo
cf7b15bc23 j3md Fix for default textures (#1052) 2019-03-27 10:19:37 -07:00
Stephen Gold
1ad324aa57
fix issue #901 (collision margins initialized to 0) (#1053)
* fix issue #901 (collision margins initialized to 0)

* add a getter for the default collision margin
2019-03-23 15:18:13 -07:00