Commit graph

5778 commits

Author SHA1 Message Date
Yuri Roubinsky
0812f991f0
Merge pull request #35952 from Chaosus/shader_editor_enchance
Few enchancements for shader editor
2020-02-06 19:52:01 +03:00
Yuri Roubinsky
24368206ca Few enchancements for shader editor 2020-02-06 17:50:12 +03:00
Rémi Verschelde
f003b3efaa
Merge pull request #35068 from akien-mga/containers-mouse-filter-pass
Use MOUSE_FILTER_PASS for all containers
2020-02-06 12:23:39 +01:00
Rémi Verschelde
f5fa2b41df
Merge pull request #35892 from Calinou/project-manager-allow-hidden-files
Allow existing hidden files/directories when creating a new project
2020-02-06 11:21:17 +01:00
Rémi Verschelde
e92ab159e6
Merge pull request #35727 from Calinou/profiler-set-background-color
Use the editor background color for the profiler graph
2020-02-06 11:13:57 +01:00
Rémi Verschelde
6aaff5dc68
Merge pull request #35731 from timothyqiu/texture-region-gestures
Adds pan and zoom gestures to TextureRegion editor
2020-02-06 11:12:34 +01:00
Haoyu Qiu
c1011178c0 Centers icon vertically in project list 2020-02-06 10:56:43 +08:00
Rémi Verschelde
a9fbe22ce9
Merge pull request #35915 from YeldhamDev/filedock_move_improvements
Make some QOL improvements to move operations in the FileSystem dock
2020-02-05 16:33:20 +01:00
Rémi Verschelde
bdaca7f44b
Merge pull request #35918 from timothyqiu/script-views-min-height
Shortens minimum height of script editor
2020-02-05 16:27:45 +01:00
Rémi Verschelde
7ada59efb7
Merge pull request #33391 from madmiraal/cleanup-error_macros
Clean up error_macros.h
2020-02-05 15:43:01 +01:00
Marcel Admiraal
6d69cd40bd Add do..while(0) wrappers to macros without one.
- Add do..while(0) wrapper to ERR_FAIL_NULL macros.
- Add do..while(0) wrapper to ERR_FAIL_COND macros.
- Add do..while(0) wrapper to ERR_CONTINUE macros.
- Add do..while(0) wrapper to ERR_BREAK macros.
- Add do..while(0) wrapper to CRASH_COND macros.
- Add do..while(0) wrapper to ERR_FAIL macros.
- Add do..while(0) wrapper to ERR_PRINT macros.
- Add do..while(0) wrapper to WARN_PRINT macros.
- Add do..while(0) wrapper to WARN_DEPRECATED macros.
- Add do..while(0) wrapper to CRASH_NOW macros.
2020-02-05 11:19:12 +01:00
Marcel Admiraal
f0db13502a Remove duplicate WARN_PRINT macro. 2020-02-05 11:13:24 +01:00
Marcel Admiraal
5af3b4ca27 Remove duplicate ERR_PRINT macro. 2020-02-05 11:13:24 +01:00
Haoyu Qiu
6785e199bb Shortens minimum height of script editor windows 2020-02-05 13:16:54 +08:00
Michael Alexsander
07a23e75fc Make some QOL improvements to move operations in the FileSystem dock 2020-02-04 19:31:48 -03:00
Hugo Locurcio
34b747bac0
Allow existing hidden files/directories when creating a new project
For instance, this lets users initialize a Git repository
and still be able to create a project in the directory afterwards.

This closes https://github.com/godotengine/godot-proposals/issues/291.
2020-02-03 21:35:00 +01:00
Michael Alexsander
f7374cef84 Fix built-in script creation loading existing scripts by mistake 2020-02-03 13:07:17 -03:00
Rémi Verschelde
2a1e21b6b1
Merge pull request #33959 from Calinou/improve-autoload-editor-ux
Improve the AutoLoad editor UX
2020-01-31 18:30:34 +01:00
Hugo Locurcio
352be7dbcc
Improve the AutoLoad editor UX
- Convert the default AutoLoad name to PascalCase when selecting a file.
- Disable the "Add" button if the path is empty or the name is invalid.
- Prefix the automatically-chosen name with "Global" if it would
  conflict with a built-in class.
- Replace the FileList icon with the Load icon as it better represents
  the action.
