Commit Graph

10770 Commits

Author SHA1 Message Date
a5e30c0228 Allow absolute file paths in file dialogs 2022-03-02 19:42:39 +01:00
98dd04c38c Fix debugger not opening built-in scripts 2022-03-02 17:57:56 +01:00
3f9a6011fe Merge pull request #58632 from IgorKordiukiewicz/camera-preview-toggle-crash
Fixes camera preview toggle in additional editor viewports not disappearing corectly causing a crash
2022-03-01 19:59:17 +01:00
73f92a6e4d Merge pull request #58548 from V-Sekai/lod_lightmaps
Allow automatic lod when importing 3D scenes with Static Lightmaps
2022-03-01 10:23:25 +01:00
f653107764 Fix scripts not saving when closing 2022-03-01 01:23:26 +01:00
ffa4a02808 Fixes camera preview toggle in additional editor viewports not disappearing corectly causing a crash 2022-02-28 15:47:35 +01:00
a4a8de3874 Fix crash on creation of HSV2RGB/RGB2HSV functions in visual shader 2022-02-27 17:51:31 +03:00
ab15267096 Allow automatic lod when importing 3D scenes with Static Lightmaps
Avoid the normal merge procedure when uv2s are different and makes generating LODs happen after the lightmap generation
2022-02-25 18:03:09 -08:00
74ff5921d6 Improve popup window handling.
Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
2022-02-25 09:33:27 +02:00
b727b81468 Fix source picking with sort 2022-02-24 01:20:21 +01:00
33ad21d2ed Utilize mouse position when zooming with shortcuts in 2D editor 2022-02-23 20:45:44 +08:00
bb070af610 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 19:01:18 +00:00
4eaddf9b55 Fix viewBox of ViewportSpeed.svg 2022-02-23 01:16:35 +08:00
256069eaf0 Merge pull request #58399 from Sauermann/fix-bresenham-usage
Use bresenham_line() in EditorAtlasPacker::chart_pack
2022-02-21 22:19:53 +01:00
2f1f7e26f7 Merge pull request #58397 from Calinou/editor-font-preload-fix-typo
Fix typos in editor font preload dialog warning messages
2022-02-21 20:24:02 +01:00
b35e9155d0 Use bresenham_line() in EditorAtlasPacker::chart_pack 2022-02-21 19:52:47 +01:00
06e701ef58 Fix typos in editor font preload dialog warning messages 2022-02-21 19:30:16 +01:00
04535bdc7d Fix contextual tileset editor and ensure button is always visible when tileset is available 2022-02-21 13:34:11 +00:00
adf10902c9 Merge pull request #58315 from KoBeWi/fixibility 2022-02-21 12:33:17 +01:00
b829615150 Merge pull request #58372 from KoBeWi/orphan_ci
Fix 2D instance drop position
2022-02-21 08:39:37 +01:00
3a9fb3aff0 Fix 2D instance drop position 2022-02-20 23:09:47 +01:00
7f30fd10f9 Fix errors when updating script template list 2022-02-20 19:39:48 +08:00
499eec13a3 Merge pull request #57163 from winterpixelgames/feature/allow-disable-atlas-texture-alpha-trim
Allow disabling the alpha trim on texture atlas creation.
2022-02-19 23:54:00 +01:00
3a77484f70 Fix CanvasItem visibility propagation 2022-02-19 22:40:53 +01:00
31d723c4ce Allow disabling the alpha trim on texture atlas creation.
Default to true
2022-02-19 14:00:42 -06:00
ec8e616024 Fix vertical icons in container sizing 2022-02-19 19:29:53 +01:00
8aed7c1c09 Merge pull request #58308 from timothyqiu/dae-for
Fix crash when importing DAE model
2022-02-19 08:28:26 +01:00
a787e43b13 Fix crash when importing DAE model 2022-02-19 13:43:22 +08:00
639c4b6f20 Fix crash in Create New Node dialog with certain user-created scripts 2022-02-19 13:14:33 +08:00
0217d44dfd Merge pull request #58278 from Ev1lbl0w/fix_decompress_retcode 2022-02-18 15:56:21 +01:00
61790a03f5 Fix decompression functions not returning errcodes 2022-02-18 13:50:25 +00:00
f6edd2d2a0 Fixed issues with shortcut checking in 3d node editor
The freelook shortcuts now use the action system by proxy. This allows the actions system to be leveraged for input checking. When the shortcut changes, the respective action is updated.
2022-02-18 23:19:22 +10:00
5b18a81be9 Merge pull request #58249 from Calinou/editor-online-docs-use-versioned-url 2022-02-17 19:18:55 +01:00
958912a33f Use versioned URL for "Online Documentation" buttons in the editor
This also avoids a redirect, making the page appear to load faster.
2022-02-17 18:17:02 +01:00
f315c9d0c6 Connect text_submitted of built-in script name 2022-02-17 17:03:41 +01:00
78dc608aa8 Change 'find_node' to 'find_nodes' and Add 'type' parameter
Changed 'find_node' to 'find_nodes' which now returns an 'TypedArray<Node>', as well as Added a 'type' parameter to match against specific node types, which supports inheritance.
2022-02-17 01:44:13 -06:00
7d05a066e3 Translate link titles in classref XML 2022-02-17 11:11:23 +08:00
009254d87c Merge pull request #58187 from jakobbouchard/notification-switch-chunk-c
Convert _notification methods to switch - Chunk C
2022-02-16 20:58:55 +01:00
6553f5c242 Convert _notification methods to switch - Chunk C 2022-02-16 13:03:05 -05:00
51a00c2855 Merge pull request #58182 from akien-mga/style-cleanup-if-semicolons-deadcode 2022-02-16 16:55:07 +01:00
33c7f52f36 Merge pull request #58169 from megalobyte/update-notificatin-if-to-switch-batch-B 2022-02-16 16:39:23 +01:00
8824b6c5e9 Update if == NOTIFICATION_* to switch statements to match coding style 2022-02-16 08:44:37 -05:00
b8b4580448 Style: Cleanup single-line blocks, semicolons, dead code
Remove currently unused implementation of TextureBasisU, could be re-added
later on if needed and ported.
2022-02-16 14:06:29 +01:00
dcd2a92af3 Port existing _notification code to use switch statements (part 1/3) 2022-02-16 11:38:24 +01:00
c4c29728a3 i18n: Sync editor translations with Weblate
Minor proofreading of new OSX export strings.

(cherry picked from commit 9f09251027)
2022-02-16 10:08:40 +01:00
547786650f Automatically select source of the picked tile 2022-02-16 00:39:00 +01:00
8c06318722 Tweak the default project icon
This only affects newly created projects.

- Use a 128×128 resolution to make the icon look crisp on hiDPI displays.
- Darken the icon's outside area and remove the border, as the
  contrast rate between the icon and its background is now sufficient.

This different design also allows distinguishing projects that
were made with Godot 3.x from projects made with Godot 4.0.
2022-02-15 20:23:12 +01:00
11572c6e30 Editor: Cleanup some includes dependencies
Removes some unnecessary includes from `editor_node.h`, and instead add
those where they're used.

Removes unnecessary `editor_node.h` includes in various editor classes.

Renames `dynamicfont` to `dynamic_font` in a couple files.

Misc cleanup while jumping through that rabbit hole.
2022-02-15 14:54:15 +01:00
1d910b1e58 Merge pull request #57863 from Calinou/editor-use-anchors-metadata-no-redundant 2022-02-15 14:41:27 +01:00
6d708dfd6a Merge pull request #57329 from Ev01/tileset-editor-minimum-zoom 2022-02-15 14:20:22 +01:00