Ignacio Roldán Etcheverry
27b4915fa8
Merge pull request #38718 from neikeq/fix-bindings-after-lightmapper
...
Fix C# bindings after lightmapper changes
2020-05-14 16:12:26 +02:00
Rémi Verschelde
a1aaed5a84
Remove redundant void argument lists
...
Using clang-tidy's `modernize-redundant-void-arg`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-redundant-void-arg.html
2020-05-14 13:51:45 +02:00
Rémi Verschelde
dcd1151d77
Enforce use of bool literals instead of integers
...
Using clang-tidy's `modernize-use-bool-literals`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-bool-literals.html
2020-05-14 13:45:01 +02:00
Rémi Verschelde
1a8167867b
Modernize remaining uses of 0/NULL instead of nullptr (C++11)
...
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2020-05-14 13:45:01 +02:00
Rémi Verschelde
1f6f364a56
Port member initialization from constructor to declaration (C++11)
...
Using `clang-tidy`'s `modernize-use-default-member-init` check and
manual review of the changes, and some extra manual changes that
`clang-tidy` failed to do.
Also went manually through all of `core` to find occurrences that
`clang-tidy` couldn't handle, especially all initializations done
in a constructor without using initializer lists.
2020-05-14 10:01:56 +02:00
Ignacio Etcheverry
af78a69b6f
Fix C# bindings after lightmapper changes
2020-05-13 15:54:30 +02:00
Rémi Verschelde
6dfea347b0
Merge pull request #38655 from ice-blaze/minimap-shifted-selection-by-one-line#38532
...
Fix minimap selection offset
2020-05-12 18:02:21 +02:00
Rémi Verschelde
d3bd219362
doc: Sync classref with current source
...
Adds API changes from the new GPU lightmapper.
2020-05-12 10:10:50 +02:00
Rémi Verschelde
66b0b0c153
Merge pull request #38635 from Calinou/tilemap-rename-ysort-index
...
Rename various TileMap methods/properties for clarity and consistency
2020-05-11 23:05:15 +02:00
Rémi Verschelde
83b630b8c2
thirdparty: Cleanup after #38386 , document provenance and copyright
...
Also renamed `delaunay.h` to `delaunay_2d.h` to match the class name.
2020-05-11 14:50:06 +02:00
Rémi Verschelde
32133a11b5
Merge pull request #38386 from reduz/new-lightmapper
...
New GPU lightmapper
2020-05-11 13:45:48 +02:00
Rémi Verschelde
f7254cf43c
Merge pull request #38491 from eduardonunesp/input-line-osx-selection
...
Using the common behaviour when use command+shift on text line for osx
2020-05-11 11:13:12 +02:00
Rémi Verschelde
22db301009
Merge pull request #31938 from KoBeWi/a_welcome_lag
...
Fix VisibilityEnabler2D behavior on start
2020-05-11 10:27:42 +02:00
Eduardo Nunes Pereira
d8f8a3c606
Using the common behaviour when use command+shift on text line for osx
...
* On press left+command+shift or right+command+shift it should behave like shift+home or shift+end and select the text
* Using home and end events as reference
2020-05-11 10:25:07 +02:00
etienne.frank
72ab355945
Fix minimap selection offset
...
The minimap selection was shifted of 1 line too late.
2020-05-11 10:02:16 +02:00
Juan Linietsky
1bea8e1eac
New lightmapper
...
-Added LocalVector (needed it)
-Added stb_rect_pack (It's pretty cool, we could probably use it for other stuff too)
-Fixes and changes all around the place
-Added library for 128 bits fixed point (required for Delaunay3D)
2020-05-10 15:59:09 -03:00
Hugo Locurcio
c64c45ccaf
Rename various TileMap methods/properties for clarity and consistency
...
The YSort renames were tracked in https://github.com/godotengine/godot/issues/16863 .
This closes https://github.com/godotengine/godot-proposals/issues/814 .
2020-05-10 19:16:38 +02:00
Rémi Verschelde
94721f5ab8
Revert "Renamed plane's d to distance"
...
This reverts commit ec7b481170
.
This was wrong, `d` is not a distance but the `d` constant in the
parametric equation `ax + by + cz = d` describing the plane.
2020-05-10 16:47:11 +02:00
Rémi Verschelde
69de7ce38c
Style: clang-format: Disable AllowShortCaseLabelsOnASingleLine
...
Part of #33027 .
2020-05-10 13:13:54 +02:00
Rémi Verschelde
e956e80c1f
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
...
Part of #33027 , also discussed in #29848 .
Enforcing the use of brackets even on single line statements would be
preferred, but `clang-format` doesn't have this functionality yet.
2020-05-10 13:12:16 +02:00
Rémi Verschelde
03b13e0c69
Style: Add missing copyright headers
2020-05-10 13:12:16 +02:00
Rémi Verschelde
9cc67b19b8
Merge pull request #38613 from MCrafterzz/plane
...
Renamed plane's d to distance
2020-05-10 13:06:55 +02:00
Marcel Admiraal
68eaaa6d6b
Prevent CapsuleShape2D height from being less than zero.
2020-05-10 11:45:27 +01:00
Marcus Elg
ec7b481170
Renamed plane's d to distance
2020-05-10 12:12:51 +02:00
Marcus Elg
9a7e515d50
Rename Lineshapes d to distance
2020-05-09 15:10:00 +02:00
Hugo Locurcio
3a11baaeac
Turn the anisotropic filtering setting into an enum
...
Since it only accepts power-of-two values, exposing it as an enum
makes more sense. This also allows for adding property hints to indicate
the performance cost of each value.
This also improves property hints for MSAA and FXAA.
2020-05-08 12:07:35 +02:00
Tomasz Chabora
d0c5d91032
Fix VisibilityEnabler2D behavior on start
2020-05-08 11:19:52 +02:00
Mateo Kuruk Miccino
e253451a5b
GUI: Touch screen button click area now is synced with its draw
...
(cherry picked from commit 1cba7fb180
)
2020-05-07 21:21:13 +02:00
Rémi Verschelde
d7b85fbaa1
Merge pull request #31086 from volzhs/underline
...
Use underline position and thickness value in font file
2020-05-07 21:18:41 +02:00
Rémi Verschelde
bef52957d0
Merge pull request #38226 from Calinou/increase-camera3d-fov
...
Increase the default Camera3D field of view to 75
2020-05-07 21:16:21 +02:00
Rémi Verschelde
b62218bbac
Merge pull request #38385 from ThakeeNathees/method-bind-text_edit-set_line
...
method bind TextEdit::set_line() added
2020-05-07 13:43:34 +02:00
Rémi Verschelde
49a1e3db12
Merge pull request #38524 from hoontee/master
...
Fix bug with AudioStreamPlayer3D audio position
2020-05-07 11:18:20 +02:00
hoontee
330bd686ab
Fix bug with AudioStreamPlayer3D audio position
...
Applies 0c78a58b64
to `AudioStreamPlayer3D::play`.
2020-05-07 02:23:50 -05:00
nobuyuki_nyuu
35f30086de
PopupMenu.get_current_index() bound to ClassDB
2020-05-06 15:27:35 -05:00
Rémi Verschelde
aca9cfa76c
Merge pull request #38495 from DarkMessiah/tree-bind-suffix
...
Bind set_suffix and get_suffix in Tree
2020-05-06 13:58:34 +02:00
Rémi Verschelde
ca289f4d6f
Merge pull request #38488 from EricEzaM/adjust-stretch-ratio-value-range-and-documentation
...
Updated editor spin slider to have better behaviour and adjusted control's size_flags_stretch_ratio value range
2020-05-06 10:06:53 +02:00
Stanislav Labzyuk
ac8814624d
Bind set_suffix/get_suffix in Tree
2020-05-06 14:47:19 +07:00
Eric M
915ab50673
Updated editor spin slider to have better behaviour and adjusted control's size_flags_stretch_ratio value range
2020-05-06 17:43:31 +10:00
Rémi Verschelde
42649565e9
Merge pull request #38475 from Chaosus/vs_quals
...
Added uniform qualifiers to visual shaders
2020-05-06 07:27:35 +02:00
Rémi Verschelde
4d50f747d5
Merge pull request #37293 from Janglee123/ctrl-click-improvements
...
Improved go-to definition (Ctrl + Click)
2020-05-05 16:49:15 +02:00
Rémi Verschelde
88e242116a
Merge pull request #38480 from ThakeeNathees/tween-get-set-fix
...
Fix: Tween always return true for _get(), _set()
2020-05-05 16:43:54 +02:00
Thakee Nathees
2811268231
Fix: Tween always return true for _get(), _set()
2020-05-05 16:32:33 +05:30
Yuri Roubinsky
463e4ad0f5
Some fixes for canvas item visual shader inputs
2020-05-05 13:19:36 +03:00
Yuri Roubinsky
082542b525
Added uniform qualifiers to visual shaders
2020-05-05 11:25:48 +03:00
janglee
be7a353c70
Improved go-to definition (Ctrl + Click)
...
Co-Authored-By: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2020-05-05 10:46:12 +05:30
Rémi Verschelde
f7ca1c805b
doc: Sync classref with current source
2020-05-04 16:55:01 +02:00
Rémi Verschelde
878adb22b7
Merge pull request #37717 from qarmin/world_fix
...
Change non-existent World to World3D
2020-05-04 16:37:40 +02:00
Rémi Verschelde
560510b93b
Merge pull request #38446 from qarmin/navigation_polygon_type
...
Fixes type of array in _set_outlines function
2020-05-04 16:36:16 +02:00
Rémi Verschelde
69f36cea8c
Revert "Emit signal when animation ends by seek"
...
This reverts commit bf1cc116e1
.
This needs more discussion to avoid breaking some users' expectations.
See #38086 for arguments.
2020-05-04 16:09:19 +02:00
qarmin
4af274756f
Fixes type of array in _set_outlines function
2020-05-04 07:39:40 +02:00