Commit graph

7431 commits

Author SHA1 Message Date
kobewi 72014a7a2e Expose edit_node() for editor plugins 2021-04-12 00:13:08 +02:00
Rémi Verschelde 55faf1c874
Merge pull request #47651 from Calinou/export-improve-nonexistent-preset-errors
Improve error messages for missing export presets when using `--export`
2021-04-06 14:37:25 +02:00
Hugo Locurcio 09f38ea215
Improve error messages for missing export presets when using --export
- Display a specific error message if the project doesn't have an
  `export_presets.cfg` file.
- Display a list of detected export presets if an invalid export
  preset name is supplied.
2021-04-06 14:27:15 +02:00
Rémi Verschelde 45f0b5db28
Merge pull request #47200 from LightningAA/delete-from-project-manager-4.0
Add the ability to remove project contents from the remove project dialog
2021-04-06 11:30:14 +02:00
Rémi Verschelde f4b82814f8
Merge pull request #47622 from pycbouh/editor-plugins-expose-scale
Expose editor scale to the plugin API
2021-04-05 19:00:45 +02:00
Yuri Sizov ea31af68ba Expose editor scale to the plugin API 2021-04-05 18:44:01 +03:00
Rémi Verschelde 4296b135b7
i18n: Sync translations with Weblate
(cherry picked from commit 5cfdb86660)
2021-04-05 16:30:22 +02:00
Rémi Verschelde d83761ba80
Style: Apply clang-tidy's readability-braces-around-statements 2021-04-05 14:09:59 +02:00
Rémi Verschelde 9bbe51dc27
Style: Apply clang-tidy's modernize-use-nullptr 2021-04-05 14:05:07 +02:00
Rémi Verschelde 0f0c0e5933
Style: Apply clang-tidy's modernize-use-bool-literals 2021-04-05 13:16:35 +02:00
Rémi Verschelde de3b3e1cda
Merge pull request #47633 from Calinou/editor-theme-scrollbar-add-background
Add a subtle background to editor scrollbars
2021-04-05 12:05:07 +02:00
Rémi Verschelde 77dc4c3cb6
Merge pull request #47636 from qarmin/input
Fix crashes in *_input functions
2021-04-05 11:54:08 +02:00
Rémi Verschelde 789646e201
Merge pull request #47632 from Calinou/asset-search-autofocus
Automatically focus the Search field when displaying asset library
2021-04-05 11:38:48 +02:00
Rémi Verschelde 189aa6340e
Merge pull request #47408 from megalobyte/remove-float-recast
Use double when setting the default step size
2021-04-05 11:37:06 +02:00
Rafał Mikrut 504bc5cc67 Fix crashes in *_input functions 2021-04-05 08:52:21 +02:00
Hugo Locurcio b60b6ddba4
Add a subtle background to editor scrollbars
This makes it possible to see whether a scrollbar grabber is at the top
or at the bottom of a scrollbar. Also, if a scrollable area is very
large, this makes it easier to notice that the area can be scrolled
(since the grabber is proportionally very small).

The scrollbar grabbers were also made thicker and slightly more opaque
for better visibility, especially in peripheral vision.
2021-04-05 02:04:45 +02:00
Hugo Locurcio d89d00ac7e
Automatically focus the Search field when displaying asset library
- Focus the project search box when switching from the Templates tab
  back to the Projects tab in the project manager.
- Add a context-specific placeholder for the asset library search box.
- Rename "Search" project filter box placeholder to the more
  descriptive "Filter projects". When performing a search on an
  existing selection, "Filter" is more accurate than "Search".
