bruvzg
f851c4aa33
Fix some issues found by cppcheck.
2022-04-06 14:34:37 +03:00
Rémi Verschelde
a8ae206a1e
Merge pull request #59922 from V-Sekai/fix_editor_search
...
Improve handling for editor documentation search with blank searches
2022-04-05 23:49:41 +02:00
SaracenOne
208c4ce3f0
Improve handling for editor search with blank searches
2022-04-05 21:39:02 +01:00
Marios Staikopoulos
da2b5da0c5
Fix Project Manager hard crashes due to invalid access to Editor Nodes
2022-04-05 11:40:47 -07:00
Rémi Verschelde
f00803b8a5
Merge pull request #56695 from bruvzg/mod_unicode_input
2022-04-05 14:03:39 +02:00
bruvzg
d1207a0504
[Input] Add extra `shortcut_input` input processing step to process Unicode character input with Alt / Ctrl modifiers, after processing of shortcuts.
2022-04-05 13:46:45 +03:00
Yuri Roubinsky
5db47c5521
Fix lookup symbol in scripts which doesn't open a tab at first attempt
2022-04-05 10:18:45 +03:00
Rémi Verschelde
af2c8fbcb6
Merge pull request #59891 from ConteZero/editor_log_deselect
2022-04-05 00:00:28 +02:00
Rémi Verschelde
b512fe67a6
Merge pull request #59888 from akien-mga/clang-tidy
2022-04-04 23:57:30 +02:00
Rémi Verschelde
db8e6bd83f
Merge pull request #59885 from Jayman2000/autoload-inheritance-message
2022-04-04 23:56:20 +02:00
ConteZero
deddbc142c
Disable deselect on focus lost on editor_log
2022-04-04 22:21:49 +02:00
Jason Yundt
1cc7e7ec33
Improve autoload inheritance error message
...
Autoloaded scripts should always inherit from Node. When you run a
project that tries to autoload a script which doesn’t inherit from Node,
then Godot gives an error.
Before this change, the error said “Script does not inherit a Node”.
That error message is a little bit misleading. If a class inherits a
Node, then one of its superclasses has a Node. If a class inherits
_from_ Node, then one of its superclasses is Node. This change corrects
that mistake.
Fixes #59884 .
2022-04-04 15:51:02 -04:00
Rémi Verschelde
b78aa4fe19
Style: Apply clang-tidy to current code, add `readability-redundant-member-init`
2022-04-04 21:49:51 +02:00
Rémi Verschelde
f8ab79e68a
Zero initialize all pointer class and struct members
...
This prevents the pitfall of UB when checking if they have been
assigned something valid by comparing to nullptr.
2022-04-04 19:49:50 +02:00
Rémi Verschelde
53317bbe14
Merge pull request #59866 from m4gr3d/update_default_display_scale_main
2022-04-04 19:31:37 +02:00
Fredia Huya-Kouadio
8eabf77f54
Update the editor display scale based on the device's scaled density
2022-04-04 09:23:43 -07:00
Rémi Verschelde
f1592cb3da
Merge pull request #58010 from jmb462/fix-TextEdit-v_scroll_speed
2022-04-04 13:50:52 +02:00
jmb462
0d17903bd5
Fix TextEdit v_scroll_speed invalid values breaks wheel scrolling
2022-04-03 21:07:39 +02:00
Michael Alexsander
1062bc9884
Fix creation and reopening of built-in scripts
2022-04-03 15:34:21 -03:00
Rémi Verschelde
c630c2001d
Merge pull request #59633 from EricEzaM/better-code-complete-update
...
Improve sorting of Code Completion options.
2022-04-03 12:34:00 +02:00
Eric M
4ab605d14d
Improve sorting of Code Completion options.
...
Done by ordering options by their location in the code - e.g. local, parent class, global, etc.
2022-04-01 20:39:09 +10:00
Rémi Verschelde
4263f02f28
Merge pull request #59764 from reduz/blender-import-autodetect
2022-04-01 11:42:05 +02:00
reduz
e32215fbad
Add Blender install autodetection and configuration.
...
This PR is a continuation to #54886
* Changed Blender path editor setting from binary to installation.
* Add a class to query whether the format is supported.
* This class allows to create proper editors to configure support.
**NOTE**: This PR only provides autodetection on Linux. Code needs to be added for Windows and MacOS to autodetect the Blender installation.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
2022-04-01 11:01:12 +02:00
Haoyu Qiu
2f20ff0ed6
Extract theme property names for localization
2022-04-01 11:35:22 +08:00
kobewi
004ced89aa
Fix name of the created static trimesh body
2022-03-31 18:02:18 +02:00
Haoyu Qiu
c7e06e2202
Clip animation track keyframe rects
2022-03-31 18:39:04 +08:00
Rémi Verschelde
b7850bb1e8
Merge pull request #58395 from Geometror/editor-node-data-cleanup
2022-03-30 23:41:36 +02:00
Hendrik Brucker
314430b868
Cleanup EditorNode and EditorData
...
Co-authored-by: Eric M <itsjusteza@gmail.com>
2022-03-30 20:12:26 +02:00
Haoyu Qiu
39245c8216
Strip feature tag manually when extracting property paths
2022-03-30 20:29:43 +08:00
Haoyu Qiu
0a9f97f423
Add more patterns for property path extraction
2022-03-30 18:21:46 +08:00
reduz
45f74ceb85
Add PortableCompressedTexture
...
* Resource that allows saving textures embedded in scenes or standalone.
* Supports only formats that are portable: Lossy, Lossles or BasisUniversal
This is something I wanted to add for a long time. I made it now because @fire
requires it for importing GLTF2 files with embedded textures, but also this
will allow saving Godot scenes as standalone binary files that will run
in all platforms (because textures will load everywhere).
This is ideal when you want to distribute individual standalone assets online
in games that can be built from Godot scenes.
2022-03-30 10:39:41 +02:00
Rémi Verschelde
f6ef63635f
Merge pull request #59659 from fountainment/fix_callable_bind_usage
...
Fix Callable::bind usage in connections_dialog.h and packed_scene.cpp
2022-03-30 09:00:07 +02:00
Rémi Verschelde
a06b94a1c1
Merge pull request #59677 from fire-forge/debugger-capitalize
...
Process monitor and profiler item names in the Debugger
2022-03-30 08:58:21 +02:00
Rémi Verschelde
5c2e858790
Merge pull request #59679 from marstaik/upstream_fix_init
...
Fix lack of ProjectManager nullptr initializations
2022-03-29 21:48:18 +02:00
Marios Staikopoulos
7af275e2d5
Fix lack of ProjectManager nullptr initializations
...
Initialize all pointers to nullptr, fixes a crash with asset_library
caused by uninitialized memory.
2022-03-29 11:17:24 -07:00
FireForge
efd9b8bc29
Capitalize names in the debugger
2022-03-29 09:07:08 -05:00
Rémi Verschelde
01a3b84545
Merge pull request #59558 from V-Sekai/primitive-indicies
2022-03-29 14:43:26 +02:00
Rémi Verschelde
88299c1589
Merge pull request #59496 from KoBeWi/inspector_teleport
2022-03-29 13:26:49 +02:00
Haoyu Qiu
c17d9f05f8
Simplify FBX importer project settings registering
2022-03-29 15:00:43 +08:00
Rémi Verschelde
29a946ee91
Merge pull request #59374 from timothyqiu/extract-refactor-master
...
Refactor editor `extract.py`
2022-03-29 08:44:37 +02:00
Yuri Roubinsky
509598e8c0
Remove `SHADOW_ATTENUATION` spatial light shader built-in
2022-03-29 08:43:31 +03:00
C.Even
619d9d143b
Fix Callable::bind usage in connections_dialog.h and packed_scene.cpp
...
* Callable::bind takes an array of pointers to Variant
* Fixes #57057
2022-03-29 12:15:36 +08:00
Rémi Verschelde
a7a3ff6940
i18n: Sync editor translation template after #59349
...
(cherry picked from commit 15dc747de8
)
2022-03-29 01:23:03 +02:00
Rémi Verschelde
c5192d57c6
i18n: Sync editor translations with Weblate
...
(cherry picked from commit 0db753ef54
)
2022-03-29 01:22:58 +02:00
Rémi Verschelde
fd0716cba9
Merge pull request #58160 from m4gr3d/android_editor
2022-03-29 00:04:42 +02:00
Fredy Huya-Kouadio
5711037bf6
Android port of the Godot Editor
...
These set of changes focus primarily on getting the core logic and overall Godot Editor UI and functionality up and running natively on Android devices.
UI tweaks / cleanup / polish, as well configuration for Android specific functionality / restrictions will be addressed in follow-up PRs iteratively based on feedback.
Co-authored-by: thebestnom <shoval.arad@gmail.com>
2022-03-28 14:04:51 -07:00
Rémi Verschelde
f3bd700767
Merge pull request #59619 from Chaosus/vs_input_desc
2022-03-28 22:32:11 +02:00
FireForge
88b09694e7
Fix inspector group name capitalization
2022-03-28 14:02:06 -05:00
Yuri Roubinsky
9edbdc4f36
Add refs to shading language to the desciption of input nodes in vshader
2022-03-28 22:01:10 +03:00
Rémi Verschelde
74b07dd194
Merge pull request #59426 from timothyqiu/name-style-master
2022-03-28 14:19:47 +02:00