Commit graph

20797 commits

Author SHA1 Message Date
Juan Linietsky
876c509a9d Removed function to compute time, should not be that useful in practice. 2019-04-27 15:28:20 -03:00
clayjohn
e8858a9a44 changed references to array types in arraymesh doc 2019-04-27 10:45:04 -07:00
Juan Linietsky
11fb4ffbf8 Added docs to AudioStreamPlayer for get_mix_time 2019-04-27 14:11:39 -03:00
Juan Linietsky
c2027c8233 Added functions to further improve music timing 2019-04-27 14:05:16 -03:00
Hugo Locurcio
be2e8e4047
Convert line endings to CRLF in OS.set_clipboard() on Windows
Windows applications typically expect CRLF line endings in clipboard
content.

This closes #28439.
2019-04-27 18:59:06 +02:00
Juan Linietsky
040b59c010 Properly deal with clicking on audio stream change or stop (AudioStreamPlayer only) 2019-04-27 12:58:22 -03:00
Juan Linietsky
af9bb0ea15 Clean up latency related functions 2019-04-27 12:23:05 -03:00
Samuele Zolfanelli
e2dd0c101e Make TileMap overridable "set_cell" function called on undo/redo 2019-04-27 17:20:32 +02:00
Juan Linietsky
e5ed112d69
Merge pull request #28469 from godotengine/revert-25974-stream_stop_fade
Revert "Fix AudioStreams::stop possibly causing a small noise"
2019-04-27 12:18:10 -03:00
Juan Linietsky
60eec47077
Revert "Fix AudioStreams::stop possibly causing a small noise" 2019-04-27 12:17:54 -03:00
Guilherme Felipe
c709dfdf06 [Input] Release keys/actions pressed if window loses focus
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-authored-by: Marcelo Fernandez <marcelofg55@gmail.com>
2019-04-27 12:05:12 -03:00
MrCdK
20e442a9f6 Reverts the change made to the editor progress dialog in faaecd6987
It was causing issues on Windows like, for example, when saving with CTRL+S the keys CTRL and S were stuck after saving and pressing only S would save the scene again until CTRL was pressed again.
2019-04-27 14:06:16 +02:00
Ignacio Etcheverry
3380565e4b C#: Generate the correct integer and floating point types 2019-04-27 01:30:46 +02:00
Sintinium
d1fa546dc9 Undo support for locking and grouping for both 2D and 3D 2019-04-26 18:16:59 -05:00
Rodolfo Ribeiro Gomes
9742d0c323 Spatial::look_at() now preserves its scale values
It always normalized basis after look_at() computation.
Now it applies previous scale back, in order to avoid
distortions when global scale was different of (1,1,1).

fix #10003 and #19000
Related to #17924
2019-04-26 20:10:32 -03:00
Bastiaan Olij
1a1b35721a Send notifications to ARVRInterfaces 2019-04-27 08:39:21 +10:00
Tarik02
63d1a80656 Removed a call to set_blocking_enabled from function enet_socket_create since it is already called from https://github.com/godotengine/godot/blob/master/thirdparty/enet/host.c#L63 2019-04-26 22:27:50 +03:00
Tarik02
bb3089895c Implement function enet_socket_set_option using ENetSocket class's methods.
Implemented options:
 - ENET_SOCKOPT_NONBLOCK
 - ENET_SOCKOPT_BROADCAST
 - ENET_SOCKOPT_REUSEADDR
 - ENET_SOCKOPT_NODELAY
Not implemented options:
 - ENET_SOCKOPT_RCVBUF
 - ENET_SOCKOPT_SNDBUF
 - ENET_SOCKOPT_RCVTIMEO
 - ENET_SOCKOPT_SNDTIMEO
