Hugo Locurcio
eac8ba6ce8
Clarify the purpose of the default asset library URLs in the editor
...
`localhost` was removed as it won't work out of the box. It can be added
by the user if they're working on the asset library itself.
This won't affect existing installations due to how the editor settings
are stored, but existing installations will keep working fine.
2021-07-23 13:02:04 +02:00
Hugo Locurcio
7f83977f37
Expose an ImportOrder enum in ResourceImporter
...
This avoids using magic numbers in code.
2021-07-23 12:12:25 +02:00
Andrea Catania
2cd347f4fa
Fix GLTF crash when the material is not set.
...
Sometimes there are meshes that doesn't have materials, so make sure to check this case before extracting the name.
2021-07-23 11:54:22 +02:00
Silc 'Tokage' Renew
b7bc609782
Remove extra signal firing in SELECT_MULTI mode
2021-07-23 17:53:16 +09:00
Silc 'Tokage' Renew
32640edac7
Revert "Fix duplicate selection in SceneTree"
...
This reverts commit 7d20d78847
.
# Conflicts:
# editor/scene_tree_editor.cpp
2021-07-23 17:34:21 +09:00
Aaron Franke
4147c67bb0
Fix Input get_action_raw_strength
2021-07-22 21:05:44 -04:00
Rémi Verschelde
515670351a
Merge pull request #50753 from Faless/obj/4.x_stringname_meta
...
Make Object "meta" functions take StringName.
2021-07-22 23:46:42 +02:00
Rémi Verschelde
90aab0402b
Merge pull request #50746 from LightningAA/fix-texture-preview-crash-4.0
...
Fix `TexturePreview` crashing
2021-07-22 23:33:11 +02:00
Fabio Alessandrelli
1147fa5c19
Make Object "meta" functions take StringName.
...
The various get_meta, set_meta, has_meta, get_meta_list, remove_meta
functions now uses StringName, allowing further optimizations via the
SNAME macro when used from C++ (this PR does not change the various
usage though).
2021-07-22 22:52:30 +02:00
Lightning_A
8ad00087ce
Fix TexturePreview
crashing
2021-07-22 13:43:34 -06:00
bruvzg
618eb27e8b
Move alert
function from DisplayServer
to OS
.
2021-07-22 21:50:35 +03:00
Rémi Verschelde
c2c82de49d
Merge pull request #50676 from reduz/textual-resource-ids
2021-07-22 20:32:59 +02:00
Rémi Verschelde
e0a4fd112d
Merge pull request #50738 from SirQuartz/patch-29
...
Fix miscellaneous doc typos
2021-07-22 20:27:14 +02:00
Rémi Verschelde
aac70dd37c
Merge pull request #50619 from YeldhamDev/menubutton_switch_on_hover
...
Make `MenuButton`'s `switch_on_hover` work again
2021-07-22 20:12:43 +02:00
Nicholas Huelin
9787e631aa
Fix miscellaneous doc typos and inconsistencies
...
This pull request fixes an assortment of typos, improves conciseness, and enhances clarity.
2021-07-22 14:01:39 -04:00
reduz
75755beeee
Implement textual ext/subresource IDs.
...
* Friendlier with version control.
* Generates pseudo unique IDs, to minimize conflicts when merging, but still
user readable (so, not UUID).
* Eventually will also allow to have more precisely named sub-resources in
imported files.
* This will allow better reloading on changes (including resources already
loaded) as well as better keeping track of changes on the DCC.
* Keeps backward compatibility with the old formats.
* Binary and text format version incremented to mark breakage in forward
compatibility.
2021-07-22 19:37:47 +02:00
Michael Alexsander
a690cd9251
Make MenuButton
's switch_on_hover
work again
2021-07-22 14:27:30 -03:00
Rémi Verschelde
5de991d57c
Merge pull request #50736 from JulienVanelian/msec-doc-typo-fix
...
Fix delay_msec documentation description typo
2021-07-22 17:15:09 +02:00
Distrikt64
44eb041d60
Fix msec documentation description typo
2021-07-22 16:38:19 +02:00
Rémi Verschelde
3b9b207cbe
Merge pull request #50733 from bruvzg/static_mvk
...
Fix MoltenVK static linking on macOS.
2021-07-22 16:14:20 +02:00
bruvzg
53f84e39fd
Fix MoltenVK static linking on macOS (add missing include path, Vulkan SDK path option, use xcframework instead of static framework).
2021-07-22 16:29:24 +03:00
Rémi Verschelde
7a6d77ec9e
Merge pull request #50704 from dsnopek/webrtc-gdnative-version
...
Update GDNative API version for changes from #50659
2021-07-22 12:47:19 +02:00
Rémi Verschelde
6b1886f998
Merge pull request #50319 from nekomatata/optimize-node-path-check
...
Optimize NodePath update when renaming or deleting nodes in the editor
2021-07-22 12:13:10 +02:00
Yuri Roubinsky
17b462cc5f
Allow using vertex-stage varying in both fragment
and light
2021-07-22 11:55:14 +03:00
Yuri Roubinsky
94a7b04a01
Allow using vertex varying in custom functions under any circumstances
2021-07-22 11:27:13 +03:00
Rémi Verschelde
c40b4f2252
Merge pull request #50726 from Calinou/doc-gdscript-constants
...
Improve documentation for GDScript constants
2021-07-22 10:07:09 +02:00
Hugo Locurcio
8ff8c1e5f8
Improve documentation for GDScript constants
2021-07-22 09:50:24 +02:00
Rémi Verschelde
ab732fe3eb
Merge pull request #50712 from nekomatata/x11-popup-focus-fix
...
Fix popup closing immediately after showing on some Linux WMs
2021-07-22 09:27:48 +02:00
Rémi Verschelde
594e3cac86
Merge pull request #50697 from Calinou/doc-rootmotionview
...
Document the RootMotionView class
2021-07-22 08:55:16 +02:00
Rémi Verschelde
a4c863791e
Merge pull request #50716 from Deledrius/multimesh-typo
...
Fix grammar in MultiMesh documentation.
2021-07-21 23:47:52 +02:00
Rémi Verschelde
c8719c38e1
Merge pull request #50711 from nekomatata/popup-close-fix
...
Fix logic for Popup closing when parent is focused
2021-07-21 22:52:55 +02:00
PouleyKetchoupp
e030360b88
Fix popup closing immediately after showing on some Linux WMs
...
When a popup is going to be closed, switch focus to the parent only if
the popup is still being focused.
Fixes some cases with specific WMs where due to the order of events, a
new popup could be immediately unfocused because a previously opened
and closed popup is switching focus to the parent.
2021-07-21 12:28:39 -07:00
PouleyKetchoupp
0b4037fe64
Fix logic for Popup closing when parent is focused
...
The member popped_up is used to avoid closing a Popup before it had a
chance to be focused. It wasn't reset properly when the popup is hidden,
causing the Popup to close right after showing in some random cases
(spotted on X11, might not happen on Windows).
2021-07-21 12:03:03 -07:00
Rémi Verschelde
286e9b8533
Merge pull request #50695 from reduz/fix-sky-initialization
2021-07-21 17:51:24 +02:00
David Snopek
fee3e6b960
Update GDNative API version for changes from #50659
2021-07-21 10:28:16 -05:00
Rémi Verschelde
d42f6f4718
Merge pull request #50370 from QbieShay/circle-emitter-particle
...
Ring emitter for 4.0
2021-07-21 16:50:26 +02:00
Rémi Verschelde
a0aeb56424
Merge pull request #50688 from AndreaCatania/AndreaCatania-patch-4
...
Set the surface name when GLTF file is imported.
2021-07-21 15:53:52 +02:00
Yuri Roubinsky
579710f6dd
Merge pull request #50473 from Chaosus/fix_varying_crash
2021-07-21 16:30:17 +03:00
Hugo Locurcio
6880829a9a
Document the RootMotionView class
2021-07-21 15:18:42 +02:00
Rémi Verschelde
59d98ed3bb
Merge pull request #50643 from groud/improve_tilemap_compatibility
2021-07-21 14:26:31 +02:00
reduz
67e5715dbf
Make Sky initialize shaders only once
...
* Create the shader on demand.
* Makes sure compilation happens only once, then shader is cached.
* Speeds up scene loading times.
* Speeds up editor initialization.
2021-07-21 09:23:51 -03:00
Yuri Roubinsky
e978b46b0f
Merge pull request #50690 from Chaosus/vs_fix_triplanar
...
Fix function code generation for uniform triplanar node in visual shader
2021-07-21 14:58:13 +03:00
Yuri Roubinsky
39c06604cd
Forbid varyings from assigning in custom functions to prevent crashes
2021-07-21 14:12:54 +03:00
Rémi Verschelde
71f8253579
Merge pull request #50489 from Chaosus/shader_varying
...
Prevent error if varying assigned but not used (push warning instead)
2021-07-21 13:05:08 +02:00
Gilles Roudière
5d34a81e52
Implement atlas merging and tile proxies
2021-07-21 12:36:37 +02:00
Gilles Roudière
b2187797df
Add min_axis and max_axis to Vector2i
2021-07-21 12:29:51 +02:00
Gilles Roudière
047e9b19f8
Import old tiles in SINGLE_TILE mode as atlases
2021-07-21 12:29:51 +02:00
Yuri Roubinsky
40419a394d
Fix function code generation for uniform triplanar node in visual shader
2021-07-21 13:02:23 +03:00
Rémi Verschelde
88bf6e1c6d
Merge pull request #48972 from DavidCambre/Expose_VisualScriptCustomNode_TypeHints_m
2021-07-21 12:02:17 +02:00
Rémi Verschelde
2273f13fbe
Merge pull request #50686 from Calinou/use-standard-inf-nan-constants
...
Use the standard C `INFINITY` and `NAN` constants directly
2021-07-21 11:50:26 +02:00