Commit graph

6809 commits

Author SHA1 Message Date
volzhs
6ac4969cdd Fix crash when change project settings 2017-04-03 17:57:50 +09:00
Rémi Verschelde
dd35caca05 Merge pull request #8238 from volzhs/scenetree-button-margin
Make buttons closer in Scene tree
2017-04-03 09:51:26 +02:00
Rémi Verschelde
79712ca3ab Merge pull request #8218 from ficoos/fix_token_names
Add '$' to token names
2017-04-03 09:34:57 +02:00
volzhs
a911b1f126 Make buttons closer in Scene tree 2017-04-03 15:50:16 +09:00
Rémi Verschelde
71f8f80b84 Merge pull request #8235 from RandomShaper/fix-warped-pan
Fix warped mouse panning on Linux
2017-04-03 07:57:28 +02:00
Pedro J. Estébanez
58cd4461d1 Fix warped mouse panning on Linux
Fix/improve it also on certain edge cases for any platform
2017-04-03 02:56:14 +02:00
Andreas Haas
b49d206a4c Merge pull request #8219 from robertdhernandez/Node2D-Canvas-Sync
Node2D/Control variables now update with canvas changes
2017-04-03 00:33:40 +02:00
Juan Linietsky
65f8210e50 Merge pull request #8233 from volzhs/fix-adreno-430
Fix failing to compile shader on Adreno GPU
2017-04-02 17:25:57 +02:00
volzhs
e65b8b666c Fix failing to compile shader on Adreno GPU 2017-04-02 23:16:25 +09:00
Rémi Verschelde
dee7fb5ab5 Merge pull request #8228 from Hinsbart/viewport_fix
Viewport: Fix undefined behaviour found by llvm sanitizer.
2017-04-02 13:04:14 +02:00
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
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
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
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
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