Rémi Verschelde
3b256f1a90
Merge pull request #8229 from Hinsbart/upd_mappings
...
Input: Update Gamepad mappings.
2017-04-02 13:02:12 +02:00
Andreas Haas
1d3c9c448d
Viewport: Fix undefined behaviour found by llvm sanitizer.
...
When godot was running as the project manager, it tried to call a method on a null pointer (get_tree()->get_edited_scene_root()).
This is undefined behaviour and caused a crash when compiled with sanitizing enabled.
2017-04-02 09:46:51 +02:00
Andreas Haas
b9d606af71
Input: Update Gamepad mappings.
2017-04-02 09:43:37 +02:00
Robert Hernandez
8078b5ecf6
Fixed Node2D/Control not updating properties
2017-04-01 20:13:52 -04:00
Fabian Mathews
b541402417
Added ability to change A-star cost function
2017-04-01 16:36:22 +10:30
Saggi Mizrahi
c464609bda
Add '$' to token names
...
It was missing from this array and would cause godot to crash or report
bad errors.
Signed-off-by: Saggi Mizrahi <saggi@mizrahi.cc>
2017-04-01 03:20:23 +03:00
Saggi Mizrahi
245ace6e2e
Add the option to check if input was handled
...
When working with a viewport you should call Viewport.input() to pass
the input, but if the input was unhandled you might also want to call
Viewport.unhandled_input() so that objects in the sub-scene can handle
the event. This adds a way to check if the input was handled so that you
know whether you should call Viewport.unhandled_input() or not.
Signed-off-by: Saggi Mizrahi <saggi@mizrahi.cc>
2017-03-31 17:56:32 +03:00
Andreas Haas
6731924dcf
Merge pull request #8213 from Hinsbart/joymapping_master
...
Initialize hat values for mapping and revert X360 mappings. [3.0]
2017-03-31 13:35:02 +02:00
Jordan Patterson
86de80db89
Initialize hat values for mapping and revert X360 mappings.
2017-03-31 13:27:02 +02:00
Robert Hernandez
7a428206fe
Fixed WindowDialog not aligning properly
2017-03-31 01:48:02 -04:00
Robert Hernandez
a4a12a2b7b
Fixed AtlasTexture being incorrectly
...
Fixed StyleBoxTexture and NinePatchRect drawing the entire texture of an
AtlasTexture.
2017-03-30 21:09:25 -04:00
Rémi Verschelde
d7dd276ccc
Merge pull request #8208 from Shin-NiL/master
...
Honor the Tween's final values
2017-03-30 13:09:17 +02:00
Shin-NiL
d8c396a44f
Honor the Tween's final values
2017-03-30 07:58:20 -03:00
Rémi Verschelde
7d99f388e3
Merge pull request #8199 from tagcup/math2d_det_fix
...
Fix polar decomposition in 2D.
2017-03-30 10:40:29 +02:00
Rémi Verschelde
aab6687523
Merge pull request #8180 from sergey-push/8145-Mouse_Position_is_unknown_until_first_mouse_event
...
8145 - Mouse Position is unknown until first mouse event on X11
2017-03-30 10:34:30 +02:00
Rémi Verschelde
84bd039851
Merge pull request #8173 from RandomShaper/improve-tile-palette
...
Several enhancements for the tile map editor
2017-03-30 10:29:46 +02:00
Rémi Verschelde
c6ba3bf9d5
Merge pull request #8203 from RandomShaper/add-missing-bind
...
Add missing binding for DUPLICATE_USE_INSTANCING
2017-03-30 07:37:46 +02:00
Pedro J. Estébanez
c2165bb1a5
Add missing binding for DUPLICATE_USE_INSTANCING
2017-03-30 00:38:06 +02:00
Karroffel
2281942fb3
Added methods for opening dynamic libraries to OS
2017-03-29 23:05:15 +02:00
Rémi Verschelde
92b6c8095a
Merge pull request #8200 from bojidar-bg/doctool-make-properties
...
Update classes.xml to master version, add a small feature to doc_status
[ci skip]
2017-03-29 22:48:48 +02:00
Bojidar Marinov
669956849a
Update classes.xml to master version, add a small feature to doc_status
2017-03-29 22:27:59 +03:00
Ferenc Arn
97d510531a
Fix polar decomposition in 2D.
...
When performing polar decomposition in 2D as B = R.S, where R is rotation (with determinant +1) and S is scaling, use the convention that reflections are absorbed into S through a reflection around y axis.
In 3D, this is done by using a reflection along all three axes, but since the dimensionality is even in 2D, one axis needs to be chosen.
Fixes Matrix32::get_rotation and Matrix32::get_scale (which weren't properly fixed in #7445 ).
2017-03-29 12:04:49 -05:00
Juan Linietsky
000e873008
Merge pull request #8191 from eska014/webgl2-export
...
WebGL 2 export per WebAssembly or asm.js
2017-03-29 15:21:52 +02:00
eska
7df7e9cc8b
WebGL 2 export per WebAssembly or asm.js
2017-03-29 13:27:43 +02:00
Sergey Pusnei
c79e998d1f
8145 - Mouse Position is unknown until first mouse event on X11 & Win
...
- X11 update input->pos on EnterNotify
- X11 & Win call first-time events processing before main initialization
2017-03-28 19:18:40 -04:00
Pedro J. Estébanez
54abbc532f
Several enhancements for the tile map editor
...
Allow sorting tile palette by name
Allow hiding tile ids in tile palette
2017-03-27 10:45:02 +02:00
Rémi Verschelde
d4740a9853
Merge pull request #8169 from RandomShaper/fix-uniform-move
...
Include uniform (Shift down) mode in only-one-Node2D dragging
2017-03-27 08:56:54 +02:00
Rémi Verschelde
9d28a5e7d9
Merge pull request #8159 from Hinsbart/last_id
...
Input: Remove usage of platform dependent event IDs.
2017-03-27 08:52:58 +02:00
Rémi Verschelde
fbebd32b5f
Merge pull request #8147 from RameshRavone/patch-1
...
Update build.gradle.template for jcenter
2017-03-27 08:50:47 +02:00
Pedro J. Estébanez
e7fba3d273
Include uniform (Shift down) mode
...
in only-one-Node2D dragging
2017-03-27 01:32:24 +02:00
Rémi Verschelde
1a0d1bb18d
Remove redundant subfolder in iOS template
2017-03-26 22:03:58 +02:00
Rémi Verschelde
d8f32637be
SCons: Add option to toggle warnings (on by default)
...
All the warnings are factored out of the platform-specific files and moved to
SConstruct. Will have to check that it does not introduce regressions on some
platforms/compilers.
(cherry picked from commit 31107daa1a
)
2017-03-26 21:58:37 +02:00
Andreas Haas
c0b6756875
Input: Remove usage of platform dependent event IDs.
...
The ID property for InputEvents is set by `SceneTree` when sending the event down the tree.
So there's no need for the platform specific code to set this value when it will later be overriden anyway...
2017-03-26 15:59:32 +02:00
Ramesh Ravone
77c81a21d8
Update build.gradle.template
...
Updating project repository,
added jcenter() since Android Studio uses it by default.
https://www.jfrog.com/knowledge-base/why-should-i-use-jcenter-over-maven-central/
2017-03-25 17:41:20 +05:30
BastiaanOlij
a0b0dff6fd
Fixing magnetometer on iOS
...
(cherry picked from commit 4b7d1d8c15
)
2017-03-24 23:18:42 +01:00
Rémi Verschelde
af282b56fe
Fix bogus s/_md/D_METHOD/ affecting md5 stuff
2017-03-24 22:58:50 +01:00
Rémi Verschelde
4911555f6c
Merge pull request #8137 from Hinsbart/mbutton_pos
...
Input: Update mouse position on mouse-button events.
2017-03-24 22:53:27 +01:00
Rémi Verschelde
5cad9147f9
Merge pull request #8133 from Hinsbart/joy_constants
...
Input: Refactor JOY_* constants.
2017-03-24 22:53:16 +01:00
Rémi Verschelde
60a9debb99
Merge pull request #8132 from tagcup/vector3_angle_to
...
Use atan2 rather than acos in Vector3.angle_to.
2017-03-24 22:52:46 +01:00
Rémi Verschelde
397380e9e5
Merge pull request #8130 from volzhs/cache-font-master
...
Cache DynamicFont resource for Android
2017-03-24 22:52:36 +01:00
Rémi Verschelde
6674c556ae
Merge pull request #8128 from volzhs/fix-android-app-name
...
Fix wrong app name for Android export
2017-03-24 22:52:25 +01:00
Rémi Verschelde
495710c3d6
Merge pull request #8123 from bojidar-bg/gdscript-inline-block-indent
...
Make inline blocks in GDScript more (or less) pythonic
2017-03-24 22:52:09 +01:00
Rémi Verschelde
beba97c0c3
Merge pull request #8122 from tagcup/axis_check_normalization
...
Explicitly documented that Transform.basis is not necessarily an orth…
2017-03-24 22:51:27 +01:00
Rémi Verschelde
fb46323022
Merge pull request #8115 from RandomShaper/improve-snapping
...
Improved 2D snapping behavior
2017-03-24 22:51:12 +01:00
Rémi Verschelde
98baec6880
Merge pull request #8109 from RandomShaper/warped-panning
...
Implement warped mouse panning for 2D & 3D editors
2017-03-24 22:50:39 +01:00
Rémi Verschelde
ca3596b043
Merge pull request #8098 from bojidar-bg/configfile-get-value-suppress
...
Suppress error messages when using ConfigFile::get_value and a default is given
2017-03-24 22:49:50 +01:00
Rémi Verschelde
c25246d158
Merge pull request #8010 from AlexHolly/Timer-is_time_left
...
added Timer is_time_left()
2017-03-24 22:48:01 +01:00
Rémi Verschelde
296ece2c6a
Merge pull request #7985 from Faless/enet_godot_sock_squash
...
Update ENet to use Godot sockets.
2017-03-24 22:47:18 +01:00
Rémi Verschelde
f1e05d3144
Issue template: Stop discouraging bug reporting on master
2017-03-24 22:01:59 +01:00
Rémi Verschelde
1ed8caa1bb
i-patch for Pirate language
...
Credits to jo_ for the joke and hcorion for finding the typo:
<hcorion> Hi all, I was busy translating godot to Pirate, and I noticed a
spelling error, on line 1035 in platform/uwp/export/export.cpp it mis-spells
certificate as certficate missing the extra i
<jo_> hcorion: Nice catch.
<jo_> If you make a PR, please call it 'i-patch for Pirate."
2017-03-24 21:59:32 +01:00