jpcerrone
71b8a9d274
Fix comments and indentation in .gdshaderinc files
...
Fixes #78205
The handling of comments and indentation in the shader editor
wasn't considering shader include files.
2023-07-07 11:18:30 -03:00
Rémi Verschelde
81c6694014
Merge pull request #78522 from MewPurPur/improve-tileset-labels
...
Improve string drawing in the tiledata editor
2023-07-07 16:03:02 +02:00
Rémi Verschelde
443820686c
Merge pull request #79112 from bitsawer/fix_preprocessor_keyword_colors
...
Make shader preprocessor keyword colors consistent
2023-07-07 08:36:13 +02:00
bitsawer
a5d6152949
Make shader preprocessor keyword colors consistent
2023-07-06 17:56:26 +03:00
Rindbee
fec731bf33
Make sure the shortcut key respects the context in TileSetAtlasSourceEditor
2023-07-02 06:40:14 +08:00
MineBill
c34d5627fb
Set the VoxelGIData path before saving, otherwise the ResourceSave will revert it to an empty String
2023-06-28 10:28:36 +03:00
Yadnesh Kulkarni
a8dde286ce
Fixed grid disappearance
2023-06-26 09:27:25 -04:00
Yuri Sizov
8cfbc6bda2
Revert "Remember only permanent bottom tabs"
...
This reverts commit 5dde57e958
.
2023-06-23 15:23:36 +02:00
Rémi Verschelde
9ab388c146
Merge pull request #78609 from KoBeWi/—GodotEngine
...
Unify window title format
2023-06-23 12:36:44 +02:00
kobewi
44bec97d5e
Unify window title format
2023-06-23 12:21:56 +02:00
kobewi
9a302e32c8
Speed up closing multiple scripts
2023-06-23 11:19:09 +02:00
kobewi
5dde57e958
Remember only permanent bottom tabs
2023-06-23 10:53:39 +02:00
Felipe Augusto Marques
26eb3db234
Added Image's load_svg_from_(buffer|string)
...
No core dependency to the svg module.
2023-06-23 00:43:43 -03:00
Gilles Roudière
bca1f91291
Fixes crash in TileSetAtlasSourceEditor
2023-06-22 15:03:53 +02:00
Alula
9676905aee
Add option to swap Alt+scroll zooming behavior in 2D editor
...
Update doc/classes/EditorSettings.xml
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-06-21 18:56:58 +02:00
MewPurPur
1649dcad0b
Improve string printing in the tiledata editor
2023-06-21 17:43:45 +02:00
Yuri Sizov
4fc045e9b5
Merge pull request #76152 from timothyqiu/tile-resize-clamp
...
Fix tile resizing towards atlas boundary
2023-06-21 11:19:24 +02:00
Rémi Verschelde
9e56f28d0e
Merge pull request #75345 from Rindbee/fix-wrong-description-in-EditorSettings
...
Fix wrong descriptions in EditorSettings
2023-06-21 10:18:09 +02:00
Yuri Sizov
38ae7b58d1
Merge pull request #78350 from ajreckof/you-know-when-you-want-to-search-this-member-you-don't-know-and-then-you-have-the-script-editor-all-over-the-place-now-it-should-not-happen-anymore-hopefully
...
Fix placement and style of the "Make Floating" button
2023-06-21 03:03:19 +02:00
Rindbee
19d77ea90d
Fix wrong descriptions in EditorSettings
...
Fix wrong descriptions about `editors/3d/grid_division_level_max`
and `editors/3d/grid_division_level_min`.
2023-06-21 07:16:30 +08:00
ajreckof
13e65da804
Fix wrong placement of the Make Floating Button.
2023-06-21 01:00:37 +02:00
Samuele Panzeri
4067907074
Fix insert key crash with no animation
2023-06-20 17:39:09 +02:00
Gilles Roudière
94b1bc0d68
Fix TileMap draw preview when switching CI editor tool
2023-06-20 12:12:01 +02:00
Rémi Verschelde
e4deaa2727
Merge pull request #76787 from RedworkDE/avoid-localvector-copy
...
Avoid making unnecessary copies of `LocalVector`
2023-06-20 00:01:55 +02:00
Haoyu Qiu
ac36776729
Fix tile resizing towards atlas boundary
2023-06-20 00:36:37 +08:00
Artyom Lunchenkov
613c060e0b
Add a line break to error messages in the script editor
...
Fixes #71002
2023-06-19 15:57:27 +02:00
Rémi Verschelde
cdfaf8a10f
Merge pull request #78418 from brno32/apply-texture-filter-2d-polygon-editor
...
Apply selected texture filter when editing UV
2023-06-19 13:28:36 +02:00
Alex Drozd
0c75d5d70c
apply selected texture filter when editing UV
2023-06-18 22:56:26 +02:00
Qiqi Wu
9321e9fa86
fix TexturePreview crash from an invalid image
2023-06-18 13:08:06 +08:00
clayjohn
36a005fafc
Add RENDERING_INFO parameters to GL Compatibility renderer
...
This also fixes RENDERING_INFO_TOTAL_PRIMITIVES_IN_FRAME for the RD renderers as it was incorrectly reporting vertex/index count at times
This also adds memory tracking to textures and buffers to catch memory leaks.
This also cleans up some memory leaks that the new system caught.
2023-06-16 09:10:00 +02:00
kleonc
77b8e0fcb7
Allow setting negative WorldBoundaryShape2D.distance through the editor
2023-06-14 14:54:00 +02:00
Rémi Verschelde
7aa530c4ca
Merge pull request #78171 from MewPurPur/fix-curve-editor-crash
...
Fix Curve Editor crash with null curve
2023-06-13 13:53:02 +02:00
Haoyu Qiu
8b5d5dc2c4
Fix crash when opening a TileSet with invalid tiles
2023-06-13 18:50:08 +08:00
MewPurPur
beae9b0bc1
Fix Curve Editor crash with null curve
2023-06-13 11:35:35 +02:00
Yuri Sizov
593d5ca29f
Merge pull request #77962 from KoBeWi/some_hand-holding_is_ok,_probably
...
Improve some tile editor hint labels
2023-06-12 18:23:23 +02:00
Rémi Verschelde
6306eb4047
Merge pull request #76372 from sygi/dont_propagate_lock_view
...
Store lock view rotation whether its on or off
2023-06-12 17:09:38 +02:00
kobewi
0a4d0506d1
Fix problems reloading MeshLibrary
2023-06-11 19:42:24 +02:00
Rémi Verschelde
b083c1dbf5
Merge pull request #78005 from Sauermann/fix-some-simplifications
...
Some code simplifications
2023-06-09 11:06:26 +02:00
Rémi Verschelde
577ab3c565
Merge pull request #75746 from ajreckof/order_autocomplete
...
Sort code autocompletion with rules
2023-06-08 18:14:31 +02:00
Markus Sauermann
5ddab1f363
Some code simplifications
...
AnimationNodeBlendSpace2DEditor:
- `!tree` is always false, because it is checked a few lines above
CurveEdit:
- grabbing != GRAB_NONE is redundant
GradientTexture2DEdit:
- grabbed != HANDLE_FROM is redundant
- grabbed != HANDLE_TO is redundant
Viewport:
- index is not used afterwards
- In these cases `gui.mouse_focus` is always valid. Move check to a DEV_ASSERT
- simplify `stopped` calculation
2023-06-08 16:15:22 +02:00
kobewi
0972e15df5
Improve some tile editor hint labels
2023-06-07 15:59:19 +02:00
kobewi
16ac217aa0
Draw materials in tile atlas view
2023-06-07 01:03:55 +02:00
Rémi Verschelde
46c4068821
Merge pull request #77170 from lawnjelly/scu_build_master
...
Add support for single compilation unit builds
2023-06-06 17:58:09 +02:00
lawnjelly
b69c8b4791
Single Compilation Unit build.
...
Adds support for simple SCU build (DEV_ENABLED only).
This speeds up compilation by compiling multiple cpp files within a single translation unit.
2023-06-06 15:36:51 +01:00
Rakka Rage
6dbae30000
Add tile_animation_mode option:
...
- to tile animation properties
- when "Default" each animation starts at time 0.
- when "Random Start Times" each animation starts at random time.
2023-06-06 09:31:18 -04:00
Rémi Verschelde
67c0467e04
Merge pull request #77860 from ajreckof/add-move-control-points-button-for-Path3D
...
Add move control points button to Path3D Editor.
2023-06-05 18:05:02 +02:00
ajreckof
7f4f219a24
Add move control points button to PAth3D Editor
2023-06-05 04:54:48 +02:00
ajreckof
05dd9c0f8b
Make panning the 3D view with trackpad goes the right way
2023-06-05 02:12:52 +02:00
Yuri Sizov
dc8a0c3cd1
Merge pull request #77674 from ProbablyWorks/77562-tilemap-center-view-button-offset-fix
...
Set the grow direction for the "Center View" button in the TileMap editor
2023-06-02 15:52:44 +02:00
ProbablyWorks
882ffdfaae
set the grow direction of the center view button after setting the anchors
2023-06-01 21:44:16 -04:00
Kongfa Waroros
aeb9b8381a
Add null checking when finding a lightmap baking path
2023-06-02 04:06:19 +07:00
Rémi Verschelde
42775ff75b
Merge pull request #77705 from MewPurPur/less-code-for-mouse-exit
...
Use NOTIFICATION_MOUSE_EXIT instead of a signal for a few editor plugins
2023-06-01 15:52:12 +02:00
Rémi Verschelde
0b5c5022f2
Merge pull request #77663 from RedworkDE/audiostream-preview-crash
...
Fix crash in AudioStream preview
2023-06-01 15:52:08 +02:00
VolTer
6566b96b63
Use NOTIFICATION_MOUSE_EXIT instead of a signal for a few editor plugins
2023-05-31 20:03:04 +02:00
Yuri Sizov
282f5ebda1
Merge pull request #47628 from Calinou/2d-editor-remove-contrained-view
...
Remove constrained view in the 2D editor
2023-05-31 16:35:54 +02:00
kobewi
b8a136c385
Add Center View button to 2D editor
2023-05-31 12:56:18 +02:00
Yuri Sizov
e7345c3e89
Merge pull request #77208 from KoBeWi/the_tooltip_centipede
...
Small rework of tooltip plugins
2023-05-31 12:37:42 +02:00
Yuri Sizov
8d6c472f6a
Merge pull request #77135 from KoBeWi/Vector∞
...
Refactor vector editor properties
2023-05-31 12:36:37 +02:00
kobewi
267728a240
Refactor vector editor properties
2023-05-31 00:14:28 +02:00
kobewi
5baebf75f2
Small rework of tooltip plugins
2023-05-30 23:13:50 +02:00
RedworkDE
301731c7e6
Fix crash in AudioStream preview
2023-05-30 20:26:10 +02:00
Rémi Verschelde
c79f96d23a
Merge pull request #77592 from nklbdev/fix_update_animation_duration_in_every_selected_tile
...
Fix update animation frame duration in every selected tile
2023-05-30 09:33:20 +02:00
Nikolay Lebedev
779c39f478
Fix update animation frame duration in every selected tile
2023-05-29 23:15:40 +05:00
Haoyu Qiu
b30a332009
Fix theme of editor VCS dialogs
...
These dialogs were added to the plugin itself so theme can't be
propagated.
Also moved initialization of the VCS menu after the creation of
EditorInterface.
2023-05-29 21:25:31 +08:00
Rémi Verschelde
aa739bae4f
Merge pull request #76616 from TokageItLab/implement-anim-node-sub2
...
Implement `AnimationNodeSub2` to `AnimationTree` and allow less or greater value in mathematical `AnimationNode`
2023-05-29 10:29:02 +02:00
Rémi Verschelde
c97201babc
Merge pull request #76545 from JoNax97/gradient_color_spaces
...
Add Linear SRGB and OKLab color spaces to Gradient.
2023-05-29 10:28:58 +02:00
Rémi Verschelde
990943782a
Merge pull request #74959 from MewPurPur/nice-curves
...
Overhaul the Curve Editor
2023-05-29 10:28:53 +02:00
Rémi Verschelde
9f05e16727
Merge pull request #70940 from MewPurPur/better-gradient2d-editor
...
Improvements to Gradient2D Editor
2023-05-29 10:28:46 +02:00
VolTer
a3c4a4b039
Overhaul the Curve Editor
2023-05-28 14:17:51 +02:00
Silc Lizard (Tokage) Renew
c9c8205644
Implement NodeSub2 to AnimationTree & improve mathematical Nodes
2023-05-27 13:19:54 +09:00
JoNax97
c07b2fcf4d
Add Linear SRGB and OKLab color spaces to Gradient.
2023-05-26 16:18:01 -03:00
Rémi Verschelde
5de3f5c317
Merge pull request #77467 from bitsawer/fix_shader_editor_crash
...
Fix shader editor crash
2023-05-26 18:15:20 +02:00
Rémi Verschelde
95d745f8dc
Merge pull request #77382 from rakkarage/tileset_merge_crash
...
Fix crash when using tile atlas merge with recreated alt tile
2023-05-26 11:23:03 +02:00
kobewi
010ce46ffa
Add get_edited_property_value() shorthand method
2023-05-26 09:18:53 +02:00
bitsawer
993e671dc0
Fix shader editor crash
2023-05-26 07:01:23 +03:00
kobewi
e5b6b3e1e3
Don't create bones from empty scene
2023-05-25 14:57:08 +02:00
smix8
66a8418a2d
Remove unnecessary Clipper lib includes
...
Removes unnecessary Clipper lib includes.
2023-05-24 23:57:08 +02:00
Rémi Verschelde
95bea896da
Merge pull request #77418 from MewPurPur/unify-stylebox-grid-textures
...
Improve StyleBox preview a little
2023-05-24 18:36:33 +02:00
VolTer
f65b9ee56c
Improve StyleBox preview a little
2023-05-24 15:40:56 +02:00
Rémi Verschelde
c39c565307
Merge pull request #72842 from TokageItLab/fix-pathfollow
...
Fix Pathfollow direction and add Z forward option
2023-05-24 10:52:46 +02:00
Silc Renew
42aa5398d9
Fix Pathfollow direction
...
Co-authored-by: aaronfranke <arnfranke@yahoo.com>
2023-05-24 17:37:00 +09:00
Rémi Verschelde
299f0ae3db
Merge pull request #76052 from TokageItLab/fix-viewport-axis
...
Fix 3D Viewport Front/Rear axis and Focus button
2023-05-24 10:34:12 +02:00
Rémi Verschelde
f92634a709
Merge pull request #77389 from vmedea/tooltip-pattern-index
...
Add pattern index tooltip to tilemap and tileset editor
2023-05-24 08:49:33 +02:00
Rémi Verschelde
692a76d9a5
Merge pull request #77385 from rakkarage/tileset-atlas-merge-filter
...
Make tile atlas merge dialog use filter nearest on right side, like left. To avoid blurry tiles.
2023-05-24 08:49:03 +02:00
Rémi Verschelde
adbdf9a86e
Merge pull request #77234 from RandomShaper/fix_rtl_mt
...
Allow threads to mark themselves as safe for nodes
2023-05-24 08:42:59 +02:00
Pedro J. Estébanez
e725b4b02b
Allow threads to mark themselves as safe for nodes
2023-05-24 00:22:58 +02:00
Rakka Rage
855d78e458
Make tile atlas merge dialog use filter nearest mipmaps on both sides. To avoid blurry tiles.
2023-05-23 14:46:02 -04:00
mara
93248684b4
Add pattern index tooltip to tilemap and tileset editor
...
Just a little UI convenience feature. Knowing the index (without having
to count manually) is convenient when working with tile patterns
programmatically, especially when having lots of them.
2023-05-23 19:28:06 +02:00
Rémi Verschelde
59a35194bf
Merge pull request #77394 from YuriSizov/editor-vshaders-delay-init
...
Delay initialization of the visual shader editor UI
2023-05-23 19:15:13 +02:00
Rémi Verschelde
8f9e0672fb
Merge pull request #77297 from puchik/popup-close-key-mapping
...
Use defined key mapping for closing popups and dialogs
2023-05-23 19:14:31 +02:00
Rakka Rage
88d2ed433d
Fix crash when using tile atlas merge with recreated alt tile
2023-05-23 10:32:02 -04:00
Yuri Sizov
edf47f1ee4
Delay initialization of the visual shader editor UI
...
This makes sure that the theme is ready to be used before the
methods is called.
Also add missing icons (and update some existing).
Co-authored-by: Samuel Wilson <yokomeshi@gmail.com>
2023-05-23 15:20:42 +02:00
Silc Lizard (Tokage) Renew
4e4259bd79
Fix 3D Viewport Axis button draw order bug
2023-05-23 16:21:19 +09:00
Silc Lizard (Tokage) Renew
4d3d800d33
Revert "Fix swapped front/rear view"
...
This reverts commit f995d6cd17
.
2023-05-23 16:21:19 +09:00
ajreckof
006e899bb3
sort code completions with rules
...
Fixups
Add levenshtein distance for comparisons, remove kind sort order, try to improve as many different use cases as possible
Trying again to improve code completion
Sort code autocompletion options by similarity based on input
To make it really brief, uses a combination `String.similiary`, the category system introduced in a previous PR, and some filtering to yield more predictable results, instead of scattering every completion option at seemingly random.
It also gives much higher priority to strings that contain the base in full, closer to the beginning or are perfect matches.
Also moves CodeCompletionOptionCompare to code_edit.cpp
Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
Co-Authored-By: Eric M <41730826+EricEzaM@users.noreply.github.com>
2023-05-23 05:12:34 +02:00
Rémi Verschelde
4f17a94d69
Merge pull request #74341 from dalexeev/sprite-frames-texture-filter
...
Use nearest with mipmaps texture filter in SpriteFrames editor plugin
2023-05-22 13:48:18 +02:00
Arman Elgudzhyan
8ab2cf3d2d
Use defined key mapping for closing popups and dialogs
...
As opposed to hardcoding the escape key. Also removed such hardcoding in a few other places as well as a hardcoded enter key in one of the affected input fields.
2023-05-20 17:39:59 -07:00
Hugo Locurcio
86314e1e53
Remove constrained view in the 2D editor
...
We initially added an option to disable constraining the 2D editor view.
This setting was still enabled by default to avoid confusing users
who end up scrolling too far away from their current scene
(which is a problem if you don't know about the F key to focus
on the selection).
However, it's probably a better choice to unconstrain the 2D editor view
by default because:
- Lots of people don't know about this setting and wonder how they
can scroll far away from the scene. This feels really limiting for them,
and it can even lead to some people thinking Godot intentionally limits
scene sizes.
- The 3D editor doesn't have such a contrain mechanism.
This makes the 2D editor more consistent with the 3D editor.
2023-05-20 03:01:12 +02:00
Hakim
9cf2d0f058
Hide Animation Frames section when there are no animations and show message
2023-05-19 01:14:11 +02:00
kobewi
6a120107b3
Fix crash when trying to create bones from Control
2023-05-17 15:53:49 +02:00