Rémi Verschelde
8be6db951d
Merge pull request #42634 from akien-mga/scons-warnings-gcc-Wsuggest-override
...
SCons: Refactor and cleanup warnings definition
2020-10-08 11:50:07 +02:00
Rémi Verschelde
97f116d36b
SCons: Refactor and cleanup warnings definition
2020-10-08 10:58:05 +02:00
Rémi Verschelde
104cfaefcd
Merge pull request #42610 from jak6jak/set_values
...
Fixed a bug which caused Set Index to not function
2020-10-08 10:23:29 +02:00
Rémi Verschelde
8a4f402bcb
Merge pull request #42615 from akien-mga/fixup-40097
...
Fix build after merge of #40097
2020-10-07 17:26:36 +02:00
Sniff
7970e4a433
Docs change: More detailed description of StreamPeerTCP.is_connected_to_host()
2020-10-07 16:35:33 +02:00
Rémi Verschelde
0d8bd93e40
Fix build after merge of #40097
...
CI had passed back then but this would have needed a rebase to
take into account recent changes to String.
2020-10-07 14:23:44 +02:00
Rémi Verschelde
cb77e8d6cf
Merge pull request #40097 from mrushyendra/file_sort_master
...
Fix natural sort comparison for strings with large numbers
2020-10-07 13:59:14 +02:00
Jacob Edie
d76457a7f3
added temp variable because *p_inputs[2] is the same as *p_outputs[0]
2020-10-06 22:12:47 -04:00
Rémi Verschelde
e93af13959
Merge pull request #42606 from aaronfranke/cs-vec2-rotated
...
Improve the Vector2 rotated code in C#
2020-10-06 23:45:15 +02:00
Aaron Franke
bea7d61fd9
Improve the Vector2 rotated code in C#
2020-10-06 15:57:47 -04:00
Rémi Verschelde
07112b92a8
Merge pull request #42598 from KoBeWi/update_setting_or_something
...
Update the setting when clicking Show hidden files
2020-10-06 16:01:55 +02:00
Tomasz Chabora
725c2bdf48
Update the setting when clicking Show hidden files
2020-10-06 15:42:25 +02:00
Rémi Verschelde
ed333248f5
Merge pull request #42314 from mbrlabs/nodepath-fix
...
Fixed renaming/moving of nodes with exported NodePaths in the editor
2020-10-06 12:04:46 +02:00
Marcel Admiraal
47431dbb8e
Initialise Bullet RigidBody friction to the expected value of 1.0
2020-10-06 09:10:05 +01:00
Rémi Verschelde
3249305892
Merge pull request #42591 from akien-mga/windows-subsystem-default
...
SCons: Add 'default' parameter for windows_subsystem, restores original behavior
2020-10-06 09:54:12 +02:00
Rémi Verschelde
3a54fd94b0
Merge pull request #42589 from Duroxxigar/add-animplayer-error-msg
...
Added more helpful error message for animation player
2020-10-06 09:45:19 +02:00
Rémi Verschelde
182d6d6f42
SCons: Add windows_subsystem=default, restores original behavior
...
We want debug builds to have a console and easy stdout redirection by default.
Windows makes reading the stdout/stderr stream from gui applications too cumbersome
(and most users don't know about it, and just wonder why they don't see a thing).
2020-10-06 09:30:46 +02:00
Duroxxigar
8bfeb9d6ae
Added a more helpful error message when there is no current animation for the animation player
2020-10-06 01:21:23 -04:00
Rémi Verschelde
9b4399a509
Merge pull request #42580 from aaronfranke/has-clear
...
Check for global script class information before clearing it
2020-10-05 22:09:27 +02:00
Aaron Franke
1ca501d7d4
Check for global script class information before clearing it
2020-10-05 15:45:54 -04:00
Rémi Verschelde
437e0be811
Merge pull request #42577 from fire/japanese-bone-name-gltf-master
...
Better non alphanumeric bone names.
2020-10-05 20:44:50 +02:00
Rémi Verschelde
437a9393b7
Merge pull request #42571 from akien-mga/fix-binary-format-load-error
...
Improve format version mismatch error in binary loader
2020-10-05 20:30:24 +02:00
K. S. Ernest (iFire) Lee
7b76f8783f
Better non alphanumeric bone names.
...
1. _gen_unique_bone_name(Ref<GLTFState> state, const GLTFSkeletonIndex skel_i, const String &p_name) won't return an empty string.
2. String GLTFDocument::_sanitize_bone_name(const String &name) will keep Japanese characters. Like: "全ての親".
3. The sanitize function allows the bone name to be not just alphanumeric. The only required conditions are the ones in add_bone.
> ERR_FAIL_COND(p_name == "" || p_name.find(":") != -1 || p_name.find("/") != -1);
2020-10-05 09:25:37 -07:00
Rémi Verschelde
7d312448ad
Merge pull request #42504 from akien-mga/glTF-fix-image-loading
...
glTF: Fix parsing image data with `mimeType` undefined
2020-10-05 15:02:18 +02:00
Rémi Verschelde
e35bb04c53
Improve format version mismatch error in binary loader
2020-10-05 14:49:41 +02:00
Rémi Verschelde
2e99d0b26f
glTF: Fix parsing image data with mimeType
undefined
...
The glTF 2.0 spec only makes `mimeType` mandatory for `bufferView` image data,
so the previous logic to handle URIs with base64-encoded images could fail if
`mimeType` is undefined.
The logic was documented and refactored to better handle the spec, notably:
- `uri` and `bufferView` are now mutually exclusive, and only the latter fails
if `mimeType` is undefined.
- `uri` with a file path will now respect the `mimeType` if defined, and thus
attempt loading the file with the specified format (even if its extension is
not the one expected for this format). So we can support bad extensions (PNG
data with `.jpg` extension) or custom ones (PNG data in `.img` file for
example).
- `uri` with base64 encoded data will infer MIME type from `data:image/png` or
`data:image/jpeg` if it was not documented in `mimeType` initially.
- `uri` with base64 encoded data, no `mimeType` and `application/octet-stream`
or `application/gltf-buffer` will fall back to trying both PNG and JPEG
loaders.
Fully fixes #33796 (and fixes up #42501 ).
2020-10-05 13:06:50 +02:00
David Sichma
7701889048
aabb change updates bounding box
...
spatial editor will now update the bounding box if aabb or transform
changes
2020-10-05 12:56:57 +02:00
Rémi Verschelde
3556bc48a1
Merge pull request #42439 from Xrayez/doc-gdscript-load-and-resloader-xref
...
Cross-reference GDScript `load` and `ResourceLoader.load` in classref
2020-10-04 20:48:07 +02:00
Rémi Verschelde
59e7a5a94f
Merge pull request #42561 from Faless/js/build_no_config
...
[HTML5] Scons now expects "emcc" to be in PATH.
2020-10-04 20:45:55 +02:00
Fabio Alessandrelli
7998745237
[HTML5] Scons now expects "emcc" to be in PATH.
...
No longer parse emscripten/emsdk config to detect emcc/node paths.
Use WhereIs to find "emcc" and "node", look for "node_modules" in "emcc"
path.
2020-10-04 14:26:44 +02:00
Rémi Verschelde
2033bacba4
Merge pull request #42550 from clayjohn/VULKAN-decal-srgb
...
Return proper texture view format for decals
2020-10-04 11:00:33 +02:00
Yuri Roubinsky
2374281f36
Merge pull request #42553 from Chaosus/vs_fix_typo
...
Fix typo in VisualShaderNodeSample3D::generate_code
2020-10-04 10:53:48 +03:00
Yuri Roubinsky
2d45f7ac87
Fix typo in VisualShaderNodeSample3D::generate_code
2020-10-04 10:34:58 +03:00
clayjohn
bde2f9b46b
Return proper texture view format for decals
2020-10-03 22:56:00 -07:00
Pablo Escobar
1300fc7307
Add METALLIC to light() built-ins
2020-10-04 04:16:16 +02:00
Rémi Verschelde
b5eea37fb0
Merge pull request #42518 from Duroxxigar/update-getter-and-setters
...
Updated getters and setters names for toplevel
2020-10-03 21:53:35 +02:00
Rémi Verschelde
70eb7fb226
Merge pull request #42539 from Chaosus/vs_fix_compute_textures
...
Fix default parameter in Texture visual shader nodes for sky/particles modes
2020-10-03 21:52:09 +02:00
Rémi Verschelde
ce51efc293
Merge pull request #42532 from madmiraal/fix-7920
...
Fix how Line2D obtains the other object's supports
2020-10-03 21:49:14 +02:00
Yuri Roubinsky
e3006d4064
Fix def parameter in Texture visual shader nodes for sky/particles modes
2020-10-03 22:20:45 +03:00
Rémi Verschelde
aa38a667d1
Merge pull request #42534 from Paulb23/color_region_crash_issue_42492
...
Switch from recursion to iterative for backfilling colour regions
2020-10-03 19:04:03 +02:00
Rémi Verschelde
fe3e475914
Merge pull request #42527 from aaronfranke/no-global-scr-class
...
Don't write global script class information if there is none
2020-10-03 18:34:09 +02:00
Rémi Verschelde
37a971965a
Merge pull request #42530 from madmiraal/fix-cut-and-paste-error
...
Remove reference to 3D shapes in RigidBody2D.xml contacts description.
2020-10-03 18:33:39 +02:00
Paulb23
ee4a1c99a7
Switch from recursion to iterative for backfilling colour regions
2020-10-03 14:58:55 +01:00
Marcel Admiraal
7e44682c03
Fix how Line2D obtains the other object's supports
...
Measure the distance from the line against the rotated object, not the
rotated line, when obtaining the object's supports against a line.
2020-10-03 12:59:34 +01:00
Marcel Admiraal
e7edbcedc9
Remove reference to 3D shapes in RigidBody2D.xml contacts description.
2020-10-03 10:38:52 +01:00
Aaron Franke
3163611f0c
Don't write global script class information if there is none
2020-10-03 04:36:07 -04:00
Duroxxigar
4834e14493
Updated getters and setters names for toplevel
2020-10-02 19:09:01 -04:00
Rémi Verschelde
9b1c9cef17
Merge pull request #42513 from madmiraal/fix-42494
...
Remove area or body from map before emitting signals.
2020-10-02 20:52:52 +02:00
Marcel Admiraal
2bb0427662
Remove area or body from map before emitting signals.
2020-10-02 17:03:09 +01:00
Rémi Verschelde
7879b0a6e5
Merge pull request #42511 from InfiniteAnts/update-ninepatchrect-class-reference
...
Updated NinePatchRect's patch margin descriptions
2020-10-02 17:32:45 +02:00