2021-04-05 01:45:39 +02:00
Rémi Verschelde a864a703ee
Merge pull request #47624 from Chaosus/vs_fix_context_menu_separator
Fix few bugs in the context menu for Comment node in visual shaders
2021-04-04 18:33:34 +02:00
Yuri Roubinsky 0fecd4ee4d Fix separator duplication in visual shader context menu 2021-04-04 17:55:42 +03:00
Yuri Roubinsky 44af52d62c Prevents TextureUniform in visual shaders from conversion to constant 2021-04-04 17:32:44 +03:00
Rémi Verschelde cbf5408685
Merge pull request #46273 from Chaosus/vs_comment
Added Comment node to Visual Shaders
2021-04-04 16:04:12 +02:00
Yuri Roubinsky 5af08e5e65 Fix typo in visual shader context menu 2021-04-04 15:31:04 +03:00
Rémi Verschelde 4b6e9f3157
Merge pull request #46991 from madmiraal/rename-invert-reverse
Rename Array.invert() to Array.reverse()
2021-04-01 13:32:22 +02:00
megalobyte d0f3817876 Use double when setting the default step size
Casting it as a float was causing issues with the progress bar
2021-03-31 22:28:08 -07:00
Rémi Verschelde 7db85fffb5
Merge pull request #43550 from KoBeWi/resourcism
Add option to exclude selected resources on export
2021-04-01 00:20:54 +02:00
Rémi Verschelde 36c11a5b93
Merge pull request #42890 from Ev1lbl0w/bugfix-import-zip
Allow Godot to import .ZIP files with non-regular structure
2021-04-01 00:18:19 +02:00
Rémi Verschelde 54a690ead1
Merge pull request #43155 from nathanfranke/collapse-resource-preview
Collapse Resource Preview Properly
2021-04-01 00:16:44 +02:00
Rémi Verschelde 1508fe1393
Merge pull request #47230 from trollodel/anim_track_color
Preview the color animation in the animation editor
2021-03-31 13:56:32 +02:00
Rémi Verschelde 6b25c94bd6
Merge pull request #47519 from AndreaCatania/AndreaCatania-patch-4
Fixes editor crash on closing
2021-03-31 12:47:25 +02:00
AndreaCatania 79f55fcded Fixes editor crash on closing
Fixes editor crash when the gizmo is destroyed and the `SceneTree` is already freed.
2021-03-31 11:53:32 +02:00
Rémi Verschelde db31445b90
i18n: Sync translations with Weblate
(cherry picked from commit cca2637b9b)
2021-03-30 00:04:54 +02:00
Marcel Admiraal fd30c36985 Rename Texture.get_data() to get_image() 2021-03-28 13:00:46 +01:00
trollodel 735c8396b0 Preview the color animation in the animation editor 2021-03-27 16:16:24 +01:00
Rémi Verschelde a82765a464
Merge pull request #47403 from likeich/project_man_scale_fix
Fix project manager window size scaling
2021-03-27 08:46:16 +01:00
Kyle 918f50c04c Fixes project manager window size scaling
This is a workaround fix for a Vector2i multiplication regression issue that prevents the project manager window size from scaling correctly. This calculates the new window size x and y values separately.
2021-03-26 21:27:43 -04:00
kobewi 76240515d8 Save project after opening 2021-03-26 14:10:41 +01:00
Rémi Verschelde 21f9cb29bd
Merge pull request #47375 from rishabhabhani/master
Added null checks for mesh in resource importer
2021-03-26 09:27:00 +01:00
Rémi Verschelde 6bb1eb8212
Merge pull request #47374 from timothyqiu/check-section
Check section existance before getting keys
2021-03-26 09:20:36 +01:00
Rishabh Abhani 435c80490a added null checks for mesh in resource importer 2021-03-26 11:49:06 +05:30
Haoyu Qiu 40d6a25ef5 Check section existance before getting keys 2021-03-26 10:05:25 +08:00
Rémi Verschelde c6b9ceadf2
Merge pull request #47163 from bruvzg/macos_sandbox_file_dialog
FileDialog: add Back/Forward buttons, add message for inaccessible folders.
2021-03-26 00:00:25 +01:00
Hugo Locurcio 31fa1af0c0
Hide renderer selection dropdown in the editor as it's not implemented
It will take at least a few months until an OpenGL renderer is made
available for the `master` branch.
2021-03-25 18:09:22 +01:00
Rémi Verschelde 5953f4d766
Merge pull request #47329 from likeich/function_click_centered
Fix ctrl-click function line centering
2021-03-25 00:18:04 +01:00
James Castanho babaddbdec edit if statement in FileSystemDock::_select_file() 2021-03-24 16:10:41 -05:00
Kyle 2b775bd698 Fixes ctrl-click function line centering
When ctrl-clicking in the code editor, the view will now be centered on the function result.

Also replaces a circumstance where goto_line_centered should be used.
2021-03-24 12:29:14 -04:00
Rémi Verschelde 64b4bd4ee0
Merge pull request #47301 from akien-mga/drop-resource-importer-csv
Remove now unnecessary ResourceImporterCSV importer
2021-03-24 09:25:55 +01:00
Gordon MacPherson 8db565cabd Fix use of Error its uninitialised and resolves importers being broken 2021-03-23 23:46:22 +00:00
Rémi Verschelde 7ed2220928
Remove now unnecessary ResourceImporterCSV importer
Its only purpose was to prevent importing CSV files as translations, but it
would still import them as *nothing*, leading to workflow issues.

This is now properly fixed with #47268 which allows disabling the import for
specific files.
2021-03-23 15:49:30 +01:00
Juan Linietsky 4706297356 Remove FileSystem dock errors on unimported files
* Removes error shown when file is in 'keep' mode
* Display a warning when attempting to open the file
* Closes #47296
2021-03-23 11:33:07 -03:00
Rémi Verschelde 22716a1df2
Merge pull request #36004 from nathanfranke/fix-transparent-theme-color
Fix transparent editor theme being brighter
2021-03-23 13:25:38 +01:00