Commit graph

24840 commits

Author SHA1 Message Date
Rémi Verschelde
899dbf4da0
Merge pull request #33844 from akien-mga/glTexImage2D-format
GLES2: Restructure depth_internalformat code to work on mobile
2019-11-25 13:56:23 +01:00
Rémi Verschelde
ba997461ba
Merge pull request #33876 from nekomatata/bookmarks-menu-translation
Removed translation for bookmarks menu item name in TextEditor
2019-11-25 13:52:30 +01:00
PouleyKetchoupp
8f0c1daf1c Removed translation for bookmarks menu item name in TextEditor
Only the label's text needs a translation, and it could cause issues when getting the node by name in a different language.
2019-11-25 13:23:09 +01:00
James Buck
5f451e0fb2 Fix WindowDialog moving when resized from the left/top edge
get_combined_minimum_size() must be used in order to consider the min size
specified by the user when determining how far the left/top edge is allowed
to move. Otherwise the dialog may think it can shrink further than it
should, causing the right/bottom edge to move when the rect size is fixed in
set_size().
2019-11-24 23:39:55 -06:00
Fabio Alessandrelli
ed19b4076e Add download_chunk_size property to HTTPRequest.
This allows setting the `read_chunk_size` of the internal HTTPClient.
This is important to reduce the allocation overhead and number of file
writes when downloading large files, allowing for better download speed.
2019-11-24 19:32:20 +01:00
Robert Colton
c99f6453b9
Update Viewport.xml
Add description for gui_is_dragging to document drag and drop behavior.
2019-11-24 10:45:04 -05:00
PouleyKetchoupp
1120de862d StyleBox preview adjusted to fit all drawn content
This change allows StyleBox preview to take shadows and content margins into account to display how a whole panel would be rendered.

The preview control clips contents so that in any case it doesn't bleed on controls around.

Fixes #33801
2019-11-24 16:26:30 +01:00
PouleyKetchoupp
8830e53fe1 Fixed index out of size error in TextEdit when opening scripts 2019-11-24 10:48:04 +01:00
clayjohn
5ab3b61520 Restructure depth_internalformat code to work on mobile
This changes the code path so that `glRenderBufferStorage*` always uses
values appropriate for renderbuffers and `glTexImage2D` never uses an
internalformat meant for buffers.

Fixes #33825.
2019-11-23 18:08:19 -08:00
Rémi Verschelde
bb1d75f55e glTexImage2D: Fix confusion between format and internal format
The `format` parameter is similar to `internalFormat` but takes different
values, and especially only `GL_DEPTH_COMPONENT` for depth, without size
specifier.

Cf. https://www.khronos.org/registry/OpenGL-Refpages/es3.0/html/glTexImage2D.xhtml

Fixes a regression from #33278 and another occurrence.
2019-11-23 19:38:31 +01:00
Rémi Verschelde
636bc5c32f
Merge pull request #33828 from neikeq/貴様
Mono/C#: Prevent SCons from building API solutions in parallel
2019-11-23 11:24:48 +01:00
Fabio Alessandrelli
9b2073aa97
Merge pull request #33652 from Black-Cat/http-client-fix
Fix HTTPClient::poll crash when connection set to null
2019-11-23 10:15:45 +01:00
Artem Burjachenko
b73073ae36 Fix HTTPClient::poll crash when connection set to null 2019-11-23 11:06:14 +04:00
Hugo Locurcio
13f98f80b6
Use the CanvasItemEditor info overlay to display TileMap coordinates
This also removes the editor setting that toggles coordinate display,
as it no longer solves an existing bug.

This closes #28135.
2019-11-22 23:58:36 +01:00
Ignacio Etcheverry
ebdd2bc474 Mono/C#: Prevent SCons from building API solutions in parallel 2019-11-22 23:42:24 +01:00
Rémi Verschelde
91b60a74df
Merge pull request #33799 from fire/gltf2-scene
33714 glTF2 scene count change try two.
2019-11-22 20:55:42 +01:00
K. S. Ernest (iFire) Lee
80b1604fa9 33714 glTF2 handle undefined load-time scene. 2019-11-22 08:48:23 -08:00
Rémi Verschelde
b7ea22c5d2 i18n: Sync translation template with current source 2019-11-22 09:21:58 +01:00
Rémi Verschelde
b395d6bd80 i18n: Sync translations with Weblate 2019-11-22 09:20:29 +01:00
Rémi Verschelde
fd6394e217
Merge pull request #33798 from capnm/capnm-fix-33749
Setting the node process priority should not trigger an error
2019-11-22 09:02:40 +01:00
Rémi Verschelde
2ea0d79073
Merge pull request #33810 from akien-mga/codespell
Fix typos with codespell
2019-11-22 08:58:50 +01:00
Rémi Verschelde
c41c24562d Style: Add missing copyright headers 2019-11-22 08:37:09 +01:00
Rémi Verschelde
ab3bccdb78 Fix typos with codespell
Using codespell 1.16.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF

