Commit graph

2691 commits

Author SHA1 Message Date
Rémi Verschelde
fa0500557f Fix uniform scaling of non-square CanvasItem nodes
Fixes #3224.
I chose the longest side of the original node (width vs height) as the "guiding direction" to handle the ever changing drag_vector and avoid issues when a component changes sign.
2016-01-06 00:13:07 +01:00
Rémi Verschelde
37971ef6b8 Merge pull request #3246 from godotengine/fix-notools-build
Fix is_node_being_edited() when not building tools
2016-01-05 16:04:57 +01:00
Rémi Verschelde
e0b91c701c Fix is_node_being_edited() when not building tools
Fixes #3213.
Superseded #3242.
2016-01-05 16:02:59 +01:00
Juan Linietsky
afaa57be30 Merge branch 'master' of https://github.com/godotengine/godot 2016-01-05 10:38:13 -03:00
Juan Linietsky
010e3e0ac7 -completely rewritten filesystem dock and internal editor filesystem management, fixes #1926
-filesystem dock now tracks objects and directories in real-time, fixes #2009
2016-01-05 10:36:24 -03:00
Juan Linietsky
8f4aef774d Merge pull request #3241 from mrezai/fix-jpeg-3228
Fix uint compile error, #3228
2016-01-05 09:38:52 -03:00
mrezai
88ecc29d1e Fix uint compile error 2016-01-05 15:45:02 +03:30
Rémi Verschelde
058abfc4cc Merge pull request #3239 from godotengine/bce-typo
Fix typo
2016-01-05 12:04:58 +01:00
Rémi Verschelde
a13ed54ad4 Fix typo 2016-01-05 12:04:25 +01:00
punto-
4ab6271f1a Merge pull request #3236 from Hinsbart/xinput_define_
define XUSER_MAX_COUNT if not present
2016-01-04 21:24:55 -03:00
hondres
3f64fd64eb define XUSER_MAX_COUNT if not present 2016-01-05 01:16:10 +01:00
Juan Linietsky
3d0bd1a3f3 -make signals throw an error when target method is not found, fixes #2036
-removed 4 arguments limit for emit_signal() from script
-remvoed 4 arguments limit for call_deferred() from script
2016-01-04 09:35:21 -03:00
Juan Linietsky
30d4a50b42 Fix KP5 toggle perspective shortcut, fixes #2035 2016-01-04 00:17:28 -03:00
Juan Linietsky
f8d08baec0 restored this config 2016-01-04 00:02:30 -03:00
Juan Linietsky
0e71d49ef4 -Fix crash at exit due to unnecesary check in command queue, fixes #2034
-Fix memory corruption due to using wrong singleton in multithreaded physics, fixes #2760
2016-01-04 00:00:33 -03:00
Juan Linietsky
cb39db0b02 Fixed bug with default arguments in gdscript, closes #2024 2016-01-03 21:11:11 -03:00
Juan Linietsky
e0eff65fc0 change android install location to automatic, closes #1997 2016-01-03 20:31:37 -03:00
Juan Linietsky
a501ee355b properly specify metadata in KB function 2016-01-03 20:25:27 -03:00
Juan Linietsky
606729fa2d physics state properly returns contact metadata, closes #1979 2016-01-03 20:23:44 -03:00
Juan Linietsky
d5b8131f27 small usability improvement, change everything related to resolution and scaling together in the project settings, closes #1974 2016-01-03 19:47:07 -03:00
Juan Linietsky
7a931b4d3a Fixed the decimals function, it can't be perfect but it should be good enough. Closes #1955 2016-01-03 19:18:47 -03:00
Juan Linietsky
908f75c23f having active items is pointless in input map 2016-01-03 18:52:42 -03:00
Juan Linietsky
e8fbf39f88 -Replaced tinyjpg for jpgd (public domain), fixes progressive encoded jpgs and speeds up. Closes #2040
-Removed support of loading BitMap as image, now it must be load as a pnm, also closes #2040
2016-01-03 17:14:28 -03:00
Juan Linietsky
b988f016fd forgot to bind NOTIFICATION_INSTANCED, closes #2261 2016-01-03 12:57:19 -03:00
punto-
b9d5763b02 Merge pull request #3210 from Hinsbart/x11_axis_fix
send axis events only once per frame on linux
2016-01-02 23:06:54 -03:00
hondres
17d664cf1d send axis events only once per frame on linux 2016-01-03 02:24:43 +01:00
Juan Linietsky
eca92bb7ac make it impossible to shrink framebuffer < 0, fixes #2066 2016-01-02 21:08:57 -03:00
Juan Linietsky
23441ec867 Added var2bytes and bytes2var to convet any variable to bytes and back. Closes #2075 2016-01-02 21:07:03 -03:00
Juan Linietsky
939c5f5c9e -Fix global transform cache not being cleared in 2D nodes, fixes many editor bugs, closes #2115 2016-01-02 20:32:19 -03:00
Juan Linietsky
1597082c85 -Ability to roll-back script-exported properties to their default value on the script, closes #2128 2016-01-02 20:17:31 -03:00
Juan Linietsky
61745855d0 PI is now a built-in constant, fixes #2134 2016-01-02 17:56:45 -03:00
Juan Linietsky
2db78e8f87 Properly clear/restore current camera when switching scenes. Fixes #2137 2016-01-02 17:18:45 -03:00
Juan Linietsky
8fb70142e4 Ability to use opacity on distance field textures, fixes #2148 2016-01-02 15:57:19 -03:00
Juan Linietsky
b0b1da6950 Make buttons properly obey stylebox content marins, closes #2156 2016-01-02 15:51:41 -03:00
Juan Linietsky
be73e2d2f2 fixed uninitialized tool mode in path 2d editor 2016-01-02 15:42:14 -03:00
Juan Linietsky
32a6120a5c fixed string operator[], which was broken. Closes #2202 2016-01-02 14:58:27 -03:00
Juan Linietsky
cd3dfdaf18 Support BMFont in font editor plugin, closes #2204 2016-01-02 14:53:48 -03:00
Juan Linietsky
0e0a7c9494 -properly handle newline in \ (line continuation) in gdscript, fixes #2112
-also fix a small crash in export detection with scripts that include themselves
2016-01-02 13:56:58 -03:00
Juan Linietsky
27c47e09a1 skip the first integration in physics bodies, fixes #2213 2016-01-02 13:28:18 -03:00
Juan Linietsky
757b8c4206 -Restore mouse on X11 when debugger break happens, closes #2232 2016-01-02 12:58:59 -03:00
Juan Linietsky
9ed3d6d007 added a finished signal to StreamPlayer, closes #2249 2016-01-02 12:24:04 -03:00
Juan Linietsky
5769f8aaae Change rb+ to wb+ on file access READ_WRITE to allow more use cases, closes #2278 2016-01-02 12:03:33 -03:00
Juan Linietsky
84f96eb523 -New reparent option "keep global transform" on reparent dialog. It is enabled by default. Closes #2284 2016-01-02 11:57:47 -03:00
Juan Linietsky
d069c44a7f -Fix TouchScreenButton to work with stretch and viewport canvas transform, closes #2286 2016-01-02 11:23:30 -03:00
Juan Linietsky
b60371074f Properly hide assign/clear dialog, closes #2295 2016-01-02 10:47:50 -03:00
Juan Linietsky
432e2e7769 proper joy axis support as actions, can be configured and inquired, fixes #2317 2016-01-02 09:37:16 -03:00
Juan Linietsky
df5fa62ab9 remove the invalid id error when freeing a 3D joint, fixes #2383 2016-01-02 08:37:27 -03:00
punto-
be1f2a049f Merge pull request #3193 from Hinsbart/trigger-as-axis
Forgot to add JOY_ANALOG bindings
2016-01-02 00:32:36 -03:00
punto-
59143847f7 Merge pull request #3192 from Hinsbart/trigger-as-axis
Analog values for gamepad triggers, using axes 6 & 7.
2016-01-02 00:24:16 -03:00
hondres
83baa05915 bind trigger constants 2016-01-02 04:23:39 +01:00