Commit Graph

7444 Commits

Author SHA1 Message Date
Shatur95 5ccc941a4c [3.x] Remove hardcoded names in generated objects 2022-07-03 00:58:13 +02:00
Rémi Verschelde 3000d8d140
Merge pull request #59576 from techiepriyansh/fix-multiple-instances-3.x 2022-07-03 00:22:15 +02:00
Rémi Verschelde bed3d2cbd5
Merge pull request #61169 from DeeJayLSP/wav_ieee_3.x 2022-07-02 22:03:14 +02:00
Kirill ad77a3f2f7 Stretch image on resize in asset description dialog
(cherry picked from commit 924658a849)
2022-07-02 00:08:56 +02:00
Sosasees c9b9bf5437 recolor Remove Theme Items icons from Godot 4 colors to Godot 3
follow-up to #62559.
we found more icons that mistakenly had the Godot 4 colors,
so i fixed them too.
2022-07-01 09:38:23 +02:00
ConteZero a13b3028a2 Add an option to drag'n'drop selected text in TextEdit
(cherry picked from commit 5d56efcaa4)
2022-06-30 19:23:01 +02:00
Sosasees 916fee78bd recolor FlowContainer icons to the same color as Control icon
according to the discussion in issue #62553,
the FlowContainer icons don't get color-adjusted for Light theme
and it's because the color code is off.

to fix this issue, i recolored them to be the same icon as the Control icon,
an icon that i already know Does get recolored for Light theme.
2022-06-30 18:01:49 +02:00
Rémi Verschelde f29241fa1e i18n: Sync editor translations with Weblate 2022-06-29 12:08:19 +02:00
Haoyu Qiu 4356b5abf8 Fix prompt dialog title for Animation operations 2022-06-23 13:03:38 +08:00
Hugo Locurcio 80d1fc87af Tweak editor icons for navigation nodes and SkeletonIK
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2022-06-20 22:29:09 +08:00
Rémi Verschelde 608c5e42fa
Merge pull request #62196 from timothyqiu/deselect 2022-06-20 15:36:30 +02:00
cow-neaz 92ffbceee1 Stop game on reloading project
(cherry picked from commit 8935cf17cf)
2022-06-20 14:56:57 +02:00
Rémi Verschelde 000499662b i18n: Sync editor translations with Weblate 2022-06-19 13:57:04 +02:00
Rémi Verschelde 4137578369 Fix typos with codespell
Using codespell 2.2-dev from current git.

Fix a couple incorrect uses of gendered pronouns.
2022-06-19 13:48:15 +02:00
Rémi Verschelde acd4a01b8c ProjectSettings: Ensure 'editor/' settings aren't nested
Having a mix of settings with and without subcategory makes the 'Editor'
section stand out with a weird UX, as instead of simply being a foldable
section like the others, it also holds its own top-level settings and is
therefore selectable.

This wasn't the case in 3.4, and is fixed in 4.0 by refactoring, so for
3.5 we should preserve the 3.4 UX, even if it's not the best.
2022-06-19 11:47:19 +02:00
Haoyu Qiu a3777a7c38 Fix EditorFileDialog filename default selection 2022-06-19 10:40:33 +08:00
Rémi Verschelde 135c252a38 i18n: Sync editor translations with Weblate 2022-06-16 20:59:13 +02:00
FireForge fec7e13b02 Allow folding in sub-inspectors in Array and Dictionary editors
(cherry picked from commit 4e469886e8)
2022-06-16 10:10:21 +02:00
Rémi Verschelde 6ecdef84cf
Merge pull request #62085 from KoBeWi/underscore_of_ruin
Fix NodePath property dragging
2022-06-16 08:30:11 +02:00
Rémi Verschelde 4e7363cac7
Merge pull request #61996 from smix8/navigation_bp_update_3.x
[3.5] Update NavigationServer backport
2022-06-16 00:17:16 +02:00
kobewi 728d90b649 Fix NodePath property dragging 2022-06-16 00:09:14 +02:00
smix8 8bd7c6188b [3.5] Update NavigationServer backport
Backports features and bugfixes from current Godot 4.0 to 3.5 and brings functions and codebase of both version largely in sync to make tutorials more compatible and future backports easier.
2022-06-14 05:55:14 +02:00
Hugo Locurcio f702828c37
Print messages when textures are detected as used in 3D/normal map
This detection automatically changes some import options, so it's
important that users are aware of this.
2022-06-13 20:13:30 +02:00
bruvzg 11a7997a67 [Windows, 3.x] Add support for handling network share paths. 2022-06-13 09:24:35 +03:00
Haoyu Qiu 512b70858c Fix scene tree dock focus after using "Add Child Node" button 2022-06-12 13:03:01 +08:00
Hugo Locurcio dccd925aff
Rename "Convert to Mesh2D" to "Convert to MeshInstance2D" in the editor
These actions create MeshInstance2D nodes, not Mesh2D resources.
2022-06-11 20:26:56 +02:00
kobewi 4f133d2d72 Don't handle pending clicks outside scene tree
(cherry picked from commit ec6bbd486f)
2022-06-10 15:46:01 +02:00
Haoyu Qiu 4da772d5c9 Add tooltips to Export dialog icon buttons
(cherry picked from commit f78943b08b)
2022-06-10 12:58:41 +02:00
Danny Chung 0ba78201ae Increase AnimationPlayer position SpinBox to fit more decimals
Fixed UI bug where it appeared that pushing the up or down incrementing
arrows did not increment the SpinBox value appropriately. Just needed
to increase the size of the box horizontally, to display four decimal
points consistently.

