Commit graph

20105 commits

Author SHA1 Message Date
Rémi Verschelde
3a7a1cd4c9
Merge pull request #27596 from mo7sener/master
Fix: RichTextLabel Crash - meta_hover_ended
2019-04-04 17:27:34 +02:00
Theis Egeberg
26cc521d55 -Added trim limit constant at top of file, defining at which db trimming should occur (moved from being in the code itself)
-Added fade out frames constant at top of file, defining how many frames should have fade out applied (to avoid pops at the end of trim)
-Rewrote parts of the trimming logic to use an average of volume across all channels instead of any particular channel
-Added fade-out to trimming
2019-04-04 16:37:58 +02:00
Juan Linietsky
a18989602b Clean up notifications and merge Node and MainLoop ones for clarity, closes #27614 2019-04-04 10:34:41 -03:00
Rémi Verschelde
2ce022af7e
Merge pull request #27671 from akien-mga/scons-opus-arm
SCons: Fix OPUS_ARM_OPT flag applied for all android/iphone arches
2019-04-04 12:36:52 +02:00
Rémi Verschelde
c2fb1c9f01 SCons: Fix OPUS_ARM_OPT flag applied for all android/iphone arches
The first 'if' always evaluated to true, as it evaluated values which are the default
ones for Android and iOS respectively, so even if one of them was overridden, the other
one would be true.

Fixes #27658.
2019-04-04 12:01:52 +02:00
Rémi Verschelde
c2c11fc063
Merge pull request #27655 from Faless/mp/err_explain_fix
Properly explain RPC/RSET mode failure.
2019-04-03 23:36:33 +02:00
Fabio Alessandrelli
95ad747dea Properly explain RPC/RSET mode failure.
_can_call_mode used to call is_network_master/get_network_master
internally.
This would reset any potential last error set via ERR_EXPLAIN,
preventing it from being displayed correctly.
_can_call_mode now expects the node master ID to be passed instead.
2019-04-03 21:55:42 +02:00
Angeloss
40acc3ecdc Fix: Keep custom tracks option now keeps animation loop property and value track update mode.
(cherry picked from commit 589c5698a0)
2019-04-03 16:59:34 +02:00
Juan Linietsky
ed3586afa1 Add documentation about nested YSort nodes. 2019-04-03 11:42:42 -03:00
PouleyKetchoupp
66d3a8a11e Updated StyleBoxFlat documentation 2019-04-03 15:27:48 +02:00
Rémi Verschelde
620dd79e71
Merge pull request #27636 from Jayman2000/contributing-these
Minor English fix
2019-04-03 15:13:34 +02:00
Rémi Verschelde
f9b145d27f
Merge pull request #27634 from akien-mga/dist-linux-mime
dist: Rename Linux mime type to follow system convention
2019-04-03 15:13:19 +02:00
Rémi Verschelde
ae184a117e
Merge pull request #27633 from akien-mga/scons-py3-fixup
SCons: Fix python3 compat for builtin_bullet=no
2019-04-03 15:12:59 +02:00
Jason Yundt
f8a22f0a90 Minor English fix
CONTRIBUTING.md would use the phrase "those guidelines" to introduce a
list. In general, the word "these" is used to refer to something that is
being introduced or has recently been introduced, and "those" is used to
refer to something that had been previously introduced.

