Rémi Verschelde
92f7504637
Merge pull request #49891 from Calinou/3d-editor-add-grid-toggle-shortcut
...
Use Ctrl + G to toggle the 3D editor grid visibility by default
2021-06-26 08:46:33 +02:00
reduz
b1d15c51bc
Implement native extension system
...
* Deprecates GDNative in favor of a simpler, lower level interface.
* New extension system allows registering core engine classes.
* Simple header interface in gdnative_interace.h
2021-06-25 17:32:45 -03:00
Eric M
cfbdaa2eb7
Fix RichTextLabel custom_effects export to be properly filtered in the Editor
2021-06-25 22:58:46 +10:00
Hugo Locurcio
2cc053c64b
Use Ctrl + G to toggle the 3D editor grid visibility by default
...
The 2D editor grid toggle shortcut has been changed to use
`KEY_MASK_CMD` for consistency. This means it will now use Cmd
on macOS instead of Ctrl.
2021-06-24 20:01:47 +02:00
Rémi Verschelde
cb8f045de8
Merge pull request #49650 from KoBeWi/FindReplaceCrash
...
Fix crash with FindReplaceBar
2021-06-24 19:21:01 +02:00
kobewi
35a38717e2
Fix crash with FindReplaceBar
2021-06-24 15:38:29 +02:00
Hugo Locurcio
4df24861fe
Tweak script export text in the export dialog to be more explicit
2021-06-24 10:00:48 +02:00
Hugo Locurcio
30fcf3045a
Improve error message when there are no meshes to bake for 3D occlusion
2021-06-23 15:32:48 +02:00
Rémi Verschelde
49df7c0bc1
Merge pull request #49853 from AndreaCatania/AndreaCatania-patch-4
...
Remove early return from gizmo intersect_ray
2021-06-23 15:22:05 +02:00
AndreaCatania
2c12297ee1
Remove early return from gizmo intersect_ray
...
Remove early returns from `EditorNode3DGizmo::intersect_ray` that is preventing to have gizmos that use Mesh collision + Segment collision + Icon.
2021-06-23 13:06:45 +02:00
Rémi Verschelde
9da7f06900
Merge pull request #49665 from Paulb23/code_edit_indent
...
Move indentation into CodeEdit
2021-06-21 09:13:15 +02:00
Yuri Sizov
304c9b995b
Fix pinned StyleBox incorrectly reacting to several actions in the new Theme editor
2021-06-20 23:04:56 +03:00
Paulb23
1a0cfc219b
Move indent management to CodeEdit
2021-06-20 20:00:54 +01:00
Aaron Franke
0ce49800ac
Use mouse and joypad enums instead of plain integers
...
Also MIDIMessage
2021-06-20 11:54:24 -04:00
K. S. Ernest (iFire) Lee
b8fb765a65
Fix for LOD is broken 49706
2021-06-20 04:27:32 -07:00
Rémi Verschelde
671bd64e4a
Merge pull request #49754 from aaronfranke/is-eq-approx-sub-opt
...
Fix sub-optimal uses of is_equal_approx
2021-06-20 11:44:56 +02:00
Aaron Franke
45c24fd039
Fix sub-optimal uses of is_equal_approx
2021-06-20 03:03:06 -04:00
Lightning_A
e28fd07b2b
Rename `instance()`->`instantiate()` when it's a verb
2021-06-19 20:49:18 -06:00
Rémi Verschelde
60dcc4f39c
Merge pull request #49742 from Paulb23/remove_keywords_textedit
...
Remove redundant keywords from TextEdit
2021-06-20 00:39:18 +02:00
Rémi Verschelde
9b7c963d19
Merge pull request #48804 from EricEzaM/scripting-multi-error-support
...
Added support for scripts reporting multiple errors to ScriptTextEditor
2021-06-20 00:38:49 +02:00
Rémi Verschelde
de7293b6eb
Merge pull request #49741 from RandomShaper/fix_save_scene_side_effects
...
Remove side effects of scene save
2021-06-20 00:37:38 +02:00
Rémi Verschelde
4effadc0ba
Merge pull request #48696 from madmiraal/fix-48692
...
Fix `InputMap.action_erase_event()` failing to erase events correctly.
2021-06-20 00:29:42 +02:00
Paulb23
ab49ea032c
Remove redundant keywords from TextEdit
2021-06-19 13:56:54 +01:00
Eric M
d0e78c86d7
Added support for scripts reporting multiple errors to ScriptTextEditor
...
Scripts can now report multiple errors to the scripting editors in the engine. UI elements were added to support multiple errors.
2021-06-19 22:20:30 +10:00
Pedro J. Estébanez
598fd51277
Remove side effects of scene save
2021-06-19 13:44:05 +02:00
Marcel Admiraal
2bafcd3422
Consolidate JSON, JSONParseResults and JSONParser into JSON
...
Renames JSON.parse_string() to parse()
Renames JSON.decode_data() to stringify()
2021-06-19 08:01:40 +01:00
Rémi Verschelde
92f20fd70e
Merge pull request #49659 from LightningAA/string-valid-integer-to-int
2021-06-18 16:14:14 +02:00
Rémi Verschelde
98b5280d1f
Merge pull request #49683 from lyuma/remove_late_added
...
Remove thread-unsafe and unused late_added_files.
2021-06-18 14:23:44 +02:00
Rémi Verschelde
671c58362a
Merge pull request #40525 from KoBeWi/fastest_close_in_the_west
...
Make closing current scene faster
2021-06-18 12:30:56 +02:00
Rémi Verschelde
43755eada4
Merge pull request #47802 from Calinou/editor-sprite-frames-select-hold-mouse
...
Allow selecting frames by holding down the mouse in SpriteFrames editor
2021-06-18 12:28:35 +02:00
Rémi Verschelde
f6756e2bf5
Merge pull request #49698 from aaronfranke/prop-no-usage
...
Add PROPERTY_USAGE_NONE and use it
2021-06-18 12:28:05 +02:00
Aaron Franke
6565191660
Allow setting the preview sun angle with numbers
2021-06-17 23:28:02 -04:00
Aaron Franke
8b692e8872
Add PROPERTY_USAGE_NONE and use it
2021-06-17 19:10:26 -04:00
kleonc
1d890e16f7
AnimationMultiTrackKeyEdit Allow editing easing if it's possible for all edited tracks
2021-06-17 23:28:04 +02:00
Hugo Locurcio
5e8eb20ad6
Allow selecting frames by holding down the mouse in SpriteFrames editor
...
This complements the existing (Ctrl +) Shift + Left mouse button
multiple frame (de)selection.
2021-06-17 20:11:50 +02:00
Rémi Verschelde
085e1d3c03
Merge pull request #49670 from reduz/rename-visibility-notifiers
...
Rename VisibilityNotifier2D/3D to VisibleOnScreenNotifier2D/3D
2021-06-17 15:14:44 +02:00
Lyuma
6c94b2cb9e
Remove thread-unsafe and unused late_added_files.
...
_reimport_file is called from multiple threads as part of the threaded importer.
Inserting to this set from a thread could hit a race condition leading to memory corruption or hangs.
It seems to be unused, intentionally or unintentionally
2021-06-17 05:30:24 -07:00
Rémi Verschelde
0943ec632c
ThemeEditor: Fix text_submitted connections after #49258
2021-06-17 13:14:06 +02:00
Rémi Verschelde
dd39855c0a
Merge pull request #47796 from Calinou/editor-add-save-on-focus-loss-option
...
Add a "save on focus loss" editor setting (disabled by default)
2021-06-17 12:50:36 +02:00
Rémi Verschelde
ba9ffbe5d7
Merge pull request #47813 from Calinou/editor-decrease-unfocused-fps-limit
...
Decrease the editor FPS limit when unfocused from 20 to 10
2021-06-17 12:46:29 +02:00
Rémi Verschelde
82eb4cfc00
Merge pull request #47894 from Calinou/project-manager-add-keyboard-shortcuts
...
Add keyboard shortcuts to the project manager
2021-06-17 12:41:47 +02:00
Rémi Verschelde
afd4cc702d
Merge pull request #49661 from akien-mga/main-fallback-to-projectmanager
...
Main: Fixup bogus fallback to project manager with more bolognese
2021-06-17 11:42:24 +02:00
Rémi Verschelde
af3091d291
Merge pull request #49654 from akien-mga/editorsettings-auto-display-scale-factor
...
EditorSettings: Factor code to compute auto display scale
2021-06-17 09:56:47 +02:00
reduz
ab2456b740
Rename VisibilityNotifierXD to VisibleOnScreenNotifierXD
...
* Renames for 2D and 3D
* Class name was confusing, given both 2D and 3D have a "visible" property that is unrelated to actual on-screen visibility.
* New name makes it clear that this is about visibility on screen.
2021-06-16 22:01:39 -03:00
Rémi Verschelde
bb4c464fec
Merge pull request #49258 from megalobyte/editor-fix
...
Fixes for documentation search
2021-06-17 02:25:41 +02:00
Rémi Verschelde
cb471420cf
Merge pull request #49669 from fire/save-stex-null
...
ERR_FAIL_NULL check file access
2021-06-17 01:55:07 +02:00
K. S. Ernest (iFire) Lee
b74bc42a43
ERR_FAIL_NULL check file access
...
Null in ResourceImporterTexture::_save_stex
2021-06-16 16:13:36 -07:00
Rémi Verschelde
272a16d8ce
Merge pull request #49667 from Riteo/remove-grid-map-lock-view
...
Remove GridMap's "Lock View" option and a related method.
2021-06-17 01:03:17 +02:00
Rémi Verschelde
341cb8da31
Merge pull request #49238 from Paulb23/code_edit_code_folding
...
Move code folding into CodeEdit and hide line hiding API
2021-06-16 20:11:39 +02:00
Rémi Verschelde
aa2215e681
Main: Fixup bogus fallback to project manager with more bolognese
...
WARNING: Hacks everywhere!
The logic in `main.cpp` is due a full rewrite as it's extremely hacky,
splitting argument parsing over several functions, with a mess of global state
and assumptions about what combinations of arguments or lack thereof should
mean in terms of what we want to read: game, editor, project manager, or
command line tools such as `--doctool`, `--export` or `--script`.
Until this is fully rewritten, this patch hacks things some more to ensure
that we don't fall back to the project manager in cases where it's not
warranted, and especially not *too late*, as it can mean that we haven't
properly initialized stuff like `EditorPaths` needed by the PM (which in turn
impacts what kind of path will be used for logs and the shader cache, etc...
the rabbit hole goes deep).
Fixes #41435 .
Fixes #49392 .
Fixes #49658 .
Fixes https://github.com/godotengine/godot/issues/38202#issuecomment-773158477 .
2021-06-16 19:11:08 +02:00