(cherry picked from commit 09658f7e3b)
2022-06-10 10:25:37 +02:00
kobewi 714891ace8 Properly release LMB even while panning 2022-06-09 14:02:58 +02:00
kobewi fe13b94a14 Improve title of DependencyEditorOwners
(cherry picked from commit 847eee71df)
2022-06-09 10:55:17 +02:00
Johannes Witt 2570df7fd8 Fix `EditorSpinSlider` mouse reset position on tree exit
(cherry picked from commit 784b1adb18)
2022-06-09 10:55:17 +02:00
bruvzg f5fa1ca944
Add readable export errors. Add RTL image vertical alignment support. 2022-06-08 17:56:28 +03:00
Rémi Verschelde f1eab40cda i18n: Sync editor translations with Weblate
Remove some translation templates which were empty or almost empty
(less than 10 strings translated, years without further activity).
2022-06-08 13:16:32 +02:00
Rémi Verschelde 80b82e4e66 i18n: Misc fixes translation strings
Adds some translator comments to solve some questions raised on Weblate.
2022-06-08 12:56:42 +02:00
Rémi Verschelde 9ca190dfe5
Merge pull request #61718 from ArshPanesar/Fixed-Populating-MultimeshInstance-Crash
Fixed Issue #61553 - Populating MultimeshInstance Crash
2022-06-07 14:12:02 +02:00
Arsh Panesar 84a6407286 Fixed Populating MultimeshInstance Crash
When populating a MultimeshInstance (node), Godot would set the
new Multimesh's color and custom data format as the current node's
multimesh, which would cause a crash if node's multimesh is null.

Populate Function will now check if node has a multimesh or not, and
set the new multimesh with default (NONE) values if node's multimesh is
null.

Fixes Issue #61553
2022-06-07 09:27:48 +05:30
Haoyu Qiu 03e84abfa5 Fix empty space after project sort options 2022-06-04 00:20:09 +08:00
Rémi Verschelde 61ae6b521e
Merge pull request #61482 from Calinou/profiler-increase-frame-history-3.x 2022-06-03 12:51:26 +02:00
Rémi Verschelde 5be04c9153 i18n: Sync editor translations with Weblate 2022-06-01 00:37:03 +02:00
kobewi 309ad643a9 Hide redundant categories from project settings
(cherry picked from commit 1a9635cc57)
2022-06-01 00:29:46 +02:00
Yuri Sizov fee968bc26 Improve the Export All button display in the export dialog 2022-05-31 20:44:23 +03:00
Rémi Verschelde 0acd1ca850
Merge pull request #61266 from smix8/navigation_tilemap_poly_3.x 2022-05-31 11:25:00 +02:00
Hugo Locurcio c209c6faba
Increase the editor profiler frame history default and maximum limit
The new default value (1800) allows storing 30 seconds of profiling
at 60 FPS.

The new maximum value (10000) allows storing about 3 minutes of
profiling at 60 FPS.

The profiler graph will scale accordingly to the chosen setting,
so the default value is kept relatively low to prevent the graph
from looking too squished on narrow displays.
2022-05-28 01:05:34 +02:00
FireForge e5db39d07b Remove extra space in property editors
- NodePath, Resource, and multiline string
2022-05-25 19:04:44 -05:00
Rémi Verschelde 78c54043ce HTML5: Always disable Asset Library
GitHub doesn't allow CORS so we can't download assets from it.

There'd also be more work needed for the Asset Library plugin to be
usable in the Web editor even if that was supported.

(cherry picked from commit 42b48496de)
2022-05-25 14:51:43 +02:00
Rémi Verschelde 1b297eb047 Project Manager: Fix crash on resize with assetlib disabled
Follow-up to #61215.

(cherry picked from commit 6f5be1f1f0)
2022-05-25 14:07:33 +02:00
lawnjelly cdba2935a1 Fix Occluder Poly gizmo warning spam
The call to draw the handles in the OccluderPoly was spamming errors when the hole has no points. This PR prevents trying to draw the gizmo for the hole when there are no points, which prevents the spam.
2022-05-25 10:50:15 +01:00
Rémi Verschelde cb1ffbd0f6
Merge pull request #61383 from ChronicallySerious/fix-commit-list-size 2022-05-24 23:49:55 +02:00
ChronicallySerious 6f3975691e VCS: Change Commit list size button signal to item_selected
This is in contrast to the previous signal in use - "pressed", which doesn't get emitted on simple clicks on the OptionButton to open the popup.

Also, fixes the ids using which the metadata was being set on the items on the commit list. The commit list size button items now work as expected
2022-05-25 03:02:13 +05:30
ChronicallySerious da563916e6 VCS: Don't assume Commit tab will stay at default location 2022-05-25 02:22:02 +05:30
smix8 1bac95b166 Fix TileSetEditor wrong NavigationPolygon format
TileSets created and stored NavigationPolyons in a format that did not work for Navigation.
2022-05-24 19:07:41 +02:00
Rémi Verschelde 573706bd24
Merge pull request #61212 from Calinou/project-manager-filter-order-swap-3.x 2022-05-24 00:18:06 +02:00
Rémi Verschelde 27372da450
Merge pull request #61306 from Calinou/editor-theme-gray-tweak-accent-color-3.x 2022-05-24 00:15:36 +02:00
Rémi Verschelde f13b47d9e2 Remove mistakenly committed file 2022-05-24 00:10:44 +02:00
Rémi Verschelde bf2c722a25 i18n: Sync editor translations with Weblate 2022-05-24 00:06:20 +02:00
kobewi 8f52320310 Only switch to node when not dragging it
(cherry picked from commit 95bbffff48)
2022-05-24 00:06:20 +02:00
Rémi Verschelde 88dba8e625 Fix typos with codespell
Using codespell 2.2-dev from current git.
2022-05-23 21:41:46 +02:00
Hugo Locurcio c88bb64b45
Increase saturation of accent color on the Grey editor theme preset
This makes activated icons easier to distinguish from non-activated icons.
2022-05-23 10:24:01 +02:00
bruvzg d502bd4847
Backport TextMesh and expose dynamic font vector outlines 2022-05-23 10:47:28 +03:00
bruvzg dc6d8d6098
Backport Label3D node implementation and Sprite*3D material render priority. 2022-05-23 09:14:41 +03:00
kleonc 4855fc67aa EditorPropertyArray Fix crash when drag-reordering elements in the inspector
(cherry picked from commit 33b2970492)
2022-05-22 19:43:56 +02:00
Haoyu Qiu 78ec40e9ff Fix incorrect separators in Scene tree menu 2022-05-22 23:19:21 +08:00
bruvzg b5d5515a2b Fix incorrect encoding used in _error_handler functions
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2022-05-22 18:56:41 +08:00
SnailRhymer d5cc93c840 Fix _class_desc_select to handle Variant.Type
Change the order of checks in _class_desc_select to first try checking current page and GlobalScope before resorting to slicing either side of the first ".". This may change previous search behaviours - previously if both x.y and @GlobalScope.x.y existed, _class_desc_select would select the former; it will now select the latter.

