Rémi Verschelde
63d206e61e
Merge pull request #42187 from m4gr3d/main_android_subview_init_update
...
Add overridable init method for the Godot fragment instance.
2020-09-23 09:30:12 +02:00
booer
113921b56c
Fixes updating CPUParticles emmision shape values
2020-09-23 14:17:47 +07:00
Rémi Verschelde
6f50571eff
Merge pull request #42195 from extrawurst/patch-1
...
add iOS Simulator platform
2020-09-23 09:13:41 +02:00
Rémi Verschelde
bb2466bbc0
Merge pull request #42196 from Calinou/fix-file-access-zip-crash
...
Fix crash when opening a ZIP data pack
2020-09-23 09:13:05 +02:00
Rémi Verschelde
cadba267b5
Merge pull request #42203 from rcorre/physicsmat_hint
...
Fix hints on PhysicsMaterial bounce/friction.
2020-09-23 09:06:59 +02:00
Rémi Verschelde
d21b3c2693
Merge pull request #42217 from Calinou/doc-richtextlabel-append-bbcode-no-close
...
Document `RichTextLabel.append_bbcode()` not closing previously open tags
2020-09-23 08:59:14 +02:00
Zae
b5eea5cfd4
Fix C# string.IsAbsPath()
2020-09-23 13:53:35 +08:00
Aaron Franke
9394c057b8
Remove redundant is_equal_approx_ratio method
...
is_equal_approx is able to handle values of any size, and is_equal_approx_ratio is no longer used in any exposed APIs, so we don't need is_equal_approx_ratio anymore. Also, add #ifdef MATH_CHECKS for a method that is only used when MATH_CHECKS is defined.
2020-09-23 00:28:49 -04:00
Aaron Franke
23dabcd2d0
Change Basis is_equal_approx to use instance method
2020-09-23 00:28:49 -04:00
Yuri Roubinsky
e40ba13e59
Merge pull request #42254 from Chaosus/vs_fix_expressions
...
Fix expressions nodes in visual shaders
2020-09-22 23:19:04 +03:00
Yuri Roubinsky
81a44a4145
Fix expressions nodes in visual shaders
2020-09-22 23:07:55 +03:00
Rémi Verschelde
94529d0e1e
Merge pull request #41912 from skyace65/NavigationMesh
...
Document some properties of NavigationMesh
2020-09-22 16:38:27 +02:00
Rémi Verschelde
466a6d75e4
Merge pull request #42215 from Chaosus/forbid_invalid_varyings
...
Forbids varying declaration in particles and sky shaders
2020-09-22 16:37:14 +02:00
Rémi Verschelde
5824766a3c
Merge pull request #41430 from Lunatoid/no-icon-resize
...
Fixes DefaultProjectIcon scaling with editor scale
2020-09-22 15:52:12 +02:00
Lunatoid
740100d671
Fixes DefaultProjectIcon scaling with editor scale
...
Should fix #27009 where the DefaultProjectIcon was scaling
with the EDSCALE. Now it checks if the icon name is equal
to "DefaultProjectIcon" and sets the scale to 1.0 instead of
EDSCALE.
2020-09-22 15:38:44 +02:00
Rémi Verschelde
071d359f42
Merge pull request #42171 from Pineapple/fix-custom-modules-vs-master
...
Fix custom modules in Visual Studio
2020-09-22 12:52:04 +02:00
Yuri Roubinsky
53740c69df
Forbids varying declaration in particles and sky shaders
2020-09-22 10:35:52 +03:00
Yuri Roubinsky
6f89db3d8c
Merge pull request #42243 from Chaosus/vs_fix_bug
...
Fix UniformRef invalid updating when LineEdit focus out
2020-09-22 10:29:06 +03:00
Yuri Roubinsky
477f6c880e
Fix UniformRef invalid updating when LineEdit focus out
2020-09-22 09:56:24 +03:00
Yuri Roubinsky
160ad23e5d
Merge pull request #42225 from Chaosus/vs_fix_bugs
...
Fix some bugs in visual shader editor
2020-09-21 22:32:15 +03:00
Yuri Roubinsky
07fb960a88
Fix some bugs in visual shader editor
2020-09-21 22:19:20 +03:00
Rémi Verschelde
17b047bd30
Merge pull request #42227 from Calinou/doc-array-fix-typo
...
Fix a typo in the Array class documentation
2020-09-21 18:43:49 +02:00
Hugo Locurcio
603eddce86
Fix a typo in the Array class documentation
...
This closes https://github.com/godotengine/godot-docs/issues/4049 .
2020-09-21 17:03:14 +02:00
Rémi Verschelde
ebf3bad571
Merge pull request #42226 from Calinou/doc-rect2-aabb
...
Cross-reference AABB and Rect2 in the class reference
2020-09-21 16:07:29 +02:00
Hugo Locurcio
e9eddb4f1f
Cross-reference AABB and Rect2 in the class reference
2020-09-21 14:27:50 +02:00
Hugo Locurcio
3e1457f517
Document RichTextLabel.append_bbcode()
not closing previously open tags
...
This closes #42216 .
2020-09-20 18:21:19 +02:00
Rémi Verschelde
8039978110
Merge pull request #42211 from Calinou/doc-javascript-build-time-disable
...
Document that the JavaScript singleton may be disabled at build-time
2020-09-20 17:21:24 +02:00
Hugo Locurcio
0422027f07
Document that the JavaScript singleton may be disabled at build-time
2020-09-20 16:40:16 +02:00
Rémi Verschelde
0923a1f700
Merge pull request #41426 from madmiraal/fix-bullet-zero-scale
...
Check and correct for zero scaling when unscaling Bullet basis.
2020-09-20 09:24:50 +02:00
Ryan Roden-Corrent
6c18baee9c
Fix hints on PhysicsMaterial bounce/friction.
...
These values are only meaningful in the range 0 to 1.
Make sure the editor enforces reasonable values.
Fixes #42202 .
2020-09-19 18:44:49 -04:00
Hugo Locurcio
0b65342fd2
Fix crash when opening a ZIP data pack
...
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2020-09-19 15:45:00 +02:00
Stephan Dilly
f49199bcc3
add iOS Simulator platform
...
without this we have to manually drop a `x86_64` builds of gdnative libs into the Xcode project to allow running in `iOS Simulator`
2020-09-19 15:09:36 +02:00
Fredia Huya-Kouadio
79c1cf600b
Add overridable init method for the Godot fragment instance.
2020-09-18 16:59:09 -07:00
Leleat
adb205a150
add description for ScriptEditor.open_script_create_dialog()
2020-09-19 00:03:24 +02:00
Rémi Verschelde
7fff7b863c
Merge pull request #42174 from akien-mga/zstd-1.4.5
...
zstd: Update to upstream version 1.4.5
2020-09-18 22:02:35 +02:00
Rémi Verschelde
914591c9ae
zstd: Update to upstream version 1.4.5
2020-09-18 21:47:12 +02:00
PouleyKetchoupp
54eaaf456f
Fix popup menu item selected when opening the menu
...
In order to allow selecting items by either holding left click, or click
to open and click again to select, mouse button release was invalidated
based on the amount of mouse motion.
This was causing issues in some scenarios where an item could be
selected while opening the menu if the mouse moved enough between button
press and release.
This case could happen in the language selection of the project manager,
especially on linux, because of the order and timing of the mouse
events on x11.
This change invalidates mouse release based on a timing condition rather
than moved distance to handle any case from the display server properly.
2020-09-18 20:45:59 +02:00
Bartłomiej T. Listwon
b0b5cd07ec
Fix custom modules in Visual Studio
2020-09-18 19:33:03 +02:00
Fabio Alessandrelli
27ab97501b
[HTML5] Add override keyword, cleanup methods.
2020-09-18 18:48:59 +02:00
Fabio Alessandrelli
179e6fabb4
Fix RasterizerDummy, override, cleanup.
...
Add override keyword to RasterizerDummy methods.
Plus cleanup unused methods, remove virtual keyword.
2020-09-18 18:43:15 +02:00
Rémi Verschelde
a332e2f5b2
Merge pull request #41861 from Razoric480/fix-vscript-value-by-type
...
Add a function to sanitize variant values in visual script
2020-09-18 17:36:01 +02:00
Francois Belair
a598c77058
Add a VScript func to sanitize variant values
...
Fixes #27611
2020-09-18 11:19:53 -04:00
Rémi Verschelde
cff43e5326
Merge pull request #41930 from RandomShaper/fix_gdscript_leaks
...
Fix leaks in GDScript
2020-09-18 16:18:57 +02:00
Rémi Verschelde
cb244f0b50
Merge pull request #42165 from akien-mga/codespell
...
Fix typos with codespell
2020-09-18 14:01:51 +02:00
Rémi Verschelde
3e78963bb9
Fix typos with codespell
...
Using codespell 1.17.1.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
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
```
2020-09-18 13:44:25 +02:00
Rémi Verschelde
b1b56fd045
Merge pull request #42157 from akien-mga/math-RANDOM_MAX-netbsd
...
Linux/BSD: Fix support for NetBSD
2020-09-18 12:35:07 +02:00
Rémi Verschelde
413ff7938d
X11: Try to load libXrandr.so.3 if libXrandr.so.2 isn't found
...
All Linux distros, and FreeBSD and OpenBSD seem to have libXrandr.so.2,
but for some reason recent NetBSD versions seem to have libXrandr.so.3 now.
2020-09-18 11:55:12 +02:00
Rémi Verschelde
01185acecb
NetBSD: Implement OS_Unix::get_executable_path()
...
Same implementation as OpenBSD seems to work fine.
2020-09-18 11:54:18 +02:00
Rémi Verschelde
5f4d64f4f3
Linux/BSD: Fix support for NetBSD
...
Add __NetBSD__ to `platform_config.h` so that it can find `alloca`
and use the proper `pthread_setname_np` format.
Rename RANDOM_MAX to avoid conflict with NetBSD stdlib.
Fixes #42145 .
2020-09-18 10:27:55 +02:00
Dashcell
5355169d3c
Fixes the resize of tile shapes when a vertex is outside of the tilesheet. Fix #34970
2020-09-17 21:14:46 -03:00