Rémi Verschelde
78074fed8d
Merge pull request #36085 from YeldhamDev/rip_animationtreeplayer_press_f
...
Remove AnimationTreePlayer node
2020-02-10 21:12:10 +01:00
Michael Alexsander
021fdb1b58
Remove AnimationTreePlayer node
2020-02-10 16:25:50 -03:00
Gilles Roudière
b66d45d986
Fixes a crash in the 2D editor
2020-02-10 18:27:13 +01:00
Yuri Sizov
8c80b602ac
Add a button to quickly repeat last search in files
2020-02-10 18:41:23 +03:00
Andrea Catania
e6be3f68da
- Integrated NavigationServer and Navigation2DServer.
...
- Added Navigation Agents and Obstacles.
- Integrated Collision Avoidance.
This work has been kindly sponsored by IMVU.
2020-02-10 14:38:52 +01:00
Rémi Verschelde
8cd5102c65
Merge pull request #35704 from KoBeWi/free_the_nodes
...
Include locked nodes on selection list
2020-02-10 14:29:21 +01:00
Tomasz Chabora
de77bda605
Include locked nodes on selection list
2020-02-10 13:59:24 +01:00
Rémi Verschelde
74a12ad95c
Merge pull request #36070 from RandomShaper/imvu/robust_fs_scan
...
Make file system scan more robust
2020-02-10 11:39:28 +01:00
Rémi Verschelde
50e940129a
Merge pull request #33815 from Calinou/assetlib-focus-search-shortcut
...
Make Ctrl+F focus the editor asset library's search field
2020-02-10 11:34:47 +01:00
Rémi Verschelde
4ee8c5ad1f
Merge pull request #33903 from gururise/anim_length_edit
...
change step size of anim length EditSpinSlider to match min anim length
2020-02-10 11:30:57 +01:00
Rémi Verschelde
01d487c4f5
Merge pull request #34027 from Calinou/tweak-project-manager-renderer-selection
...
Improve the renderer selection display in the project manager
2020-02-10 11:28:32 +01:00
Rémi Verschelde
1ceba5a653
Merge pull request #35260 from Calinou/project-manager-enter-open-first
...
Select the first project when searching in the project manager
2020-02-10 11:16:47 +01:00
Rémi Verschelde
ed51c55625
Merge pull request #36071 from RandomShaper/imvu/ignore_hidden_find
...
Ignore hidden files and directories in find in files
2020-02-10 11:05:54 +01:00
Rémi Verschelde
37432587f9
Merge pull request #35787 from Calinou/editor-expose-create-single-convex-shape
...
Re-add a way to generate a single convex shape from the editor
2020-02-10 10:49:05 +01:00
Rémi Verschelde
6c1f428b32
Merge pull request #35819 from Calinou/improve-inputmap-editor-icons
...
Improve icons in the Input Map editor
2020-02-10 10:46:37 +01:00
Rémi Verschelde
b7f844a2e5
Merge pull request #36043 from timothyqiu/packed-scene-resource
...
Fixes broken scene created via New Resource
2020-02-10 10:37:58 +01:00
Rémi Verschelde
0b9f0cd412
Merge pull request #36054 from Calinou/rebind-tilemap-editor-select-pick-tile
...
Change the Pick Tile and Select default shortcuts in the TileMap editor
2020-02-10 10:36:43 +01:00
Rémi Verschelde
0e98841d60
Merge pull request #36061 from Calinou/tweak-changes-may-be-lost-color
...
Tweak the "Changes may be lost!" text color to match the icon's color
2020-02-10 10:36:21 +01:00
Rémi Verschelde
354a94e8a8
Merge pull request #36063 from Calinou/remove-unused-icons
...
Remove unused GodotDocs and ParticleAttractor2D editor icons
2020-02-10 10:35:59 +01:00
Pedro J. Estébanez
3017bdb7ce
Make file system scan more robust
...
Previously, a change was missed if it happened while the scan was in progress and already past the affected location.
Also:
- Consider the scan changes thread on termination, in addition to the full scan one
- Add FS-reported hidden to the check for hidden by the editor file system
2020-02-10 09:32:17 +01:00
Pedro J. Estébanez
aeff876868
Ignore hidden files and directories in find in files
2020-02-10 09:32:15 +01:00
Haoyu Qiu
dfe9825e00
Fixes range hint for default_float_step
2020-02-10 15:39:29 +08:00
Aaron Franke
ef9b4ee2e2
Fix 2D CollisionShape controls pointing the wrong way
...
They now point down, matching Godot's 2D coordinate system.
2020-02-09 17:37:30 -05:00
Hugo Locurcio
f81e50a354
Remove unused GodotDocs and ParticleAttractor2D editor icons
2020-02-09 23:23:17 +01:00
Hugo Locurcio
a0c35b4d0d
Tweak the "Changes may be lost!" text color to match the icon's color
2020-02-09 22:24:02 +01:00
Rémi Verschelde
8cb2de5243
Merge pull request #33451 from MCrafterzz/movementHandle
...
Added movement handles to 2D
2020-02-09 22:19:32 +01:00
Rémi Verschelde
9f9d6c6cc1
Merge pull request #35656 from ericrybick/35460-fix2
...
Use a new approach to fix bone pose override not being reset when IK animation is stopped.
2020-02-09 22:14:31 +01:00
Eric Rybicki
bb0358dd8d
Use a new approach to fix bone pose override not being reset when IK animation is stopped.
...
This reverts PR #35460 & commit 551c37167b
.
2020-02-09 19:50:13 +01:00
Hugo Locurcio
88213b54ba
Change the Pick Tile and Select default shortcuts in the TileMap editor
...
The new default keys were chosen to match common graphics editing
software. A modifier is no longer required to use the Select tool,
making it faster to use.
This closes #34170 .
2020-02-09 17:46:01 +01:00
Rémi Verschelde
e420b85ba5
Merge pull request #35840 from timothyqiu/groups-match
...
Fixes add group in Group Editor dialog
2020-02-09 12:53:37 +01:00
Rémi Verschelde
23531207a5
Merge pull request #36008 from AndreaCatania/physical_bone_impr
...
Skeleton animates physical bones
2020-02-09 11:15:43 +01:00
Andrea Catania
557d38cad3
Fixed Skeleton Physical Bone generation
2020-02-09 09:41:18 +01:00
Haoyu Qiu
9cff286de1
Fixes broken scene created via New Resource
2020-02-09 14:21:10 +08:00
Dominik 'squ@ll' Jasiński
1adcd57377
Allow using Enter key for replacing text in code editors (also Shift + Enter works backwards)
...
Fixes issue #31762
2020-02-08 21:46:04 +01:00
Hugo Locurcio
3e95b79b65
Update the zoom percentage when using Frame Selection in the 2D editor
...
This closes #36019 .
2020-02-08 18:29:28 +01:00
Rémi Verschelde
6b42d83ff1
Merge pull request #35950 from Chaosus/vs_scalar_uniform_range
...
Implemented hint_range for VisualShaderNodeScalarUniform
2020-02-07 20:45:40 +01:00
Yuri Roubinsky
22ad83edae
Implemented hint_range for VisualShaderNodeScalarUniform
2020-02-07 17:04:24 +03:00
Rémi Verschelde
f3726ee994
Use modules_enabled.gen.h to improve inter dependency checks
...
- Fix build with gdscript module disabled. Fixes #31011 .
- Remove unused `gdscript` compile option.
- Fix build with regex module disabled.
- Fix ImageLoaderSVG to forward declare thirdparty structs.
2020-02-07 11:50:40 +01:00
MCrafterzz
812fea7ccd
Changed transformation handles y arrow to match positive y
2020-02-07 09:07:46 +01:00
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
Hugo Locurcio
c695751654
Improve icons in the Input Map editor
...
- Add a disabled icon for built-in inputs with a tooltip explaining
why they can't be removed. This also makes the Add button's horizontal
position consistent between built-in and custom inputs.
- Fade out input event icons slightly to make them easier to distinguish
from action icons.
- Remove unnecessary punctuation from mouse button and joypad event
descriptions.
2020-02-05 18:22:47 +01: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
Haoyu Qiu
421ea09195
Fixes add group in Group Editor dialog
...
Before this fix, new group can't be created if any existing group starts
with the new name.
2020-02-02 11:11:20 +08: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
90af009f2e
Re-add a way to generate a single convex shape from the editor
...
It was removed after the implementation of VHACD. Generating a single
shape can lead to better performance, so it may still be desired.
This also adds tooltips for several options in the Mesh menu.
This closes #35692 .
2020-01-31 16:42:02 +01:00
Hugo Locurcio
2d529e6d63
Remove the 3D camera gizmo icon
...
The gizmo icon obstructed the line-based camera gizmo, which made it
difficult to see the actual camera orientation.
This also removes the unused SpatialStreamPlayer gizmo icon.
This closes https://github.com/godotengine/godot-proposals/issues/425 .
2020-01-31 15:58:57 +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
William Tumeo
cb3fcba99f
Use an icon in the top Animation Key menu
2020-01-22 17:06:40 -03:00
lawnjelly
eaf8e5ce52
Change CameraMatrix::get_viewport_size to get_viewport_half_extents
...
Fixes #26637 .
Fixes #19900 .
The viewport_size returned by get_viewport_size was previously incorrect, being half the correct value. The function is renamed to get_viewport_half_extents, and now returns a Vector2.
Code which called this function has also been modified accordingly.
This PR also fixes shadow culling when using ortho cameras, because the correct input for CameraMatrix::set_orthogonal should be the full HEIGHT from get_viewport_half_extents, and not half the width.
It also fixes state.ubo_data.viewport_size in rasterizer_scene_gles3.cpp to be the width and the height of the viewport in pixels as stated in the documentation, rather than the current value which is half the viewport extents in worldspace, presumed to be a bug.
2020-01-22 18:22:00 +00:00
Bojidar Marinov
387ee7d763
Get real default values for project settings in documentation
...
Also, ignore custom project settings and values for input/ entries
Fixes #34154
2020-01-22 15:57:10 +02:00
Hugo Locurcio
56aae0e8bc
Use a loading placeholder for project icons in the project manager
...
Now that projects are loaded asynchronously, some projects in the
list may be displayed before their icon is done loading. This is
especially common on slower hardware.
In such cases, this makes the project manager display a loading
placeholder instead of the default project icon.
2020-01-21 22:56:19 +01:00
Rémi Verschelde
4faaf6089a
Remove unused #if 0'ed code
2020-01-21 21:41:54 +01:00
Rémi Verschelde
d4ac0ca153
Merge pull request #35393 from YeldhamDev/plugin_script_syntax
...
Make script made via plugin creation obey syntax settings
2020-01-21 13:21:01 +01:00
Rémi Verschelde
423f15262f
Merge pull request #35399 from ericrybick/35367-signals-dock-size-jumps-when-selecting-nodes
...
Clip text in NodeDock toolbuttons to prevent dock size changes
2020-01-21 11:18:35 +01:00
Eric Rybicki
371b5a450a
Clip text in NodeDock toolbuttons to prevent dock size changes
...
Fixes #35367
2020-01-21 10:23:09 +01:00
Rémi Verschelde
4bc98c105d
Merge pull request #35394 from ericrybick/fix-assetlib-thumbnail-overlay-
...
Fix asset library video play overlay not being centered on the thumbnail
2020-01-21 08:20:35 +01:00
Eric Rybicki
99346e9654
Fix asset library video play overlay not being centered on the thumbnail
2020-01-21 08:04:32 +01:00
Michael Alexsander
3a0dc52127
Make script made via plugin creation obey syntax settings
2020-01-21 02:05:56 -03:00
Haoyu Qiu
3042b4f4cb
Fixes leak in Find in Files utility
2020-01-21 08:47:59 +08:00
Rémi Verschelde
709665b15d
Merge pull request #35379 from dankan1890/quick_fix
...
TextureRegionEditor: Corrected typo
2020-01-20 21:34:02 +01:00
dankan1890
a2170dcd40
TextureRegionEditor: Corrected typo
2020-01-20 20:58:42 +01:00
Michael Alexsander
324fe76afd
Clip text in EditorPath button to avoid dock size changes
2020-01-20 14:25:27 -03:00
Rémi Verschelde
c3fd1012de
Merge pull request #35351 from ericrybick/32342-Resize-snapping-lines-bug
...
Fix editor drawing snapping lines for wrong edge/corner when resizing elements with smart snapping enabled
2020-01-20 12:57:44 +01:00
Eric Rybicki
b91b26d073
Fix editor drawing snapping lines for wrong edge/corner when resizing elements with smart snapping enabled
...
fixes #32342
2020-01-20 08:03:20 +01:00
Haoyu Qiu
ce9453ecf4
Prevent negative zero shown in SpotLight gizmo
2020-01-20 09:08:18 +08:00
Hugo Locurcio
9e3393a624
Optimize the editor icon generation
...
Icons are no longer upsampled when using an integer editor scale.
This makes some icons slightly less crisp, but the icons themselves
can be adjusted to mitigate this. When using a non-integer editor
scale setting, upsampling is kept as it improves crispness in a
far more visible manner.
When upsampling is disabled, this speeds up the theme generation
by about 100 ms on average, making the project manager and editor
start slightly faster. This also speeds up switching between themes.
2020-01-20 00:31:04 +01:00
Rémi Verschelde
7f7ae0712f
i18n: Sync translations with Weblate
2020-01-19 23:19:29 +01:00
Hugo Locurcio
ff135065f4
Improve the batch rename dialog
...
- Use the editor-defined error, warning and success colors for
preview texts.
- Make the "Regular Expressions" option into a CheckButton
(as it does something as soon as it's toggled) and move it out
of the Advanced Options submenu.
- Make it clearer that the error message originates from an invalid
regular expression.
- Clarify what the number means in the regex error message.
- Tweak some strings' casing for consistency.
2020-01-19 22:37:56 +01:00
Hugo Locurcio
d72f5e0938
Only create the editor theme once
...
This prevents the editor theme from being created twice.
This speeds up the project editor and editor startup
significantly; startup is now 1.3 times faster on average
(tested on a debug build). RAM usage was also lowered by 7.5 MB
on average.
This partially addresses #35321 .
2020-01-19 21:51:21 +01:00
Hugo Locurcio
8f838f33b7
Improve the Video RAM debugger UX
...
- Refresh tha tab automatically when switching to it.
- Disable the Refresh button if no project is currently being debugged.
- Scale the column widths on hiDPI displays.
- Rename the tab from "Video Mem" to "Video RAM" for consistency.
2020-01-19 19:03:53 +01:00
Rémi Verschelde
e8dc581bfc
Merge pull request #35303 from timothyqiu/hidpi-anitreeplayer
...
Fixes AnimationTreePlayer editor UI on HiDPI
2020-01-19 10:21:20 +01:00
Rémi Verschelde
d7072e9cd4
Merge pull request #35273 from dankan1890/quick_fix
...
AssetLibrary layout fix
2020-01-19 10:13:31 +01:00
Rémi Verschelde
7522aa80c2
Merge pull request #35295 from N0hbdy/animation-editor-line-edit-fix
...
Fix AnimationTree Editor by using CONNECT_DEFERRED on LineEdit
2020-01-19 09:32:00 +01:00
Rémi Verschelde
b2e2ce1643
Merge pull request #35297 from Calinou/2d-zoom-reset-clamp-editor-scale
...
Clamp the editor scale to 1 when resetting zoom in the 2D editor
2020-01-19 09:30:12 +01:00
Rémi Verschelde
78c2d41ffc
Merge pull request #35304 from raphael10241024/fix_audiobus_editor
...
fix audio buses layout editor save
2020-01-19 09:13:05 +01:00
RaphaelHunter
4b70985a1a
fix audio buses editor not save, close #26683
2020-01-19 10:56:00 +08:00
Haoyu Qiu
2db685da09
Fixes AnimationTreePlayer editor on HiDPI
...
* The minimum editor size
* The position of buttons and status text
2020-01-19 10:20:53 +08:00
Hugo Locurcio
c9aca9ef81
Clamp the editor scale to 1 when resetting zoom in the 2D editor
...
This closes #35294 .
2020-01-18 22:26:21 +01:00
N0hbdy
3fffb1c031
Fix AnimationTree Editor by using CONNECT_DEFERRED on LineEdit
...
Not having this causes the LineEdit to be deleted while still processing
signals, which can cause a crash during focus changes.
Fixes 35293
2020-01-18 12:12:13 -08:00
dankan1890
29daba5b0c
AssetLibrary when the download size is unknown:
...
hidden progress bar
added in the description the downloaded bytes
Fixes #35267
2020-01-18 21:07:51 +01:00
Yuri Roubinsky
41acb1f6ba
Fix minimap updating in shader tab
2020-01-18 12:31:33 +03:00
Hugo Locurcio
2897918426
Select the first project when searching in the project manager
...
This makes the project manager usable for opening existing projects
without ever touching the mouse. Just enter text in the autofocused
search box and press Enter.
This partially addresses #8149 .
2020-01-18 00:58:52 +01:00
Hugo Locurcio
8bce0b6176
Mark alternate editor display modes as disabled in the GLES2 renderer
...
This partially addresses #27018 .
2020-01-17 16:06:47 +01:00
Lakshay Angrish
1d9e19c7fb
show parametric setters and getters in editor help
2020-01-17 15:10:59 +05:30
Rémi Verschelde
045a5ce14a
i18n: Sync translation template with current source
2020-01-16 23:47:18 +01:00
Rémi Verschelde
a0f716763b
i18n: Sync translations with Weblate
2020-01-16 23:37:56 +01:00
Rémi Verschelde
05e042b06f
Merge pull request #34879 from Phischermen/canvas-item-editor-local-space-mode
...
Fix issue regarding rotating Canvas Items in editor
2020-01-16 23:10:41 +01:00
Haoyu Qiu
92b36d4706
Adds NULL check before using image loader
2020-01-16 21:49:23 +08:00
Rémi Verschelde
bc34794840
Merge pull request #34091 from andrycodestuffs/master
...
Fixed unknown ASCII symbols rendered instead of tabs in bookmarks list
2020-01-16 14:11:28 +01:00
andrycodestuffs
d0b3cb89f7
Fixed unknown symbol drawn instead of tabs in breakpoints/bookmarks lists
...
Tab characters were not rendered properly in the breakpoints and
bookmarks lists of the script editor if the bookmarked line was a
comment, resulting in unknown ASCII symbols “�”.
Fixes #34046 .
Also changed formatting a bit to enclose the code in backticks (like in
Markdown) instead of quotes.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-01-16 13:50:30 +01:00
asynts
e564b4fd07
Refactor (and fix) how the connect button is disabled.
...
It should not be possible to click the "Connect" button unless
- a node is selected, and
- that node is valid in the current mode.
The modes are the default and advanced modes which allow connecting to scripts
and nodes respectively.
2020-01-16 12:35:41 +01:00
Rémi Verschelde
fc2550c4c8
Merge pull request #35123 from asynts/asynts.crash-on-double-click
...
Prevent crash described in #34555 .
2020-01-16 12:32:52 +01:00
Aaron Franke
5e1dad3b28
Use int64_t for EditorPropertyInteger and warn when out of double range
2020-01-15 23:39:49 -05:00
Rémi Verschelde
f2d45676c9
Merge pull request #35165 from groud/fix_memleak_filesystemdock
...
Fixes a memory leak in FileSystemDock
2020-01-15 22:58:57 +01:00
Hugo Locurcio
1339a5c1cb
Add an icon for OGG samples
...
The icon is the same as WAV samples, as both formats are accepted
in AudioStreamPlayer.
This closes #35163 .
2020-01-15 22:32:08 +01:00
Gilles Roudière
76d87e6616
Fixes a memory leak in FileSystemDock
...
Co-authored-by: Rafał Mikrut <mikrutrafal54@gmail.com>
2020-01-15 21:45:13 +01:00
Haoyu Qiu
43ad6e8c96
Fixes AssetLib crash when JPG module is disabled
...
JPG module is optional, so check it's existence before using.
2020-01-15 22:16:12 +08:00
asynts
181e74855e
Don't close the connection dialog when the validation failed.
...
Currently the connection dialog is closed when
1. no method name is specified, or
2. no script is attached and if the method name isn't a buildin.
That's really annoying.
2020-01-15 10:33:50 +01:00
Rémi Verschelde
40f0649e5b
Fix typos with codespell
...
Using codespell 1.16.0.
See ab3bccdb78
for procedure.
2020-01-15 00:49:52 +01:00
Rémi Verschelde
8d60f5a349
Merge pull request #35132 from Calinou/doc-description-below-brief
...
doc: Move the class description to be just below the brief description
2020-01-15 00:49:31 +01:00
Hugo Locurcio
3c8abbc4bf
doc: Move the class description to be just below the brief description
...
- Drop the "Brief description" header as it became redundant
with this change.
- Fix a bug in the editor help where an extraneous newline was added
after the header if the class isn't inherited by any others.
- Remove the Category line in the rST markup as it's not useful
for API users.
2020-01-15 00:05:34 +01:00
Michael Alexsander
34bf81fa7c
Cleanup unnecessary code from before the scrollbar overlapping fixes
2020-01-14 18:19:12 -03:00
Rémi Verschelde
8f103b1b69
Merge pull request #34801 from Calinou/add-3d-viewport-crosshair
...
Add a crosshair to the 3D viewport
2020-01-14 21:02:35 +01:00
asynts
71b4b180ba
Prevent crash described in #34555 .
...
Normally it wouldn't be possible to click on the "Connect" button if no node
is selected, because the button would be disabled.
However, double clicking on a node is also hooked up to the same signal
and double clicking is possible even if the "Connect" button is disabled.
This caused a crash described in #34555 .
2020-01-14 17:02:18 +01:00
Phischermen
becd1fd1d8
Fix issue regarding rotation
...
Canvas items will now rotate correctly no matter what their global scale happens to be.
2020-01-14 07:26:34 -08:00
Rémi Verschelde
ea4c88f38a
Merge pull request #35116 from YeldhamDev/more_scrollbar_tweaks
...
Fix more scrollbar anchorings
2020-01-14 13:55:34 +01:00
Michael Alexsander
e69593842e
Fix more scrollbar anchorings
2020-01-14 08:25:55 -03:00
Rémi Verschelde
a565c93aeb
Export: Properly disable resource preview thread
...
Fixes #26857 .
Fixes #34433 .
Fixes #34826 .
2020-01-14 11:34:02 +01:00
Rémi Verschelde
dbbfade584
Merge pull request #35082 from akien-mga/dont-count-yer-chicken
...
EditorNode: Delay addon init to NOTIFICATION_READY
2020-01-14 08:26:08 +01:00
Michael Alexsander
712cd8a97e
Fix more instances of overlapping scrollbars
2020-01-13 22:49:17 -03:00
Hugo Locurcio
2b9f34b867
Add a crosshair to the 3D viewport
...
The crosshair makes freelook navigation a bit easier, while making it
clearer that it's possible to select nodes by clicking while in
freelook mode.
The crosshair is only displayed while in freelook mode.
It uses an icon designed to be visible on any background.
2020-01-13 22:30:34 +01:00
Rémi Verschelde
017b7de2df
EditorNode: Delay addon init to NOTIFICATION_READY
...
Fixes #25635 .
2020-01-13 15:02:11 +01:00
Rémi Verschelde
e2bebfbd4c
Use MOUSE_FILTER_PASS for all containers (but PanelContainer)
...
Containers are meant to forward mouse input to their the Controls
they contain.
PanelContainer has a visible Panel stylebox, so it still defaults
to STOP.
Fixes #34933 .
2020-01-13 14:49:01 +01:00
Rémi Verschelde
4a95186b4b
Animation editor: Set resource name when duplicating
...
Fixes #25156 .
2020-01-13 13:22:06 +01:00
Hugo Locurcio
929dfe1bcc
Clamp the editor scale to 1 for 2D zoom operations
...
Some people set the editor scale below 1 to fit more content on
screen, even if their display doesn't have a particularly low DPI.
This closes #35059 .
2020-01-13 12:16:27 +01:00
Rémi Verschelde
7a15569c6f
Merge pull request #35050 from Calinou/enlarge-item-list-editor
...
Increase the size of the item list editor popup
2020-01-13 09:14:02 +01:00
Haoyu Qiu
047d66cc6f
Fixes the New Window option in macOS dock menu
2020-01-13 08:58:12 +08:00
Hugo Locurcio
2f56146242
Increase the size of the item list editor popup
...
This makes it easier to edit large amounts of items.
This partially addresses
https://github.com/godotengine/godot-proposals/issues/368 .
2020-01-12 18:19:39 +01:00
Rémi Verschelde
269eb5f06c
i18n: Sync translation template with current source
...
Prevent parsing 'thirdparty' sources, there are invalid UTF-8 files
among Bullet sources.
2020-01-12 14:42:34 +01:00
Rémi Verschelde
48d7f7a70f
i18n: Sync translations with Weblate
2020-01-12 14:36:21 +01:00
Rémi Verschelde
26bb08f8b3
Merge pull request #35037 from timothyqiu/plugin-min-height
...
Fixes min size of various editor plugins on HiDPI
2020-01-12 13:39:34 +01:00
Rémi Verschelde
ccf6f33813
Merge pull request #35006 from BastiaanOlij/offset_mesh_obj
...
Add option to apply an offset to obj mesh import
2020-01-12 09:09:56 +01:00
Haoyu Qiu
65e2230f6e
Fixes min size of various editor plugins on HiDPI
...
* AnimationTree
* AudioStream
* ResourcePreloader
* ShaderEditor
* VisualShaderEditor
2020-01-12 15:24:15 +08:00
Haoyu Qiu
9c229cb035
Fixes minimap width on HiDPI monitor
2020-01-11 19:36:20 +08:00
Bastiaan Olij
ad6d06dc21
Add option to apply an offset to obj mesh import
2020-01-11 19:27:00 +11:00
Michael Alexsander
14e36c72b0
Make ScriptCreateDialog's script valid message a bit more clearer
2020-01-10 20:14:45 -03:00
Rémi Verschelde
018b3fa159
Merge pull request #34934 from volzhs/copy-params-except-script
...
Don't copy script with copy params
2020-01-10 23:57:23 +01:00
K. S. Ernest (iFire) Lee
0172a7f932
Use cycle and loop hint flags in glTF2.
2020-01-10 08:02:16 -08:00
Rémi Verschelde
65446a1303
Merge pull request #34981 from timothyqiu/trim-group-name
...
Trims user provided group name
2020-01-10 09:37:39 +01:00
Rémi Verschelde
4bad292f20
Merge pull request #34969 from volzhs/anim-bezier
...
Fix inserting bezier curve in Animation editor
2020-01-10 09:36:45 +01:00
Haoyu Qiu
715c0f9dfd
Trims user provided group name
2020-01-10 16:08:47 +08:00
Rémi Verschelde
4b83bbd463
Merge pull request #34937 from YeldhamDev/scriptdiag_disable_load
...
Add option to disable loading scripts in ScriptCreateDialog
2020-01-10 08:18:51 +01:00
Michael Alexsander
34f1dbaf28
Fix TileSet editor's workspace size sometimes not changing correctly on region change
2020-01-10 00:57:49 -03:00
volzhs
3bcedd02b2
Fix inserting bezier curve in Animation editor
2020-01-10 06:22:10 +09:00
Michael Alexsander
8708d44a50
Add option to disable loading scripts in ScriptCreateDialog
2020-01-09 13:09:23 -03:00
Rémi Verschelde
28655e16d6
Merge pull request #33426 from PucklaMotzer09/ignore_disabled_recent
...
Ignore the classes in the recent and favorite panels of the create dialog if they are disabled
2020-01-09 08:55:37 +01:00
Rémi Verschelde
1d304d87eb
Merge pull request #34940 from volzhs/update-main-scene-file
...
Update file list in split view when setting main scene
2020-01-09 08:21:26 +01:00
PucklaMotzer09
b0e4205069
Add ignoring of disabled recent and favorite classes in create
2020-01-09 08:17:06 +01:00
Haoyu Qiu
93aa3a0126
Fixes TextureRegion editor drag handle for HiDPI
...
Before this fix, it's easy to miss the drag handle on a HiDPI monitor.
2020-01-09 13:45:53 +08:00
volzhs
9495229315
Update file list in split view when setting main scene
2020-01-09 09:51:31 +09:00
volzhs
f61cd51643
Don't copy script with copy params
2020-01-09 06:34:47 +09:00
Rémi Verschelde
656cc83aa0
Export: Fix leak or orphaned Controls after #34911
...
They need to be hidden but still in tree.
2020-01-08 17:45:10 +01:00
Rémi Verschelde
7a941b11d2
Merge pull request #34898 from veryprofessionaldodo/33420
...
Recent Nodes now respect Editor Profiles #33420
2020-01-08 16:06:47 +01:00
Rémi Verschelde
5e4d465356
Merge pull request #34913 from akien-mga/main-add-export-pack
...
Export: Add dedicated --export-pack option to export data pack
2020-01-08 15:43:44 +01:00
veryprofessionaldodo
d88f620c52
Recent Nodes now respect Editor Profiles
2020-01-08 14:23:36 +00:00
Rémi Verschelde
7c29ce4375
Export: Add dedicated --export-pack option to export data pack
...
The previous behavior relying on the provided extension was problematic
on macOS since .zip is the main extension used for the full project
export (binary + data pack).
We add a dedicated `--export-pack` command line option to define when
only the data pack should be exported. Its extension will still be
inferred from the path.
Fixes #23073 .
2020-01-08 14:57:46 +01:00
Rémi Verschelde
ac7dc03ae4
Export: Hide Patches tab until actually implemented
...
This seems to have been left dangling during 3.0 development and was
never finished.
Hiding for now until it can be completed, otherwise we'll have to drop
it.
See #22394 .
2020-01-08 13:29:51 +01:00
Rémi Verschelde
41c8ec991f
Merge pull request #34802 from xelivous/power-of-two-is-good
...
Change the 2D editor's snap to 8x8 by default
2020-01-08 08:51:58 +01:00
Rémi Verschelde
6fa716c67b
Merge pull request #34887 from akien-mga/cli-export-usability
...
Export: Improve usability of command line interface
2020-01-08 08:19:39 +01:00
Rémi Verschelde
a28e0b2849
Merge pull request #34905 from YeldhamDev/scriptdiag_minor_fix
...
Minor fixes for ScriptCreateDialog
2020-01-08 07:05:18 +01:00
Michael Alexsander
f9d11120f7
Minor fixes for ScriptCreateDialog
2020-01-08 02:02:34 -03:00
Michael Alexsander
8b5992f665
Make possible to edit the GraphEdit's selection rect colors
2020-01-07 23:20:48 -03:00
volzhs
a1ab8f8890
Show selected main scene in FileSystem split view
2020-01-08 02:19:54 +09:00
Rémi Verschelde
5011afcb6a
Export: Improve usability of command line interface
...
I'm barely scratching the surface of the changes needed to make the
--export command line interface easy to use, but this should already
improve things somewhat.
- Streamline `can_export()` templates check in all platforms, checking
first for the presence of official templates, then of any defined
custom template, and reporting on the absence of any.
Shouldn't change the actual return value much which is still true if
either release or debug is usable - we might want to change that
eventually and better validate against the requested target.
- Fix discrepancy between platforms using `custom_package/debug` and
`custom_template/debug` (resp. `release`).
All now use `custom_template`, which will break compatibility for
`export_presets.cfg` with earlier projects (but is easy to fix).
- Use `can_export()` when attempting a command line export and report
the same errors that would be shown in the editor.
- Improve error reporting after a failed export attempt, handling
missing template and invalid path more gracefully.
- Cleanup of unused stuff in EditorNode around the export workflow.
- Improve --export documentation in --help a bit.
Fixes #16949 (at least many of the misunderstandings listed there).
Fixes #18470 .
2020-01-07 14:25:56 +01:00