Also tidies up some comments.
2022-05-21 12:29:48 +01:00
Hugo Locurcio 13284f3a7b
Swap the filter and order fields in the project manager
This matches 4.0 project manager presentation, with filter appearing
on the left and order on the right.
2022-05-21 09:50:06 +02:00
Hugo Locurcio bc91b89203
Fix project manager display at small window sizes
- Don't use minimum size for project order/filter controls.
  This also allows the filter field to become longer at large
  window sizes.
- Hide the loading label instead of changing its opacity.
  This causes a reflow during loading, but this is preferable to having
  the UI overflow.
- Hide the language dropdown on Android as it doesn't work correctly.

This allows the project manager to be displayed correctly at much
lower window sizes than previously.
2022-05-20 16:55:02 +02:00
Aaron Franke 08a397c4b7
Tweaks to improve the Project Manager display at small sizes 2022-05-20 16:51:06 +02:00
Haoyu Qiu d54b60233a Properly clean `button_add_item` ref in Dict property editor
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-05-19 19:20:59 +08:00
Haoyu Qiu b657d0c76c Add dedicated macros for property name extraction
* Replace case-by-case extraction with PNAME & GNAME
* Fix group handling when group hint begins with property name
* Exclude properties that are PROPERTY_USAGE_NOEDITOR
2022-05-19 11:31:35 +08:00
Douglas Leão f4228045f7 [3.x] ResourceImporterWAV: Add support for 64-bit IEEE float 2022-05-18 19:55:06 -03:00
Yuri Rubinsky 32b9818965 Add node list param to GraphEdit::delete_nodes_request signal 2022-05-18 12:36:00 +03:00
Rémi Verschelde caeae1f949 i18n: Sync editor translations with Weblate 2022-05-17 23:41:31 +02:00
Haoyu Qiu b611b4cddc Create onready variables when dropping nodes and holding Ctrl 2022-05-17 11:52:17 +08:00
FireForge 5968dbd747 Expose EditorSpinSlider.hide_slider
(cherry picked from commit 8e752b06e8)
2022-05-16 21:12:21 +02:00
Haoyu Qiu 59151db99e Fix crash when editing pinned StyleBox
(cherry picked from commit 4b013a9c96)
2022-05-16 21:12:21 +02:00
kleonc 06b7f218c6 AnimationTrackEditor Fix signal connection on root exiting the tree
(cherry picked from commit 2ede2bac0b)
2022-05-16 16:00:03 +02:00
FireForge f17c5fa7bd Add interpolation modes to Gradient
- Linear, Constant, and Cubic interpolation modes
- Partial backport of #53321
2022-05-12 14:24:04 -05:00
Rémi Verschelde 6e07417abb
Merge pull request #60804 from RedHeadphone/patch-1 2022-05-10 11:01:45 +02:00
Red Headphone a0acb41379 fix: no quit confirmation on project reload if files are saved 2022-05-10 14:02:55 +05:30
Hugo Locurcio 8682874419
Rename profiler "Idle Time" to "Process Time"
References to "idle time" are progressively being replaced by
"process time" throughout the engine to avoid confusion.

This also changes some debug prints to be printed only when verbose
mode is enabled (like in `master`).
2022-05-06 19:31:31 +02:00
Haoyu Qiu 809a0362c1 Make import defaults inspector honor property style settings 2022-05-06 22:24:51 +08:00
Fabio Alessandrelli 225e75daba [3.x] [Debugger] Add --debug-server CLI option.
Automatically starts the editor debug server at given <IP>:<PORT>.

E.g.:
 # Run editor and debug server listening on any interface, port 8080
godot3 -e --path proj/proj_empty --debug-server *:8080

 # Run the godot project connecting to that debug server.