This change also makes CONTRIBUTING.md consistent with the
documentation. The documentation guidelines at
https://docs.godotengine.org/en/latest/community/contributing/documentation_guidelines.html
use "these" to introduce a list and its singular form, "this", to
introduce items.
2019-04-03 08:49:08 -04:00
Rémi Verschelde
7eabf4c8a3 dist: Rename Linux mime type to follow system convention
Mime type definitions are usually named like the mime type they define,
i.e. x-godot-project in our case.
It was introduced with reverse DNS naming as that's what FlatHub favors,
so it will need to be renamed there.
2019-04-03 13:24:28 +02:00
PouleyKetchoupp
8b84638322 Add ability to flip TextureRect horizontally or vertically 2019-04-03 13:05:29 +02:00
Rémi Verschelde
44f1b390a3 SCons: Fix python3 compat for builtin_bullet=no 2019-04-03 11:25:01 +02:00
Rémi Verschelde
f64336f1a7
Merge pull request #27264 from ViktorEvil/master
Enable macOS Mojave "Dark Mode" on the editor title bar
2019-04-03 10:09:20 +02:00
Chaosus
a19e99aacb Added signal for Tween emitted at completion 2019-04-03 10:35:26 +03:00
Rémi Verschelde
76cbe7a9ae
Merge pull request #27214 from marcelofg55/midi_note_off
Fix MIDI Note Off missing on some devices
2019-04-03 09:17:07 +02:00
Rémi Verschelde
de54ee975d
Merge pull request #27238 from ShyRed/cpu2dmask
Add Emission Mask to CPUParticle2D
2019-04-03 09:13:14 +02:00
Ignacio Roldán Etcheverry
f285d554e5
Merge pull request #27618 from neikeq/fix-leak
Fix memory leak introduced in bb6814a
2019-04-03 00:25:07 +02:00
Ignacio Etcheverry
0338e55a6e Fix memory leak introduced in bb6814a 2019-04-02 22:56:17 +02:00
Rémi Verschelde
25c1363a11
Merge pull request #27597 from marxin/fix-Wnon-virtual-dtor-warnings
Fix -Wnon-virtual-dtor warnings.
2019-04-02 18:25:02 +02:00
Rémi Verschelde
f5013e3277
Merge pull request #26343 from marxin/warnings-all-add-most-of-Wextra
Enable most of -Wextra warnings for warnings=all.
2019-04-02 18:24:06 +02:00
marxin
e7f22ebdcd Enable warnings=extra on clang and GCC testers.
And remove 2 warnings from warnings=extra.
2019-04-02 17:14:47 +02:00
marxin
f9f2413e69 Fix -Wnon-virtual-dtor warnings.
Example of the warning:
./core/script_language.h:198:7: warning: 'class ScriptCodeCompletionCache' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
2019-04-02 14:07:29 +02:00
Robear Selwans
84dfb3ff2d Fixed an issue where changing the default_cursor on the RichTextLabel's meta_hover_ended caused the entire project to crash 2019-04-02 13:59:38 +02:00
Rémi Verschelde
612a109b81
Merge pull request #27228 from Kanabenki/preserve-binds-change-node
Preserve extra arguments for connected signals when changing node type
2019-04-02 11:30:45 +02:00
Rémi Verschelde
29a1202d39
Merge pull request #27171 from Chaosus/randfix
Properly setup seed in RNG
2019-04-01 17:17:30 +02:00
Rémi Verschelde
18ee888541
Merge pull request #27430 from LeonardMeagher2/csg_get_mesh_data
Apply proper offset to CSGMesh brush materials and smooth flags
2019-04-01 17:15:30 +02:00
Rémi Verschelde
9b691718f5
Merge pull request #27557 from Paulb23/deselect_line_edit_clear
Fixed not deselecting when clearing lineedit.
2019-04-01 17:01:45 +02:00
Rémi Verschelde
e3bd84fa57
Merge pull request #27485 from Faless/io/encode_decode_safety_pr
Safer encode/decode variant.
2019-04-01 17:00:40 +02:00
Rémi Verschelde
e91844e8dc
Merge pull request #27562 from guilhermefelipecgs/fix_27484
Fix wrong blend of animation tree
2019-04-01 16:38:55 +02:00
Juan Linietsky
dee98d3b6d Some improvements to is_equal_approx, restored Quat operator. 2019-04-01 11:11:02 -03:00
Fabio Alessandrelli
393e62b98a Add object encoding param to serialization methods
Network peers get_var/put_var
File get_var/store_var
GDScript/Mono/VisualScript bytes2var/var2bytes
Add MultiplayerAPI.allow_object_decoding member which deprecates PacketPeer.allow_object_decoding.

Break ABI compatibaility (API compatibility for GDNative).
2019-04-01 15:53:19 +02:00
Fabio Alessandrelli
53ab3a1ba9 Multiplayer API now respects allow_object_decoding
Add doc about allow_object_decoding in PacketPeer
2019-04-01 15:53:08 +02:00
Rémi Verschelde
ba1a168659
Merge pull request #27505 from clayjohn/depth_bug
Keep DEPTH from causing compile error in GLES2
2019-04-01 14:53:18 +02:00
Rémi Verschelde
658aaa5c79
Merge pull request #27317 from aqnuep/depth_texture_fix
Fixed handling of depth texture so it's resolved and bound when needed
2019-04-01 13:55:07 +02:00
Samuele Zolfanelli
a6f5cf7de7 Allow TileMap to override set_cell behaviour while using TileMap editor 2019-04-01 13:03:35 +02:00
Rémi Verschelde
39c868171e doc: Bump version to 3.2 2019-04-01 12:33:56 +02:00
Rémi Verschelde
b32fe4af61 doc: Fix formatting bug from #27429 2019-04-01 12:25:13 +02:00
Rémi Verschelde
c54835a23b
Merge pull request #25676 from willnationsdev/fix-inherited-icons
Fix inherited icons for script classes
2019-04-01 12:21:08 +02:00
Rémi Verschelde
4ec384f9d4
Merge pull request #26097 from danielspaniol/25955-wrong-unreachable-warning-after-returning-from-matchs-wildcard-pattern
Fix: Wrong unreachable warning after returning from match's wildcard pattern #25955
2019-04-01 12:17:17 +02:00
Rémi Verschelde
9347142484
Merge pull request #26701 from qarmin/do_not_lost_focus
Do not lose focus when moving through scene tree
2019-04-01 11:57:46 +02:00
Rémi Verschelde
9bef886fa3
Merge pull request #27117 from Faless/editor/asset_lib_image_error
Enabled logging of failed image download.
2019-04-01 11:03:03 +02:00
Rémi Verschelde
ab76c649c5
Merge pull request #26958 from bruvzg/macos_hidpi_fixes
Fix hiDPI scaling support in `get_real_window_size` and `set_window.size`
2019-04-01 11:00:50 +02:00
Rémi Verschelde
3c797248d0
Merge pull request #26970 from KoBeWi/custom_node_is_now_other_node
Changed 'Custom Node' to 'Other Node' to be less confusing
2019-04-01 10:13:27 +02:00
Rémi Verschelde
f6bbb08ae1
Merge pull request #27080 from YeldhamDev/tilemap_remove_rect_dirty
Make size cache dirty when removing tiles in 'TileMap'
2019-04-01 10:08:49 +02:00
Hugo Locurcio
d59b210aec
Use the editor theme's accent color for 2D/3D selections and rotations 2019-03-31 23:54:46 +02:00