Nicolas Silva
a0e59a7259
Fix polygon triangulation failure.
...
The ear clipping algorithm used to triangulate polygons has a slightly too conservative point-in-triangle test which can, in some configurations prevent it from finding a possible tessellation. Relaxing the test by considering that points exactly on edges don't belong the triangle fixes the issue. Changing the semantic of the test is safe because no other code makes use of it. A more detailed explanation can be found in issue #16395 .
Fixes #16395 .
(cherry picked from commit 91215e191992f3cbbbf4fe047b000ac5a403085c)
2018-02-19 22:13:46 +01:00
Paolo Perkovic
82b9a13e0c
Fix timeline track name overlapping keyframe area
...
(cherry picked from commit 398f5b74e3f1d0131f28ca13dfd6d0308c40d54e)
2018-02-19 22:13:46 +01:00
Hugo Locurcio
79ef5f92a9
Remove a few debugging prints
...
(cherry picked from commit 84267915f50559ebc555c88fa90713596a74e918)
2018-02-19 22:13:46 +01:00
Hugo Locurcio
5d7867082d
Always detect and use hiDPI in the project manager if needed
...
This makes its hiDPI behavior consistent with the editor.
(cherry picked from commit 55a2bffac9ca2db40f5bd1dfad0e1c3b28400171)
2018-02-19 22:13:45 +01:00
Hugo Locurcio
fda35b3f42
Draw the Camera gizmo more accurately
...
The Camera gizmo no longer looks twice as wide as it actually is.
This fixes #16399 .
(cherry picked from commit 0d7d293889edaf12cc3cc4205b5450dee2203cbd)
2018-02-19 22:13:45 +01:00
Michael Alexsander Silva Dias
a0e9d751a3
Fixed wrong example in JSONParseResult.
...
(cherry picked from commit 24e87f97c600f73187a8c3c9071943a465a6354e)
2018-02-19 22:13:45 +01:00
Marcin Zawiejski
d4a70c6c08
fix buffer write performance on Windows and Unix
...
(cherry picked from commit 8315aa40ccbb0274d87f7b94ed52aa252e4aa626)
2018-02-19 22:13:45 +01:00
binbitten
65aa9063c4
Fix spaces and quotes in external editor flags
...
(cherry picked from commit fb8d2420b58825c5293025ca8dc5b3f4e587787d)
2018-02-19 22:13:45 +01:00
ianb96
9eb546e7ff
drop path text at mouse pos
...
(cherry picked from commit 06965f2770a5ee25db1691174d22d2a4a8e9116a)
2018-02-19 22:13:45 +01:00
ianb96
f031e2f665
disable scene tree shortcuts when in a textfield
...
(cherry picked from commit 4e96e043898cc3e37df9aea4758b765630c9e326)
2018-02-19 22:13:45 +01:00
Poommetee Ketson
4bed14f69b
Gradient: fix wrong property type
...
(cherry picked from commit 4f9ef96b540adacafbf912379b16ed6519567d0d)
2018-02-19 22:13:45 +01:00
Chaosus
91692ce72a
Fix gradient texture preview
...
(cherry picked from commit 3ba43ac975fae174454f38ec7ae9979ea0eb5964)
2018-02-19 22:13:45 +01:00
binbitten
05e97db6f2
Fix wrong property type for fixed icon size in ItemList
...
(cherry picked from commit 331cfc1d18bc57b798ebc024a8cf40b79ac65a82)
2018-02-19 22:13:45 +01:00
Michael Alexsander Silva Dias
617bcd1b91
Capitalized "View" menu options.
...
(cherry picked from commit b507eeddcce18511445c940a8803ab439f830afa)
2018-02-19 22:13:45 +01:00
Benjamin Dobell
34d8625d82
Fix pkgconfig detection of mono
...
(cherry picked from commit 5920bc6f72daacbfb0345c19af9e181110b0def6)
2018-02-19 22:13:45 +01:00
Paolo Perkovic
79b931d093
Fix UX with project settings search functionality
...
(cherry picked from commit e7b98119df4a4ddf8476d4b6f255f674c85be12c)
2018-02-19 22:13:45 +01:00
Nathan Warden
9173819b71
[Mono] Basis values now marshalled in the correct order.
...
(cherry picked from commit 0cc4de1f24bf1fee89cb64cd11ae245be0ea3d98)
2018-02-19 22:13:45 +01:00
JFonS
8787850286
Fix gizmo solid box mesh being added twice
...
(cherry picked from commit d0a2931cd75c48759a3d955632e898b4f0f5a60d)
2018-02-19 22:13:45 +01:00
Max Hilbrunner
2515d42a14
[DOCS] parse_json: Objects do not keep key order
...
Document JSON not guaranteeing key order.
(cherry picked from commit 82b8f1729dd2d0d1e574628e82261e2a21809a96)
2018-02-19 22:13:44 +01:00
Guilherme Felipe
1a9a40fe31
Make parent folder selectable. Fix #16253
...
(cherry picked from commit 6e1c02b828f0238c97b87e5a5678152d4c518da1)
2018-02-19 22:13:44 +01:00
Guilherme Felipe
eda3169cd1
Fixes open button not appearing with multiple selection
...
Fix #16231
(cherry picked from commit 09c277693e951199ede72f47263088e1d2bc4c67)
2018-02-19 22:13:44 +01:00
George Marques
d7f73031fb
Show default values in docs for GDScript built-in functions
...
(cherry picked from commit dca2ae78dd04530bf96c3d550e57fc945876ea95)
2018-02-19 22:13:44 +01:00
Poommetee Ketson
ba36ef5465
3DEditor: fix selecting node in viewport not update inspector
...
(cherry picked from commit cfac160f9fb29996a38e1360f223236ccf15c48c)
2018-02-19 22:13:44 +01:00
Poommetee Ketson
41f9904e71
3DEditor: fix multiple node selection crash the editor
...
I'm not sure about this fix. This seems to also fixes the weird
selection bug where when selecting node 1 to 3 it focuses on
2nd node.
(cherry picked from commit 25dd1f0681cf6532b1d0fb1e023d0e8a50c30e69)
2018-02-19 22:13:44 +01:00
Gilles Roudiere
a206d3d2fc
Fixes a Gridcontainer wrong children fitting with expanded+non-zero minisize
...
(cherry picked from commit d1f32708b72371db77bcf070618bf6bddaa78280)
2018-02-19 22:13:44 +01:00
Gilles Roudiere
a6ca62ac79
Fixes a bas resizing with SplitContainer
...
(cherry picked from commit 30e1e421751fad51364b85ad3620819408aea352)
2018-02-19 22:13:44 +01:00
Rémi Verschelde
85dedc09a8
Readd VS.sync and VS.draw to keep compatibility
...
Those are deprecated as VS.force_sync and VS.force_draw do the same and more explicitly,
but we cannot remove them without marking them as deprecated before that.
Fixes issue introduced in #15892 .
(cherry picked from commit fd92e571ac4380b83ee1f1af5eef59f3aa8b8535)
2018-02-19 22:13:44 +01:00
Marc Gilleron
9e7c3016d1
Added all missing VisualServer bindings
...
- Added bindings for multimesh, immediate, skeleton, light, reflection probe, gi probe, lightmap, particles, camera, environment, scenario, instance
- Removed draw and sync, were duplicates of force_* equivalents
- Bumped binders max arguments from 11 to 13
- Wrote some wrappers as not all methods were variant-friendly
(cherry picked from commit e415fd05bb5f7f66cfa76bf27247ffe329429405)
2018-02-19 22:13:44 +01:00
Marcelo Fernandez
906cf28dae
Improved WASAPI driver so that it always uses the default audio device
...
(cherry picked from commit d5afcf7ab1cd52d14a120c3857fff5801f063d9c)
2018-02-19 22:13:44 +01:00
Rémi Verschelde
801b544ee1
Windows: Fix case of imm32 for case-sensitive MinGW build
...
Fixes #16713 .
(cherry picked from commit 4fa8987494c213bf85fbadaf394d844874544990)
2018-02-19 22:13:44 +01:00
geequlim
097f95993f
Windows: implement OS.get_unique_id and OS.set_ime_position
...
(cherry picked from commit 3be04f73f567b9c39efae697e2a9b7d3c6185fc3)
2018-02-19 22:13:39 +01:00
Bernhard Liebl
c04d868476
Make KEY_ESCAPE close all output/debugger docks on bottom
...
(cherry picked from commit 2ae2735a7a2631ef1a2c901a81135b1a1f3f954f)
2018-02-19 21:01:41 +01:00
Saracen
50674dbe15
Expose 'lightmap_unwrap' method to the scripting engine.
...
(cherry picked from commit e3fdacdf90477da67a06681cf101255374cc070c)
2018-02-19 20:57:40 +01:00
Paul Joannon
71607d9198
Fix bug when launching a game with no main scene
...
Check for a main scene after loading project settings and exit if there's none (except if launching in editor mode).
(cherry picked from commit 3f8a4cc7193e964f716fde2cd28a946669e2d8d6)
2018-02-19 20:56:54 +01:00
Julian Murgia
3548f71cc4
Display path to preloaded res + button to open it
...
(cherry picked from commit b766a849adb027762baabc89c0b58635883cd9d7)
2018-02-19 20:56:16 +01:00
Paul Joannon
a1455f6a03
Change 'Build Project' button style in Mono panel
...
Address #15208
(cherry picked from commit 484f664331a0aa45f0b6bbee46a9d1d631edf23e)
2018-02-19 20:50:39 +01:00
Jerome67000
f64b68d870
Change primitive meshes acccuracy value
...
(cherry picked from commit b72c9b85d04f7c5c0e2a1098484a809bc5a974e9)
2018-02-19 20:49:41 +01:00
Michael Alexsander Silva Dias
f1d26c1c72
Re-enabled type icons.
...
(cherry picked from commit f7547a7f28c88e7a271a96bee011d1c2b1f7f9b0)
2018-02-19 20:48:36 +01:00
Vincenzo Greco
7f5fde6459
Select root node if search_box is empty in create_dialog
...
(cherry picked from commit 586e7351252b8c0a3c29b31e51c0959e76f4a531)
2018-02-19 20:47:44 +01:00
Colin Kinloch
611caa06a5
Fixed android arm64v8
...
(cherry picked from commit 853b1daa499cf3add4014cf4d825c01603e2d1ea)
2018-02-19 20:46:49 +01:00
Nathan Warden
3f6e8d70cf
Added async and await as C# keywords.
...
(cherry picked from commit 3dcf0567a11887a460aefc76b3bce8636d688019)
2018-02-05 09:33:01 +01:00
Ignacio Etcheverry
40c779fb70
Mono: Remove automatic script multilevel calls
...
(cherry picked from commit 84437b48645ac688bd182eb9f5f58896e46a752f)
2018-02-05 09:32:29 +01:00
Phil Jones
532abf228c
Fix texture import spelling
...
(cherry picked from commit d1a471f90967b5591b7bb072514b459cbc1bcb33)
2018-02-04 20:11:13 +01:00
Michael Alexsander Silva Dias
248fea2a79
Small fixes for the Control description in the docs.
...
(cherry picked from commit 5e0821e867ee2b63297d527d2fe7aaae377a2007)
2018-02-04 20:10:45 +01:00
Paolo Perkovic
7de47fbabb
Fix inconsistencies and typos in argument names
...
(cherry picked from commit 08d4bfacafa8abe435d51a6afecb276030a23280)
2018-02-04 20:10:13 +01:00
volzhs
62dc7ba82f
Expand project root directory on editor start
...
close #16232
Option for expanding all directories on start up is a bit tricky and buggy.
(cherry picked from commit 127d1241bdb8c66f574f219c466eb97da4dcbb72)
2018-02-04 20:09:26 +01:00
Nathan Warden
4a3a597377
Fix an infinite recursion in the Mathf.Decimals method when using floats.
...
(cherry picked from commit 2109bd3f9722929a1d8b6850b235677a03a1313a)
2018-02-04 20:08:26 +01:00
Guilherme Felipe
501880e9ba
Hide button tree when file system dock isn't in split mode
...
(cherry picked from commit bb936b5503be983c24414df3765cf4fe8539531b)
2018-02-04 20:07:56 +01:00
Profesor Tartelett
bd02969263
Errata fix on Image get_format() description
...
The description of this function seems to be duplicated from the preceding description.
(cherry picked from commit 9d735ffacbc92d854c9625c2c6930a32282b3e96)
2018-02-04 20:07:19 +01:00
binbitten
0fa4325153
Fix TextEdit current line highlight horizontal offset
...
(cherry picked from commit ba8c5bff69a776322a7633e9d3e18da5257039ff)
2018-02-04 20:06:46 +01:00