godot3 --path proj/proj_empty --remote-debug 127.0.0.1:8080
2022-05-06 14:02:00 +02:00
Rémi Verschelde 0997c2de84 i18n: Sync editor translations with Weblate 2022-05-05 15:54:58 +02:00
kobewi 7c6203a60e Cache script icons in editor
(cherry picked from commit 3f50dad460)
2022-05-05 15:54:58 +02:00
Haoyu Qiu 92256df9fb Load fallback icon for custom class when no icon available
(cherry picked from commit ba90778f1c)
2022-05-05 13:43:39 +02:00
Rémi Verschelde eea48d9a1d
Merge pull request #60770 from KoBeWi/animetiles
Expose tile_texture property
2022-05-05 08:36:43 +02:00
kobewi 0b5289cadf Expose tile_texture property 2022-05-05 02:22:43 +02:00
Hugo Locurcio aaf8424d7e
Use physical keys for numpad emulation in the 3D editor
This makes numpad emulation work on non-QWERTY keyboard layouts
more reliably.
2022-05-05 01:33:47 +02:00
Rémi Verschelde 7774cbd8f2
Merge pull request #42298 from gvekan/stop-multimeshinstance-populate-reset
Stop reset of MultiMesh properties on populate
2022-05-05 00:35:24 +02:00
Haoyu Qiu 9c82c3581f Handle AssetLib repository config error 2022-05-04 22:19:21 +08:00
bruvzg 0be7de6e11 [3.x] Fix export plugins after embedded PCK loading changes. 2022-05-04 12:56:00 +03:00
kleonc 2e4e8bb87c Fix inspecting nested dictionaries/arrays when debugging 2022-05-04 00:49:34 +02:00
Rémi Verschelde 6ee64331db
Merge pull request #60527 from KoBeWi/unique_names_demastered 2022-05-02 10:48:27 +02:00
FireForge e8d1552af2 Add an inspector preview for BitMap 2022-05-02 09:16:34 +08:00
Haoyu Qiu b8d5c3b003 Fix issues when skipping l10n for script variables 2022-04-29 17:47:47 +08:00
Haoyu Qiu 65f3d99693 Fix external link icon black background 2022-04-29 09:21:23 +08:00
bruvzg bea7c9be5d [3.x] Improve embedded PCK loading and exporting. 2022-04-28 11:11:48 +03:00
FireForge f3a4e3eee5 Add more property capitalizations
- BiDi
- FileSystem
- NavMesh

(cherry picked from commit a549617a38)
2022-04-27 12:32:33 +02:00
Hugo Locurcio 2bc036dad5 Add an external link editor icon
This replaces the existing "chainlink" instance icon that was
used for external links. That icon is still used for scene instancing.

The icon was designed by redlamp.

Co-authored-by: Taylor Wright <taylor@redlamp.org>
(cherry picked from commit 5626d026d8)
2022-04-27 12:30:31 +02:00
FireForge 994c0b7ce5 Fix UndoRedo in Gradient editor
(cherry picked from commit a384031326)
2022-04-27 12:26:10 +02:00
Daniel Kříž 41d0486ad1 Fix missing favorite files in filesystem dock
(cherry picked from commit cbe363d716)
2022-04-27 12:24:16 +02:00
Rémi Verschelde 510ed791f9
Merge pull request #60554 from timothyqiu/editor-settings-cleanup 2022-04-27 11:51:03 +02:00
Rémi Verschelde 360be72d4c
Merge pull request #60550 from timothyqiu/import-preset-i18n-3.x 2022-04-27 10:33:36 +02:00
Haoyu Qiu d088128b43 Remove duplicate editor settings definitions 2022-04-27 15:26:46 +08:00
Rémi Verschelde ac24644464
Merge pull request #60536 from timothyqiu/class-name-icon-3.x
[3.x] Fix custom class icon when it inherits from a script
2022-04-27 08:06:02 +02:00
Rémi Verschelde 1f7a2328a3
Merge pull request #59338 from fire-forge/raycast2d-editor-3.x
[3.x] Add an editor handle for `RayCast2D.cast_to`
2022-04-27 07:57:00 +02:00
Haoyu Qiu 5d150559a3 Make more import preset name translatable 2022-04-27 13:50:59 +08:00
Haoyu Qiu 42448d7587 Fix custom class icon when it inherits from a script 2022-04-27 10:01:08 +08:00
kobewi e1c74ae83f Implement Scene Unique Nodes 2022-04-26 13:55:48 +02:00
Rémi Verschelde 1e61fb1e37 i18n: Sync editor translations with Weblate 2022-04-25 17:14:49 +02:00
Hugo Locurcio c3da5228a3
Fix project manager window position when editor scale is above 100%
This backports a fix from `master` to `3.x` (with simplified code).
2022-04-15 18:05:32 +02:00
FireForge 8aa30eee2f Fix EditorProperty text and icon overlap bugs
(cherry picked from commit dbc380af59)
2022-04-14 21:38:06 +02:00
Haoyu Qiu 4e0547afe9 Add option to paste animation as duplicate
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2022-04-14 10:40:39 +08:00
Rémi Verschelde 9a45eb70b4
Merge pull request #60204 from akien-mga/3.x-cherrypicks 2022-04-13 14:23:56 +02:00
Haoyu Qiu 8d9071542b Localize unnamed project name in editor window title
(cherry picked from commit 35d0878139)
2022-04-13 11:43:49 +02:00
Jason Yundt 6ca73386d1 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.