$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-11-22 08:35:03 +01:00
Rémi Verschelde
28613ab8c9
Merge pull request #33794 from nekomatata/gltf-morph-shapes-crash2
Error instead of crash in gltf import with more than one morph target
2019-11-21 22:09:08 +01:00
Rémi Verschelde
1dc110fe7b
Merge pull request #33793 from fire/33756
33756 gltf2 importer should use zfar
2019-11-21 22:08:03 +01:00
Rémi Verschelde
c352e6f841
Merge pull request #33792 from clayjohn/GLES3-cubemap-fix
Fix GL error by properly using float uniform
2019-11-21 22:07:03 +01:00
Rémi Verschelde
5e548385ac
Merge pull request #33777 from KoBeWi/conditional_fix
Unfold directories when showing in file system
2019-11-21 22:06:09 +01:00
Ignacio Roldán Etcheverry
63b321dbbb
Merge pull request #33791 from neikeq/issue-33761
C#: Fix PathWhich on Windows when name already has extension
2019-11-21 21:34:12 +01:00
Martin Capitanio
a7df198c94 Setting the node process priority should not trigger an error
Fixes #33749
This function can be called outside the scene tree.
2019-11-21 18:08:52 +01:00
PouleyKetchoupp
e949665489 Error instead of crash in gltf import with more than one morph target
Redone from PR #33782 to fix the crash without adding compatibility with Blender 2.8
Helps with #16124, while Blender 2.81 has the proper export fix.
2019-11-21 17:25:01 +01:00
K. S. Ernest (iFire) Lee
d0de373884 33756 gltf2 importer should use zfar 2019-11-21 07:52:18 -08:00
clayjohn
203fb1b348 Fix GL error by properly using float uniform 2019-11-21 07:44:09 -08:00
Tomasz Chabora
01d77842ee Unfold directories when showing in file system 2019-11-21 15:40:11 +01:00
Ignacio Etcheverry
f91416d9ac C#: Fix PathWhich on Windows when name already has extension
Also make the Posix version of PathWhich check if the file has executable access.
2019-11-21 14:53:00 +01:00
Rémi Verschelde
37b230fe3a
Merge pull request #33783 from bruvzg/mac_remove_cvdisplaylink_hack
[macOS] Remove CVDisplayLink v-sync hack.
2019-11-21 10:36:34 +01:00
Rémi Verschelde
3d74bbe720
Merge pull request #33312 from BenjaminNavarro/master
Better description of the binds parameter of connect
2019-11-21 10:36:15 +01:00
bruvzg
e423e1c663
[macOS] Remove CVDisplayLink v-sync hack. 2019-11-21 11:01:47 +02:00
Rémi Verschelde
2981915f19
Merge pull request #28526 from PtrMan/pr_bakeGi1
GIProbe::bake(): special handling of spatial
2019-11-21 09:28:44 +01:00
Benjamin Navarro
b81f9f777f Better description of the binds parameter of connect
Now states how binds are handled if they are used together with parameters passed to emit_signal
2019-11-21 09:15:58 +01:00
Rémi Verschelde
5ef5e6a7e4
Merge pull request #32274 from raphael10241024/fix_sync_physics_jitter
fix kinematicBody2D jitters when sync_to_physics is turned on
2019-11-21 08:53:24 +01:00
PtrMan
8695135691 GIProbe::bake: Remove check for ownership
Fixes #28508.
2019-11-21 08:48:56 +01:00
Rémi Verschelde
daefd4f047
Merge pull request #33779 from clayjohn/bugfixes_from_env_map_fix
Fix bugs introduced by IBL fixes
2019-11-21 08:29:53 +01:00
clayjohn
4d6737ec73 Fix bugs introduced by IBL fixes 2019-11-20 22:54:44 -08:00
Rémi Verschelde
083d088de3
Merge pull request #33583 from qarmin/fix_overflows_unitialized
Fix some overflows and unitialized variables
2019-11-20 21:31:12 +01:00
Rémi Verschelde
719254ae0d
Merge pull request #33759 from bruvzg/arkit_dyn_load
[iOS] Link and load ARKit framework dynamically.
2019-11-20 21:17:43 +01:00
Rémi Verschelde
ccebd1f4fc
Merge pull request #33734 from merumelu/editor-vcs-init
Editor: fix typo in VCS plugin method names
2019-11-20 21:17:32 +01:00
Rémi Verschelde
bdf0037a9c
Merge pull request #33769 from fire/33714
33714 Crash fixes for GLTF2 and FBX
2019-11-20 21:10:52 +01:00
K. S. Ernest (iFire) Lee
5d70a95fe1 33714 Check if the image is null before use. 2019-11-20 11:22:35 -08:00
K. S. Ernest (iFire) Lee
3b44866bf2 33714 If the gltf2 asset has no scene, it is corrupt. 2019-11-20 10:49:24 -08:00
Rafał Mikrut
99d8626f4a Fix some overflows and unitialized variables 2019-11-20 16:22:16 +01:00