2019-04-26 22:23:52 +03:00
Ignacio Roldán Etcheverry
2931b4db51
Merge pull request #28433 from neikeq/lazy-load-scripts-metadata
Mono: Lazily load scripts metadata file
2019-04-26 20:41:13 +02:00
Ignacio Etcheverry
791e1294c3 Mono: Lazily load scripts metadata file
- Only load the scripts metadata file when it's really needed. This way we avoid false errors, when there is no C# project,  about missing scripts metadata file.
2019-04-26 19:53:44 +02:00
Hugo Locurcio
f5940e2909
Limit the size of the Manage Editor Feature Profiles dialog
This makes it more readable on large monitors.
2019-04-26 18:49:37 +02:00
Michele Valente
c0fcd55f96 fix builds made with Clang on some Linux distros
This is the same as #23542 (Fix binaries incorrectly detected as shared
libraries on some linux distros) but for Clang. It should be fine with
Clang 4 or higher.
2019-04-26 15:50:06 +02:00
Bastiaan Olij
b652fcd241 Added set_as_bulk_array, fixed transform2D saving and documentation to MultiMesh 2019-04-26 20:30:16 +10:00
Rémi Verschelde
260530f01c
Merge pull request #28442 from akien-mga/libpng-1.6.37
libpng: Update to upstream 1.6.37
2019-04-26 11:37:51 +02:00
Rémi Verschelde
225b61ab2a libpng: Update to upstream 1.6.37
Fixes CVE-2019-7317.
2019-04-26 10:37:22 +02:00
Yuri Roubinsky
ac95466aff
Merge pull request #28441 from Chaosus/vs_fixcolor
Fix uniform title color in visual shaders(regression)
2019-04-26 10:56:22 +03:00
Chaosus
7a9735eef4 Fix uniform title color in visual shaders(regression) 2019-04-26 10:53:40 +03:00
Michael Alexsander Silva Dias
f275de24ee Make 'EditorPath' into a proper 'MenuButton' 2019-04-25 20:53:58 -03:00
Guilherme Souza
61a844aa61 Adds flag AMBIENT_LIGHT_DISABLED to GLES2
Signed-off-by: Guilherme Souza <gdsdsilva@inf.ufpel.edu.br>
2019-04-25 20:25:05 -03:00
Rémi Verschelde
9ef46996cd
Merge pull request #28430 from AnthonyYoManz/issue-28186-fix-crash-on-exit-when-3d-disabled
Fix Crash On Close When 3D Is Disabled
2019-04-26 00:20:39 +02:00
Hugo Locurcio
2041e21eb5
Allow floating-point values in the idle parse delay editor setting
This also makes value changes effective without having to restart
the editor.
2019-04-26 00:01:20 +02:00
AnthonyYoManz
fc65cc64b9 Fix Crash On Close When 3D Is Disabled 2019-04-25 21:59:07 +01:00
Rémi Verschelde
77f576e2a1
Merge pull request #28418 from guilhermefelipecgs/fix_scroll
Fix scroll for texture_region and polygon_2d editor
2019-04-25 22:58:03 +02:00
Rémi Verschelde
ae8f8530af
Merge pull request #28417 from guilhermefelipecgs/more_switch_on_hover
Set switch_on_hover to true for the remaining menus
2019-04-25 22:57:07 +02:00
Rémi Verschelde
562a64f982
Merge pull request #28419 from jbuck3/tooltip-hide-fix
Cancel tooltip when hiding the node it belongs to
2019-04-25 22:55:21 +02:00
Rémi Verschelde
f05dce3ee2
Merge pull request #28262 from KoBeWi/gotta_close_them_all
Add Close Others/Right/All for scene tabs
2019-04-25 22:46:46 +02:00
Rémi Verschelde
7e65a11bcf
Merge pull request #28402 from Valentactive/add-thinlto-support-x11
Add option to use ThinLTO
2019-04-25 22:23:31 +02:00
Hein-Pieter van Braam
ad744cefb0
Merge pull request #28361 from homer666/animationplayer-fps-mode-fixes
AnimationPlayer FPS mode fixes
2019-04-25 23:09:47 +03:00
Ignacio Etcheverry
340252727b C#: Mark generated property accessor methods as Obsolete
- Methods that act as accessors for properties in the same class (like `GetPosition` and `SetPosition` are for `Position`) are now marked as obsolete. They will be made private in the future.
2019-04-25 20:34:35 +02:00
Ignacio Etcheverry
c20a3823a2 C# bindings generator cleanup
- Normal log messages are no longer warnings.
- BindingsGenerator is no longer a singleton.
- Added a log function.
2019-04-25 20:34:28 +02:00
Michael Alexsander Silva Dias
bf1fe11143
Merge pull request #28415 from LinuxUserGD/master
Add new QtCreator .cxxflags and .cflags files to .gitignore
2019-04-25 14:51:52 -03:00
Linux User
3189560d52 Update .gitignore
Update .gitignore
2019-04-25 19:35:41 +02:00
Aaron Franke
b659e1eb2b
Use approximate equallity methods in many places 2019-04-25 13:20:29 -04:00
Aaron Franke
c577ec6ae4
[Mono] Approximate equality 2019-04-25 13:20:29 -04:00
Aaron Franke
7f7d97f536
[Core] Expose approximate equality methods to GDScript 2019-04-25 13:20:29 -04:00
Aaron Franke
b2e1c9c276
[Core] Approximate equality 2019-04-25 13:20:29 -04:00
Michele Valente
51f9042a5b add option to use ThinLTO
This adds ThinLTO support when using Clang and the LLD Linker, it's
turned off by
default.
For now only support for Linux added as ThinLTO support on other
platforms may still be buggy.
2019-04-25 19:20:12 +02:00
James Buck
bc7863775c Cancel tooltip when hiding the node it belongs to 2019-04-25 11:19:31 -05:00
Tomasz Chabora
6169e755aa Add Close Others/Right/All for scene tabs 2019-04-25 18:14:36 +02:00
Rémi Verschelde
cce2e4b07c
Merge pull request #22301 from YeldhamDev/button_popup_highlight
Enable toggle behaviour for buttons that trigger popups
2019-04-25 17:47:23 +02:00