(cherry picked from commit 1cc7e7ec33)
2022-04-13 11:43:49 +02:00
Haoyu Qiu 722d28adeb Clip animation track keyframe rects
(cherry picked from commit c7e06e2202)
2022-04-13 11:43:49 +02:00
FireForge 423ca42a9b Capitalize names in the debugger
(cherry picked from commit efd9b8bc29)
2022-04-13 11:43:49 +02:00
Ev1lbl0w 5f05cb8696 Restore hidden folder behavior for project manager
(cherry picked from commit 38fed916e7)
2022-04-13 11:43:48 +02:00
Ev1lbl0w a5e58f102d Hide .gdignore'd folders
(cherry picked from commit 057a0e00eb)
2022-04-13 10:53:56 +02:00
Haoyu Qiu 65aac2cfae Fix popup dialog UI in AnimationTreePlayer editor 2022-04-13 16:49:47 +08:00
Rémi Verschelde e5abfc8679
Merge pull request #60048 from timothyqiu/input-drag 2022-04-12 21:04:02 +02:00
Rémi Verschelde 808f315325
Merge pull request #60058 from timothyqiu/select-frames-3.x 2022-04-12 14:43:54 +02:00
Haoyu Qiu 32488b46a6 Improve Select Frames dialog of SpriteFrames editor 2022-04-09 17:30:06 +08:00
Haoyu Qiu af8d85a15e Fix crash when dragging from Input Map to VisualScript editor 2022-04-09 09:11:56 +08:00
Haoyu Qiu f0908df8b9 Disable "Open in Inspector" when there is no animation 2022-04-08 10:20:33 +08:00
Haoyu Qiu f196532de6 Focus filter LineEdit after Theme Type dialog popup 2022-04-07 17:14:53 +08:00
Haoyu Qiu f6251724af Add an explicit way to remove a theme type
Co-Authored-by: Yuri Sizov <yuris@humnom.net>
2022-04-05 11:51:15 +08:00
Rémi Verschelde 44a7fd1bfb
Merge pull request #59836 from ConteZero/fix_editor_log 2022-04-04 23:56:06 +02:00
Rémi Verschelde 5f9ae5e936
Merge pull request #59868 from m4gr3d/update_default_display_scale 2022-04-04 19:31:59 +02:00
Fredia Huya-Kouadio 3ba0508f79 Update the editor display scale based on the device's scaled density 2022-04-04 04:18:56 -07:00
Haoyu Qiu 1136a9b58a Add missing CheckBox & CheckButton editor icons
Co-authored-by: Silc 'Tokage' Renew <tokage.it.lab@gmail.com>
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-04-04 12:15:46 +08:00
ConteZero 6188e427b4 Fix Copy Selection on editor_log 2022-04-03 16:38:55 +02:00
Hugo Locurcio 053b54b67c
Add missing newlines to the generated `default_env.tres` in new projects
This prevents unnecessary whitespace changes in VCS diffs when saving
a scene for the first time in a new project.
2022-04-02 18:41:15 +02:00
Haoyu Qiu f9da6f6978 Extract theme property names for localization 2022-04-01 11:35:02 +08:00
Rémi Verschelde 383f79e4f1
Merge pull request #59668 from timothyqiu/strip-feature-tag-3.x 2022-03-30 16:06:56 +02:00
Rémi Verschelde 8f2b484817
Merge pull request #59179 from Calinou/occluder3D-add-editor-icons-3.x 2022-03-30 16:03:37 +02:00
Haoyu Qiu 14c13f7c4a Strip feature tag manually when extracting property paths 2022-03-30 20:28:57 +08:00
Haoyu Qiu 79d3fc5319 Add more patterns for property path extraction 2022-03-30 18:21:24 +08:00
Haoyu Qiu 17ce0fcc7c Simplify FBX importer project settings registering 2022-03-29 15:00:31 +08:00
Rémi Verschelde eb837f8cb4
Merge pull request #59375 from timothyqiu/extract-refactor-3.x
[3.x] Refactor editor `extract.py`
2022-03-29 08:45:18 +02:00
Rémi Verschelde 15dc747de8 i18n: Sync editor translation template after #59349 2022-03-29 01:22:20 +02:00
Rémi Verschelde 0db753ef54 i18n: Sync editor translations with Weblate 2022-03-29 01:22:20 +02:00
FireForge 7f787857ef Fix inspector group name capitalization
(cherry picked from commit 88b09694e7)
2022-03-29 00:20:23 +02:00
Nicholas Huelin 6c778a19d1 Hide "Normal Map" import option when using lossless compression on Texture
This pull request resolves an issue where images being imported with lossless compression allowed you to select a normal map, but the normal map only applies if you're using VRAM compression. Thereby making it redundant to appear when using lossless compression. This pull request hides the normal map option when lossless compression is selected.

Resolves: #59435
(cherry picked from commit 01ca9d3eec)
2022-03-29 00:07:45 +02:00
Daniel Kříž 7ed3bfc2fb Fix persistent favorites after rename
Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com>
(cherry picked from commit 0535ef549a)
2022-03-29 00:06:24 +02:00
Vitika9 8d1827cf7c Made reload current project ask for confirmation with unsaved changes
(cherry picked from commit eb81ac8fc5)
2022-03-29 00:03:53 +02:00
FireForge e97893ba0e Remove space in MeshLibrary editor button
(cherry picked from commit c0f2825f8b)
2022-03-28 23:50:30 +02:00
taigi100 d20cf762b3 Update properties to properly filter for templates.
(cherry picked from commit d8d73cdd02)
2022-03-28 23:49:44 +02:00
Haoyu Qiu 60fe14c595 Add TTR context for pagination button texts
(cherry picked from commit 81c21ebf39)
2022-03-28 23:49:23 +02:00
Haoyu Qiu 50ba2d3051 Fix crash when exporting projects with shared libraries
(cherry picked from commit 680bcef825)
2022-03-28 23:48:03 +02:00
Rémi Verschelde 113102aa51 ResourceImporterWAV: Allow configuring loop mode on import
The new `edit/loop_mode` import options lets user choose to either:
- Detect loop points from the WAV (default, same behavior as before)
- Set the loop mode and loop points manually like in AudioStreamSample

Fixes #46164.

