Commit Graph

7416 Commits

Author SHA1 Message Date
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
714891ace8 Properly release LMB even while panning 2022-06-09 14:02:58 +02:00
fe13b94a14 Improve title of DependencyEditorOwners
(cherry picked from commit 847eee71df)
2022-06-09 10:55:17 +02:00
2570df7fd8 Fix EditorSpinSlider mouse reset position on tree exit
(cherry picked from commit 784b1adb18)
2022-06-09 10:55:17 +02:00
f5fa1ca944 Add readable export errors. Add RTL image vertical alignment support. 2022-06-08 17:56:28 +03:00
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
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
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
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
03e84abfa5 Fix empty space after project sort options 2022-06-04 00:20:09 +08:00
61ae6b521e Merge pull request #61482 from Calinou/profiler-increase-frame-history-3.x 2022-06-03 12:51:26 +02:00
5be04c9153 i18n: Sync editor translations with Weblate 2022-06-01 00:37:03 +02:00
309ad643a9 Hide redundant categories from project settings
(cherry picked from commit 1a9635cc57)
2022-06-01 00:29:46 +02:00
fee968bc26 Improve the Export All button display in the export dialog 2022-05-31 20:44:23 +03:00
0acd1ca850 Merge pull request #61266 from smix8/navigation_tilemap_poly_3.x 2022-05-31 11:25:00 +02:00
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
e5db39d07b Remove extra space in property editors
- NodePath, Resource, and multiline string
2022-05-25 19:04:44 -05:00
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
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
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
cb1ffbd0f6 Merge pull request #61383 from ChronicallySerious/fix-commit-list-size 2022-05-24 23:49:55 +02:00
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
da563916e6 VCS: Don't assume Commit tab will stay at default location 2022-05-25 02:22:02 +05:30
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
573706bd24 Merge pull request #61212 from Calinou/project-manager-filter-order-swap-3.x 2022-05-24 00:18:06 +02:00
27372da450 Merge pull request #61306 from Calinou/editor-theme-gray-tweak-accent-color-3.x 2022-05-24 00:15:36 +02:00
f13b47d9e2 Remove mistakenly committed file 2022-05-24 00:10:44 +02:00
bf2c722a25 i18n: Sync editor translations with Weblate 2022-05-24 00:06:20 +02:00
8f52320310 Only switch to node when not dragging it
(cherry picked from commit 95bbffff48)
2022-05-24 00:06:20 +02:00
88dba8e625 Fix typos with codespell
Using codespell 2.2-dev from current git.
2022-05-23 21:41:46 +02:00
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
d502bd4847 Backport TextMesh and expose dynamic font vector outlines 2022-05-23 10:47:28 +03:00
dc6d8d6098 Backport Label3D node implementation and Sprite*3D material render priority. 2022-05-23 09:14:41 +03:00
4855fc67aa EditorPropertyArray Fix crash when drag-reordering elements in the inspector
(cherry picked from commit 33b2970492)
2022-05-22 19:43:56 +02:00
78ec40e9ff Fix incorrect separators in Scene tree menu 2022-05-22 23:19:21 +08:00
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
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
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
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
08a397c4b7 Tweaks to improve the Project Manager display at small sizes 2022-05-20 16:51:06 +02:00
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
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
f4228045f7 [3.x] ResourceImporterWAV: Add support for 64-bit IEEE float 2022-05-18 19:55:06 -03:00
32b9818965 Add node list param to GraphEdit::delete_nodes_request signal 2022-05-18 12:36:00 +03:00
caeae1f949 i18n: Sync editor translations with Weblate 2022-05-17 23:41:31 +02:00
b611b4cddc Create onready variables when dropping nodes and holding Ctrl 2022-05-17 11:52:17 +08:00
5968dbd747 Expose EditorSpinSlider.hide_slider
(cherry picked from commit 8e752b06e8)
2022-05-16 21:12:21 +02:00
59151db99e Fix crash when editing pinned StyleBox
(cherry picked from commit 4b013a9c96)
2022-05-16 21:12:21 +02:00
06b7f218c6 AnimationTrackEditor Fix signal connection on root exiting the tree
(cherry picked from commit 2ede2bac0b)
2022-05-16 16:00:03 +02:00
f17c5fa7bd Add interpolation modes to Gradient
- Linear, Constant, and Cubic interpolation modes
- Partial backport of #53321
2022-05-12 14:24:04 -05:00