2020-01-31 11:51:21 +01:00
Rémi Verschelde
1361fa71c4
Merge pull request #33047 from silvanocerza/settings-search
Improved search in settings dialogs
2020-01-31 11:45:37 +01:00
Rémi Verschelde
d75c3d7f49
Merge pull request #33970 from Calinou/improve-video-ram-debugger-ux
Improve the Video RAM debugger UX
2020-01-31 11:38:52 +01:00
Rémi Verschelde
ab2f91bdfb
Merge pull request #35502 from Calinou/profiler-csv-save-anywhere
Allow saving anywhere when exporting CSV measures from the profiler
2020-01-31 11:19:29 +01:00
Rémi Verschelde
7e55472655
Merge pull request #35500 from Calinou/profiler-display-milliseconds
Display times as milliseconds in the profiler and performance monitors
2020-01-31 11:19:03 +01:00
Rémi Verschelde
3b80f03c92
Merge pull request #35332 from Calinou/improve-batch-rename-dialog
Improve the batch rename dialog
2020-01-31 10:48:39 +01:00
Rémi Verschelde
43f84445ba
Merge pull request #35340 from Calinou/optimize-editor-icon-generation
Optimize the editor icon generation
2020-01-31 10:15:01 +01:00
Rémi Verschelde
8f9e1858dd
Merge pull request #34939 from YeldhamDev/scriptdiag_valid_specific
Make ScriptCreateDialog's script valid message a bit more clearer
2020-01-31 10:05:01 +01:00
Rémi Verschelde
67c3ce35bd
Merge pull request #33639 from YeldhamDev/replaced_label_location
Make the replaced results appear in the matches counter
2020-01-31 10:04:27 +01:00
Haoyu Qiu
d1b1edba84 Adds pan and zoom gestures to TextureRegion editor 2020-01-30 11:39:13 +08:00
Hugo Locurcio
fa2fda3244
Use the editor background color for the profiler graph
This leads to a better appearance compared to using pure black.
2020-01-30 03:09:00 +01:00
Michael Alexsander
0faadcae8f Clip warning text in the remote dock 2020-01-29 12:52:07 -03:00
Haoyu Qiu
ca537dea76 Fixes invalid read when using fill tool in empty tilemap 2020-01-27 20:39:49 +08:00
Rémi Verschelde
f76009bbcf i18n: Sync translations with Weblate 2020-01-27 08:11:37 +01:00
Hugo Locurcio
ad49425bd8
Don't show an Online Tutorials section if the class has no tutorials 2020-01-27 01:01:11 +01:00
Rémi Verschelde
4cee1cda5e
Merge pull request #35589 from akien-mga/doc-drop-category-property
doc: Drop unused 'category' property from header
2020-01-26 16:34:13 +01:00
Rémi Verschelde
09ced94dd4 doc: Do not expose Variant::NIL as a type in the class reference
Fix signals Variant arguments incorrectly listed as Nil.

Fixes #12520.
2020-01-26 16:08:11 +01:00
Rémi Verschelde
2d20fc39aa doc: Drop unused 'category' property from header
We already removed it from the online docs with #35132.

Currently it can only be "Built-In Types" (Variant types) or "Core"
(everything else), which is of limited use.

We might also want to consider dropping it from `ClassDB` altogether
in Godot 4.0.
2020-01-26 16:02:39 +01:00
Rémi Verschelde
98e5134059
Merge pull request #35526 from nekomatata/inspector-update-rename-node
Fixed Inspector update when a node is renamed
2020-01-24 21:52:12 +01:00
PouleyKetchoupp
9c4a6cf745 Fixed Inspector update when a node is renamed
Whenever any node is renamed, EditorNode::_edit_current() is called and it resets plugins used for current edited properties. This change forces the inspector to update even though the same object is edited, to make sure all plugins are restored properly from unfolded properties/resources/etc.

Fixes #32832
2020-01-24 18:12:05 +01:00
Rémi Verschelde
4dce3427ef
Merge pull request #35519 from yamgent/wrong-guideline-value
Fix wrong guideline values shown during dragging
2020-01-24 18:10:53 +01:00
Tan Wang Leng
ee2f406c73 Fix wrong guideline values shown during dragging
Suppose that the user wants to use some guidelines in 2D mode. The
user has enabled "Use Pixel Snap", and configured the "Grid Step" to
1px.

On some zoom levels, when dragging the guidelines step by step, some
offsets shows the wrong value. The offsets that are wrong vary - it is
affected by the zoom level, so some zoom levels do not display this
problem.

For example, a user may see this while dragging the guideline:

0px   1px   1px   3px   4px   5px   5px   7px   8px

whereby 2px and 6px are missing.

This is due to a floating-point error. The values are printed as
(truncated) integers, but they are actually decimals, so they were
actually 1.9999 and 5.9999 for the missing cases.

Let's fix that by rounding up the values before printing them to get rid
of the errors.

This fixes #35010.
2020-01-24 23:52:43 +08:00
Hugo Locurcio
a002b93d86
Add explanations for errors related to Vector/Quat normalization 2020-01-24 14:19:23 +01:00
Hugo Locurcio
81f33df84b
Allow saving anywhere when exporting CSV measures from the profiler
Previously, the CSV file could only be saved in `res://`. Since this is
an editor tool, it makes sense to allow saving anywhere on
the filesystem.
2020-01-24 12:18:26 +01:00
Hugo Locurcio
f1d9dbfb08
Display times as milliseconds in the profiler and performance monitors
Small values are easier to read as milliseconds compared to seconds.
2020-01-24 12:07:38 +01:00
Haoyu Qiu
0ca102d568 Fixes leak in Animation Track editor 2020-01-24 11:17:56 +08:00
Rémi Verschelde
8a7a216be5 i18n: Sync translations with Weblate 2020-01-23 23:19:54 +01:00
Haoyu Qiu
b420618c46 Fixes scrollbar positions on HiDPI display
* TextureRegion editor
* Ploygon2D UV editor
2020-01-23 08:55:52 +08:00
Rémi Verschelde
b255744e0f
Merge pull request #35449 from bojidar-bg/35439-scenetree-settings
Add settings from SceneTree in the documentation
2020-01-22 22:02:47 +01:00
Rémi Verschelde
37897dba80
Merge pull request #35406 from lawnjelly/ortho-shadow
Replace CameraMatrix::get_viewport_size with get_viewport_half_extents, shadow culling with ortho camera and other affected issues
2020-01-22 22:02:09 +01:00
Bojidar Marinov
b4770c0a27
Add settings from SceneTree in the documentation
Fixes #35439
2020-01-22 22:37:56 +02:00
Rémi Verschelde
91b0be18dc
Merge pull request #35421 from williamd1k0/improve-top-animation-menu
Use an icon in the top Animation Key menu
2020-01-22 21:21:15 +01:00