(cherry picked from commit b389ce5ccd)
2022-03-28 23:46:29 +02:00
Vitika9 77a386aa08 Removed extra separator in absence of ChangeType and Rename
(cherry picked from commit 46ca4737f1)
2022-03-28 23:44:56 +02:00
Fredy Huya-Kouadio cb0b2aefc3 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 07:54:10 -07:00
Haoyu Qiu b1044b9b86 Add property name style toggle to Inspector 2022-03-28 17:10:41 +08:00
Rémi Verschelde e80a8bebf6
Merge pull request #59615 from timothyqiu/debug-colors-3.x 2022-03-28 10:19:09 +02:00
Rémi Verschelde fa9e2f8e21
Merge pull request #59522 from bruvzg/mo_and_woff2_3x
[3.x] Add binary MO translation file and brotli decoder and WOFF2 support.
2022-03-28 09:00:54 +02:00
Haoyu Qiu 37d4306c2e Update SceneTree debug colors when settings changed 2022-03-28 10:49:13 +08:00
Priyansh Rathi f23663bb59
fix same project opening mutliple times from project manager 2022-03-27 16:06:09 +05:30
Haoyu Qiu 7b7ef59552 Mark Editor SSL Certificates setting as require restart 2022-03-27 09:48:42 +08:00
bruvzg fd2fba7c2c
Add binary MO translation file support. Add brotli decoder and WOFF2 support.
Use smaller .mo files instead of .po, if gettext is available.
Convert editor fonts to .woff2 format.
2022-03-25 19:51:39 +02:00
Rémi Verschelde ffea68a4e8
Merge pull request #59501 from timothyqiu/tileset-icons-3.x
[3.x] Fix icons for tile bitmask copy & paste buttons
2022-03-25 08:01:16 +01:00
Haoyu Qiu 60511e9fd9 Update default proxy port to 8080 2022-03-25 13:17:02 +08:00
Haoyu Qiu 3b52200e01 Fix icons for tile bitmask copy & paste buttons 2022-03-25 11:11:27 +08:00
Haoyu Qiu 91b6c287d9 Update inspector layer names when project settings changed 2022-03-24 17:19:59 +08:00
Rémi Verschelde 39ad3a02be
Merge pull request #48327 from Blackiris/fix-create-skeleton-physical-bones-3.x 2022-03-21 11:26:56 +01:00
Haoyu Qiu 545e2ceb8a Refactor editor `extract.py` 2022-03-21 15:53:43 +08:00
Haoyu Qiu 1bf30d7be0 More editor `extract.py` improvements and fixes 2022-03-20 20:21:05 +08:00
FireForge da18e44803 Add a RayCast2D.cast_to editor handle 2022-03-19 23:23:11 -05:00
Raul Santos 862691a9f7
Support explicit values in flag properties, add C# flags support
- Add support for explicit values in properties using `PROPERTY_HINT_FLAGS`
that works the same way it does for enums.
- Fix enums and flags in VisualScriptEditor (it wasn't considering the
explicit value).
- Use `PROPERTY_HINT_FLAGS` for C# enums with the FlagsAttribute instead
of `PROPERTY_HINT_ENUM`.
2022-03-19 19:22:54 +01:00
Rémi Verschelde cec7fc4ffe
Merge pull request #58479 from ChronicallySerious/use-time-in-vcs
Use Time singleton in VersionControlEditorPlugin
2022-03-18 20:34:56 +01:00
ChronicallySerious 9e978bf989 Use Time singleton in VersionControlEditorPlugin
Instead of displaying the exact string, now Godot uses the Time
singleton to calculate the date string from the UTC Unix timestamp and
also uses Time's timezone offset conversion to string function
2022-03-19 00:50:37 +05:30
Rémi Verschelde a3a5b10e88
Merge pull request #59291 from fire-forge/gradient2d_editor_3.x
[3.x] Add a GradientTexture2D editor plugin
2022-03-18 19:52:28 +01:00
FireForge d76c9f8d92 Add a GradientTexture2D editor plugin 2022-03-18 13:18:10 -05:00
Rémi Verschelde 0de7cfc60f i18n: Sync editor translation template after #59265 2022-03-18 11:52:03 +01:00
Rémi Verschelde 4228d320bd i18n: Sync editor translations with Weblate 2022-03-18 11:50:55 +01:00
Haoyu Qiu 177c60fc52 Improves editor property name extraction 2022-03-18 17:53:28 +08:00
Rémi Verschelde 93a3d47edc i18n: Sync editor translation POs with template 2022-03-17 19:44:13 +01:00
Rémi Verschelde 972c6687ff i18n: Add property paths to editor translation template 2022-03-17 19:42:24 +01:00
Rémi Verschelde 98b8f4043a i18n: Sync editor translations with Weblate 2022-03-17 19:39:48 +01:00
Rémi Verschelde cdbc819b85
Merge pull request #59164 from timothyqiu/filter-property-3.x 2022-03-17 19:19:16 +01:00
Rémi Verschelde fc93c22b6e
Merge pull request #59238 from akien-mga/3.x-cherrypicks 2022-03-17 19:16:48 +01:00
Haoyu Qiu 7e0d814603 Improve inspector filtering 2022-03-18 01:15:31 +08:00
Haoyu Qiu 8d7ec5075b Remap property path based on path substrings
Also added captialization caching.
2022-03-18 00:32:36 +08:00
Haoyu Qiu 8eb539d5c1 More icon updates on theme change
(cherry picked from commit 0ac6e6acbe)
2022-03-17 14:45:19 +01:00
Haoyu Qiu bb257543d8 Add missing navigation node icons
Co-Authored-by: Michael Alexsander <michaelalexsander@protonmail.com>
2022-03-17 10:55:07 +08:00
Hugo Locurcio b087538119
Add an XML schema for documentation
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.

