Hugo Locurcio
dd4fe8588b
Fix occasional crash when downloading assets from the Asset Library
...
This is caused by GitHub not publishing a Content-Length header in
all cases (it only does so if the file was requested recently),
which in turn made `String.humanize_size()` try to humanize a size of
-1 byte (as returned by HTTPRequest when no Content-Length
is contained in the response).
This crashed the editor due to a division by zero.
This closes #21200 .
2018-08-20 20:21:56 +02:00
Juan Linietsky
c1bd768ca2
Merge pull request #18822 from QbieShay/master
...
Added spring arm node
2018-08-20 14:21:04 -03:00
Juan Linietsky
c7e4527a88
Massive rewrite to AnimationTree. Many APIs changed in order to:
...
-Reuse resources
-Expose properties in AnimationTree
2018-08-20 13:39:16 -03:00
Juan Linietsky
1b66b08fdb
Merge pull request #20908 from AndreaCatania/kiSlope
...
Improved move_and_slide function stay on slope
2018-08-20 13:24:28 -03:00
Alessandro
9c1fd91732
fix Android/HTML5 custom templates option does not work
2018-08-20 17:38:23 +02:00
Rémi Verschelde
75e540ce72
Merge pull request #21148 from akien-mga/placeholder_text_hint
...
Add PROPERTY_HINT_PLACEHOLDER_TEXT for String properties
2018-08-20 17:15:03 +02:00
Rémi Verschelde
16f7ff1ee9
Merge pull request #21224 from hpvb/fix-stray-semicolon
...
Remove a stray semicolon
2018-08-20 15:14:05 +02:00
Hein-Pieter van Braam
e9a35c2c6b
Remove a stray semicolon
...
This was causing a lot of compiler warnings for no good reason.
2018-08-20 15:02:09 +02:00
Rémi Verschelde
661c9ece7c
Add PROPERTY_HINT_PLACEHOLDER_TEXT for String properties
...
Use it to provide a better example for application identifiers
on Android, iOS and macOS, where users thought they *had* to use
this as a magic token.
2018-08-20 13:48:05 +02:00
Rémi Verschelde
1eb1606f34
Merge pull request #21216 from akien-mga/import-export-editorinspector
...
Port ImportDock and ProjectExport to new property editor (2nd try)
2018-08-20 13:47:35 +02:00
Rémi Verschelde
e7c5aca040
Port ImportDock and ProjectExport to new property editor (2nd try)
...
Thanks to @ibrahn for helping debug the crashes caused in ProjectExportDialog
by the stray `update_tree()` call, no longer needed in the new inspector.
2018-08-20 10:07:06 +02:00
Rémi Verschelde
30bfe5c942
Merge pull request #21211 from Chaosus/light_fragcoord
...
Added FRAGCOORD to spatial light shader
2018-08-20 09:36:17 +02:00
Rémi Verschelde
789d1f2e07
Merge pull request #21208 from jmca/master
...
Prevent "cannot use a string pattern on a bytes-like object"
2018-08-20 09:30:01 +02:00
Rémi Verschelde
4723f7fe4d
Merge pull request #21204 from dragmz/revert_gles2_batching
...
Revert "Batch GLES2 draw calls"
2018-08-20 09:24:29 +02:00
Rémi Verschelde
acf67a1a19
Merge pull request #21202 from hpvb/fix-16560
...
Remove faces in in QuickHull::build() that we don't need anymore
2018-08-20 09:21:00 +02:00
Rémi Verschelde
15433cffe7
Merge pull request #21195 from AlexHolly/search-help-selection-color
...
changed search help selection color
2018-08-20 09:17:41 +02:00
Rémi Verschelde
c962f03d37
Merge pull request #21192 from Chaosus/fix_pass_crash
...
Fix crash when setting Material's next pass to itself
2018-08-20 09:13:28 +02:00
Rémi Verschelde
e746be7aa9
Merge pull request #21166 from Zylann/find_in_files_improvement
...
Find in Files improvements
2018-08-20 09:13:03 +02:00
Rémi Verschelde
89f0d826ea
Merge pull request #21197 from JPTeasdale/input-picking-bug
...
Bullet ray picking should ignore objects with input_ray_pickable=false
2018-08-20 09:06:29 +02:00
Chaosus
37f5cc5b63
Added FRAGCOORD to spatial light processing
2018-08-20 09:35:47 +03:00
Justin Abene
c6a4ca5c9e
Prevent "cannot use a string pattern on a bytes-like object"
...
Fixes #21207
2018-08-20 00:42:47 -04:00
Marcin Zawiejski
bd5ff205b2
Revert "Batch GLES2 draw calls"
...
This reverts commit f55039b194
.
The GLES2 batching seems to require more testing and tweaking in order
to actually make the performance better on Android devices. It's been
proved with #21184 that the current implementation has it's drawbacks
therefore I suggest reverting the commit for now.
2018-08-20 02:10:14 +02:00
Hein-Pieter van Braam
33669a8bca
Remove faces in in QuickHull::build() that we don't need anymore
...
We delete the faces for consideration in this loop but we can still
sometimes find an edge that connects to this face. We now interate over
all edges and disconnect edges connecting to this face.
This fixes #16560 and fixes #17569
2018-08-20 00:22:47 +02:00
John Teasdale
7323f7998b
Bullet picking will now ignore objects without input_ray_pickable
2018-08-19 13:14:12 -07:00
Alexander Holland
5ba083ea1b
changed search help selection color
2018-08-19 22:06:20 +02:00
Chaosus
a6e51c8aa1
Fix crash when setting Material's next pass to itself
2018-08-19 21:27:09 +03:00
Marc Gilleron
09c55f43cf
Find in Files improvements
...
- Search results are now grouped by file using a Tree control
- You can opt out occurences when using replace mode
- Double-check search results in case files have been tampered with, so occurrences don't get badly replaced
- Fixed replace bug when an occurrence is found twice in one line
2018-08-19 19:24:39 +01:00
Rémi Verschelde
faa49c1829
Merge pull request #21183 from Chaosus/mat_varyings
...
Allow matrixes in varyings
2018-08-19 19:42:57 +02:00
Rémi Verschelde
c9498d4c3d
Merge pull request #21182 from Calinou/highlight-multiline-strings
...
Highlight multiline strings as strings instead of comments
2018-08-19 18:36:45 +02:00
Chaosus
9634d74d31
Allow matrixes in varyings
2018-08-19 15:36:58 +03:00
Rémi Verschelde
5d09877da8
Merge pull request #21154 from Chaosus/grid_2d_color
...
Added setting to change color of 2d editor grid
2018-08-19 14:17:55 +02:00
Rémi Verschelde
88cb039f39
Merge pull request #21129 from Calinou/fix-3d-grid-origin-flicker
...
Fix the 3D grid flickering when the origin is enabled
2018-08-19 14:15:24 +02:00
Hugo Locurcio
649c3bee3b
Highlight multiline strings as strings instead of comments
...
Since multiline comments are not officially supported in GDScript, it is
more common to see multiline strings being used as strings rather than
as comments (which are actually standalone expressions here).
This closes #21142 .
2018-08-19 13:47:57 +02:00
Andrea Catania
0010d9c82a
Added ray shape and move_and_slide with snapping on 3D.
...
Added stop_on_slope on 2d part
2018-08-19 13:45:23 +02:00
Kelly Thomas
792a8446ac
mono: add Abs() to Rect2 and rename private fields
2018-08-19 19:18:12 +08:00
Rémi Verschelde
238a78f13f
Fix compiling SkeletonIK with disable_3d
...
Fixes #20825 .
2018-08-19 12:09:41 +02:00
Rémi Verschelde
94908f08e5
Merge pull request #20893 from guilhermefelipecgs/invert_depth_map
...
Add option to convert from height map to depth map
2018-08-19 09:57:30 +02:00
Rémi Verschelde
9c00d1aaa8
Merge pull request #21176 from cbscribe/kcc_doc_updates
...
[DOCS] Many class ref updates
2018-08-19 09:37:45 +02:00
Rémi Verschelde
54fcdabfd3
Merge pull request #21179 from elasota/vs-pdb
...
Support debug_symbols in VS optimized builds
2018-08-19 09:34:06 +02:00
Chaosus
66c25d4829
Added possibility to change color of 2d editor grid
2018-08-19 10:04:16 +03:00
elasota
ffe0235f62
Support debug_symbols in VS optimized builds
2018-08-19 01:37:53 -04:00
Chris Bradfield
2a0991dde6
[DOCS] Many class ref updates
2018-08-18 21:35:56 -07:00
Rémi Verschelde
8bc9986db4
Merge pull request #21155 from ordigdug/fix-colorpicker-popup
...
Fixes colorpicker popup immeditately closing when interacting with co…
2018-08-18 22:48:29 +02:00
Rémi Verschelde
92401772c8
Merge pull request #21132 from neonsoup/win_move_to_trash_fix
...
Fix errors during removing files or folders and fix for latin symbols
2018-08-18 22:44:39 +02:00
Rémi Verschelde
8c70344596
Merge pull request #21161 from Noshyaar/inspector-text
...
Fix args count mismatch in property_changed signal
2018-08-18 22:44:04 +02:00
Poommetee Ketson
f19446622a
Fix args count mismatch in property_changed signal
...
...when editing Dictionary/Array property
2018-08-19 03:35:51 +07:00
Rémi Verschelde
fcab86a71e
Merge pull request #21159 from DualMatrix/label_reverse
...
Fixed text entry is going in reverse
2018-08-18 21:38:51 +02:00
DualMatrix
8ad251b331
Fixed text entry is going in reverse
...
Fixed text entry is going in reverse, this undoes what seems to be a mistake in #20400 and fixes #21061
2018-08-18 20:23:54 +02:00
Thomas Herzog
b4ce1e3005
Merge pull request #20965 from dragmz/gles2_batching
...
Batch GLES2 draw calls
2018-08-18 18:37:52 +02:00
pesets
15af0e9ec8
Fix AtlasTexture with NinePatchRect and TextureProgress
2018-08-18 23:06:38 +07:00