Commit Graph

19932 Commits

Author SHA1 Message Date
toasteater ae1393acae Improve RandomNumberGenerator docs.
Clarified behavior of a few methods. Added implementation notes so
that developers not familiar with RNGs are alerted to common pitfalls.
2019-04-02 22:42:49 +08: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
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
Guilherme Felipe 45d97b9860 Fix wrong blend of animation tree
Interpolation cannot use zero values, must use the values from the
animation to be blended.
2019-03-31 17:12:24 -03:00
Paulb23 bfba1e36bc Fixed not deselecting when clearing lineedit. 2019-03-31 16:32:24 +01:00
Pedro J. Estébanez 5b00cd89d3 Drop mouseover when mouse not in the window
Not that this is critical, but it makes behavior of GUI and 2D/3D picking consistent among them.

This also contributes to dropping GUI focus when the mouse leaves the window (in addition to when it loses focus).
2019-03-30 00:26:16 +01:00
clayjohn 5056b4a02c keep DEPTH from causing compile error in GLES2 2019-03-28 22:14:41 -07:00
Ignacio Roldán Etcheverry 805eec7643
Merge pull request #27497 from neikeq/dynamicmetaobject
C#: Add DynamicGodotObject class
2019-03-29 02:15:56 +01:00
Ignacio Etcheverry bb6814aef0 C#: Add DynamicGodotObject class
Expands to Object.call, Object.set and Object.get for accessing members. This means it can also access members from scripts written in other languages, like GDScript.
2019-03-29 00:53:48 +01:00
Fabio Alessandrelli e61a074a8e Use same boolean for objects encode and decode.
In a very unintuitive move encode needed false to encode an object,
decode needed true to decode it.
They now need the same value: `true`.
2019-03-28 10:43:34 +01:00
Rémi Verschelde 472c8a7ba1 i18n: Sync translations with Weblate
Also sync translation template.
2019-03-28 10:38:58 +01:00
Chaosus 6280be46a6 Properly setup seed in RNG 2019-03-27 19:37:25 +03:00
Rémi Verschelde 174b19f768
Merge pull request #27461 from avencherus/atan2-doc
Corrects small typo in atan2() documentation.
2019-03-27 17:26:53 +01:00
Rémi Verschelde a8beb6a1a5
Merge pull request #27429 from cbscribe/kcc_classref_fixes
[DOC] Physics[2D]DirectBodyState updates
2019-03-27 17:25:12 +01:00
Rémi Verschelde 167d02ef61
Merge pull request #27388 from KidRigger/master
Prevents crash on loading unrecognized resources.
2019-03-27 17:22:27 +01:00
Rémi Verschelde 37969e71e4
Merge pull request #27383 from SpechtMagnus/master
TileMap: Fixed unfinished max_lines draw handling for freeze/crash avoidance.
2019-03-27 17:20:56 +01:00
Rémi Verschelde b6fb7b5190
Merge pull request #27348 from KoBeWi/kinematic_documentation
Better documentation for some move_and_slide parameters
2019-03-27 17:17:54 +01:00
Jared 9838c4df7c Corrects small typo in atan2() documentation. 2019-03-27 18:13:37 +02:00
Rémi Verschelde 64737c735b
Merge pull request #27200 from piyushdagar/new
Fixed CollisionObject signals do not trigger on Area
2019-03-27 17:09:02 +01:00
Rémi Verschelde f27931f365
Merge pull request #27184 from karroffel/gdnative-api-gen-fixes
fix GDNative binding generation for object types
2019-03-27 17:07:18 +01:00
Rémi Verschelde 9d7343a1a3
Merge pull request #27182 from goodyttoor/gltf_order
Fix order of transformation in GLTF import
2019-03-27 17:06:50 +01:00
Rémi Verschelde 1b4204fd76
Merge pull request #27162 from guilhermefelipecgs/fix_26540
StateMachine: Fix sync mode
2019-03-27 17:01:28 +01:00
Rémi Verschelde 492153878f
Merge pull request #27128 from bojidar-bg/27111-gdscript-confounding-class
Fix GDScriptCompiler bugging out with identically-named inner class
2019-03-27 16:57:04 +01:00
Rémi Verschelde e02c7612e5
Merge pull request #27088 from fire/scaling_texture_button_focus
Fix scaling issue for texture button focus texture.
2019-03-27 16:55:07 +01:00
Rémi Verschelde 04c6347856
Merge pull request #27017 from qarmin/fix_inspector_update
Fix inspector update after changing anchor from buttons
2019-03-27 16:53:58 +01:00
Rémi Verschelde 2498151cd6
Merge pull request #27259 from humblers/fix-cpuparticles
Ensure non-emitting particles not processed on entering tree
2019-03-27 16:39:03 +01:00
Juan Linietsky 6574c557c9 Add a "Request Docs" button to code editor. 2019-03-26 16:36:19 -07:00
Daniel Rakos 849596c40c Fixed handling of depth texture so it's resolved and bound when needed
- Cleaned up and improved the code determining when we need to use a depth
  prepass (previously it wasn't executed in certain cases even if it was
  needed)
- Added code to prepare and bind the depth texture even when no depth prepass
  or MRTs (more precisely effect buffers) are used

Fixes #25870, #25535, and #25387.
2019-03-26 17:48:22 +01:00
Leonard 209c2d2c80 Apply proper offset to CSGMesh material and smooth group 2019-03-25 21:27:55 -07:00
Chris Bradfield bb2e6e3ed2 [DOC] Physics[2D]DirectBodyState updates 2019-03-25 21:20:52 -07:00
Thomas Herzog 81292665d5
Merge pull request #27320 from karroffel/gdnative-terminate-error-print
[GDNative] various NativeScript fixes around editor functionality
2019-03-25 08:07:59 +01:00
Anish 8ee31ace34 Prevents crash on loading unrecognized resources.
Editor crashes on trying to load resources with no loaders.
Simple check on the resource loader prevents using a null
resource loader.

Fixes: #27385
2019-03-25 02:32:21 +05:30
Magnus Specht 601acdf0e1 Fixed unfinished max_lines handling for crash avoidance. 2019-03-24 19:17:02 +01:00