Each class XML's schema conformance is also checked on GitHub Actions.
2022-03-16 23:01:02 +01:00
Haoyu Qiu 04eb5c486a Add note about encryption key to export dialog 2022-03-16 19:55:26 +08:00
Haoyu Qiu 878cf8262a Add context support for editor translation 2022-03-16 15:44:30 +08:00
Hugo Locurcio 5f175828f0
Add editor icons for OccluderShapePolygon and OccluderShape
The abstract OccluderShape resource now has an icon, like the abstract
Mesh resource.
2022-03-15 23:02:55 +01:00
Rémi Verschelde a6762a30b5
Merge pull request #59138 from timothyqiu/sprite-frames-editor-3.x 2022-03-15 09:11:04 +01:00
Haoyu Qiu 9031d264e4 Improves SpriteFrames editor 2022-03-15 09:12:46 +08:00
Haoyu Qiu 95c672e1b4 Separate 2D grid visibility and grid snap 2022-03-15 08:52:21 +08:00
Rémi Verschelde fdaf0de3f0
Merge pull request #59100 from RandomShaper/mouse_drop_on_disable_3.x 2022-03-14 11:25:12 +01:00
Pedro J. Estébanez 3d7821bf1f Drop mouse focus and over when gui input is globally disabled
Since some porjects may be relying on the former behavior, this is opt-in via a new project setting, disabled by default, but enabled for new projects, since it's the new standard behavior (and the only one in 4.0).
2022-03-14 11:06:26 +01:00
FireForge c2c0c8067d Add missing property name capitalizations
(cherry picked from commit 543218fc7c)
2022-03-14 10:38:05 +01:00
ConteZero 0ffacff998 [3.x] Add option to make selection unique 2022-03-14 09:48:09 +01:00
Hugo Locurcio 5f9c13b980
Improve display of freelook/zoom speed indicator bars in the 3D editor
- Use a different color for freelook and zoom speed bars.
- Use a shadow for the text to make it readable on any background.
2022-03-13 22:59:21 +01:00
Hugo Locurcio caf2c20655 Don't store and show current file/directory/path FileDialog properties
These properties are only useful at run-time, so they don't need
to be displayed in the editor and stored.

(cherry picked from commit 2ad6e11b78)
2022-03-13 15:46:01 +01:00
Ryan Roden-Corrent 846416afe8 Copy full project setting path from dialog.
The EditorProperty UI elements for project settings are created from
SectionedInspector, which has a prefix added to each property path. Each
EditorProperty needs to be made aware of this path so copy_property_path
copies the full path, and not just the suffix.

Fixes #59020.

(cherry picked from commit d271e2517e)
2022-03-13 15:43:23 +01:00
Haoyu Qiu f280712215 Fix missing grid lines when TileMap has half offset 2022-03-13 17:20:43 +08:00
Rémi Verschelde 7c49b8e70f
Merge pull request #59009 from timothyqiu/tile-map-grid-3.x
[3.x] Improve TileMap editor grid
2022-03-12 22:06:54 +01:00
Haoyu Qiu 36ec71bcef Hide smart snapping line when guideline dragging ends
(cherry picked from commit b255efba7c)
2022-03-12 15:10:28 +01:00
Markus Sauermann 93447eb1ae Use get_cursor_shape for identifying the cursor shape in AnimationNodeStateMachineEditor
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.

Fix minor issue with selection order.

(cherry picked from commit 0d96dbcb2a)
2022-03-12 15:10:14 +01:00
Markus Sauermann e2bd1ad6da Use get_cursor_shape for identifying the cursor shape in AnimationTrackEditTypeAudio
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.

(cherry picked from commit 24942214d9)
2022-03-12 15:10:13 +01:00
Markus Sauermann d92406751b Use get_cursor_shape for identifying the cursor shape in AnimationTimelineEdit
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.

(cherry picked from commit 4a8a6f892f)
2022-03-12 15:09:57 +01:00
Haoyu Qiu 15aab4cde0 Remove unused code in `AnimationPlayerEditor::_update_animation_list_icons()`
(cherry picked from commit 6a1e3380f8)
2022-03-12 14:45:35 +01:00
Haoyu Qiu 86ec09faf5 Improve TileMap editor grid 2022-03-11 10:41:30 +08:00
Rémi Verschelde ae036e823b
Merge pull request #58694 from Calinou/editor-frame-time-color-3.x 2022-03-10 21:11:17 +01:00
Rémi Verschelde 153a068958
Merge pull request #58634 from timothyqiu/property-i18n-3.x 2022-03-10 21:08:38 +01:00
Rémi Verschelde b0376ff494
Merge pull request #58851 from timothyqiu/tileset-zoom 2022-03-10 21:06:02 +01:00
Ryan Roden-Corrent 5d7b3e10ee Create parent directories on export.
Fixes #42231.

This works for both the UI and the --export CLI flag.

(cherry picked from commit 66a278f585)
2022-03-10 19:02:01 +01:00
Haoyu Qiu 3b04f59354 Fix some Animation panel icons not updating after theme change
(cherry picked from commit 83828c7d1b)
2022-03-10 19:02:01 +01:00
Haoyu Qiu c2297215e3 Fix TextureRegion editor grid color for light themes
(cherry picked from commit af16e099ea)
2022-03-10 19:01:53 +01:00
Haoyu Qiu 2c3646b37b Add missing i18n to various strings
(cherry picked from commit 25d93200c8)
2022-03-10 19:01:52 +01:00
Haoyu Qiu 5514126234 Don't show Lock & Group buttons for nodes hidden by CanvasLayer
(cherry picked from commit fb999ebe22)
2022-03-10 17:18:41 +01:00
Haoyu Qiu 2ccd4fd030 Fix animation resource name after duplication
(cherry picked from commit 8dc12135cd)
2022-03-10 17:18:41 +01:00
Haoyu Qiu a26afe807f Update audio effect icon when theme changes
(cherry picked from commit 20ed798e59)
2022-03-10 17:18:41 +01:00
miremrie 8a6b066ab7 Allow absolute file paths in file dialogs
(cherry picked from commit a5e30c0228)
2022-03-10 17:18:41 +01:00
Haoyu Qiu 86bcac5a5e Fix text color of TileMap editor info overlay 2022-03-10 19:12:40 +08:00
Rémi Verschelde 751769ed45 i18n: Sync editor translations with Weblate 2022-03-09 10:33:03 +01:00
Rémi Verschelde e489f889c2
Merge pull request #58918 from timothyqiu/tilemap-select-icon 2022-03-09 08:29:34 +01:00
Haoyu Qiu 84a27308c1 Use ToolSelect icon for TileMap editor select button 2022-03-09 14:33:09 +08:00
Haoyu Qiu bee9a6cc0d Fix add child error when opening the Editor 2022-03-09 14:27:24 +08:00
Rémi Verschelde 85b4848ca8
Merge pull request #54188 from Rubonnek/increase_var_arg_max_3x 2022-03-08 13:10:48 +01:00
Wilson E. Alvarez 424dbf70af
Increase VARIANT_ARG_MAX to 8 2022-03-07 10:03:49 -05:00
Yuri Roubinsky de79e10951 [3.x] Add option to filter the stack variables of GDScript debugger 2022-03-07 14:49:57 +03:00
Igor Kordiukiewicz b28eea610c Fixed issue where Extend Script option would show up even without script attached to the node
(cherry picked from commit dc361d3201)
2022-03-07 08:33:29 +01:00
Haoyu Qiu cc65147250 Update scroll position when zooming TileSet editor 2022-03-07 13:01:39 +08:00
Hugo Locurcio 2e6a305b8f
Improve display for unsupported debug draw modes in GLES2
- Don't disable the Normal option as it technically can be chosen
  (it's the default).
- Use a text suffix in addition to the tooltip.
2022-03-05 22:03:39 +01:00
Haoyu Qiu 61e35b4f6e Make name of editor file dialog filters translatable 2022-03-05 12:44:17 +08:00
Rémi Verschelde 5b3dfe1ffa
Merge pull request #58760 from raulsntos/icon_color-editor-theme-3.x
[3.x] Add `icon_color_normal` to Button in editor theme
2022-03-04 21:35:02 +01:00
Raul Santos 0e8a76dbb2
Add icon_color_normal to Button in editor theme 2022-03-04 19:21:05 +01:00
Haoyu Qiu aaff2e3982 i18n: Make property paths and sections translatable
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-03-03 15:33:46 +08:00
Hugo Locurcio 2893090a50
Color 3D editor FPS label depending on the performance level
This provides easier visual grepping.

Incindentally, this change will force constant editor redrawing whenever
the View FPS option is enabled in the 3D viewport settings. This is
required to get an accurate FPS display in 3.x.
Otherwise, the FPS counter shot all the way up to 145 FPS
whenever nothing was changing on screen (even if actual
performance was much lower).
2022-03-02 22:16:13 +01:00
Haoyu Qiu e5102872c0 Translate class brief description in Editor Feature Profile dialog 2022-03-02 16:23:48 +08:00
Rémi Verschelde 74b698b817
Merge pull request #58135 from timothyqiu/shortcut-zoom-mouse-pos-3.x 2022-02-23 13:26:21 +01:00
lawnjelly e3f84916de Fix GIProbe gizmo out of bounds crash
The GIProbe gizmo was writing values in 3 dimensions to Vector2s. This error was previously being masked by the Vector2 accessor, but now results in a crash or ERR_FAIL message.

This PR removes the Vector2s as they were unused.
2022-02-22 17:37:31 +00:00
Rémi Verschelde 4e44a15176
Merge pull request #58386 from KoBeWi/fix3bility 2022-02-21 12:33:28 +01:00
kobewi fdded6b44d Fix 2D instance drop position
(cherry picked from commit 3a9fb3aff0)
2022-02-21 11:14:54 +01:00
kobewi 642591b6a9 Fix CanvasItem visibility propagation 2022-02-21 11:11:03 +01:00
Rémi Verschelde 6071d78ba1
Merge pull request #57165 from winterpixelgames/3.x-allow-disable-alpha-trim-texture-atlas 2022-02-20 12:43:58 +01:00
Jason Knight 177041b968 Allow disabling the alpha trim on texture atlas creation.
Default to true
2022-02-19 14:01:30 -06:00
Ricardo Subtil 60f9c0fb42 Fix decompression functions not returning errcodes
(cherry picked from commit 61790a03f5)
2022-02-19 15:50:38 +01:00
Hugo Locurcio 92e6c2a33d Use versioned URL for "Online Documentation" buttons in the editor
This also avoids a redirect, making the page appear to load faster.

(cherry picked from commit 958912a33f)
2022-02-19 15:49:26 +01:00
Rémi Verschelde e2287a201a
Merge pull request #58253 from mbrlabs/deselect-3x 2022-02-17 20:32:38 +01:00
Rémi Verschelde 453dc482e2
Merge pull request #58252 from mbrlabs/region-select-3x 2022-02-17 20:32:25 +01:00
Hugo Locurcio 3b25190494
Only store `_edit_use_anchors_` metadata if value is not the default
The default value is assumed to be `false`, so this metadata
only needs to be stored if the value is `true`.
2022-02-17 20:13:28 +01:00
Marcus Brummer d9c99f64c1 Improved region-select in the 3D editor viewport
Enable region-select when dragging the mouse. Previously this was only possible when the mouse was not over a mesh.
2022-02-17 19:49:39 +01:00