Rémi Verschelde
3237b5d08f
Merge pull request #71915 from MewPurPur/grid-ient
...
Overhaul the Gradient Editor
2023-09-24 23:29:35 +02:00
jsjtxietian
2679118d51
Fix skeleton 3d editor's toolbar ui deleted from wrong container
2023-09-24 11:28:46 +08:00
Haoyu Qiu
2d67ce4e60
Fix leak when calling remove_control_from_menu_panel
2023-09-24 08:35:45 +08:00
Yuri Sizov
b351cffddf
Fix theme access and improve UX in AnimationTree editor
2023-09-23 21:47:27 +02:00
Yuri Rubinsky
6d9e4e9704
Fix CurveEdit crash when dragging the curve if it is null
2023-09-23 11:44:54 +03:00
DennisManaa
f248420a2b
made visual shader ports expandable by default if there is only one output port and it's of any vector type
...
Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
2023-09-22 15:28:59 +02:00
MewPurPur
7b86969719
Overhaul the Gradient Editor
2023-09-21 15:55:28 +03:00
kobewi
07a00cf822
Don't allow transforming scene tiles
2023-09-20 14:10:21 +02:00
Rémi Verschelde
f2baba6ddb
Merge pull request #81927 from KoBeWi/uid﹕﹕∕∕c1ick
...
Make UIDs clickable in the script editor
2023-09-20 13:10:08 +02:00
Rémi Verschelde
b7c524d358
Merge pull request #81925 from groud/fix_tilemap_editor_ctrl_deselect
...
Fix TileMap editor so that pressing control deselects cells correctly
2023-09-20 13:10:04 +02:00
Yuri Sizov
4bd569be95
Replace flat buttons with flat-styled buttons with a visible pressed state
2023-09-19 22:36:29 +02:00
kobewi
3f43044a40
Make UIDs clickable in the script editor
2023-09-19 15:59:03 +02:00
Gilles Roudière
83f1e31483
Fix TileMap editor so that pressing control deselects cells correctly
2023-09-19 15:12:03 +02:00
ajreckof
6afadbaa9f
Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
2023-09-19 10:29:07 +02:00
the-sink
524e7acfc3
Set open_dominant_script_on_scene_change
to off by default
2023-09-19 01:22:29 -07:00
Rémi Verschelde
01d9162a98
Merge pull request #81813 from MewPurPur/fix-paint-icon
...
Fix grayed out paint icons
2023-09-18 10:38:28 +02:00
Rémi Verschelde
9892bc2478
Merge pull request #81810 from AThousandShips/camera_m
...
Make editor camera speed indicator use `m/s` and `m`
2023-09-18 10:38:24 +02:00
Rémi Verschelde
3e233e1f24
Fix various typos with codespell
...
Using 2.2.6.dev193+g907e5380.
2023-09-18 09:53:39 +02:00
Silc Lizard (Tokage) Renew
c1c4a09527
Improve retarget auto-mapping algorithm
2023-09-18 12:51:15 +09:00
MewPurPur
c094631ba0
Fix grayed out paint icons
2023-09-17 19:23:28 +03:00
A Thousand Ships
8d7a2c615c
Make editor camera speed indicator use m/s
and m
2023-09-17 18:04:58 +02:00
Rémi Verschelde
ba54c34551
Merge pull request #81735 from KoBeWi/360_no_scope
...
Fix rotated 2D movement gizmo
2023-09-16 21:25:17 +02:00
Rémi Verschelde
cdef53df1e
Merge pull request #81705 from AThousandShips/null_check_editor
...
[Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-16 21:24:53 +02:00
Rémi Verschelde
91dee347ad
Merge pull request #81609 from AThousandShips/gizmo_fix
...
Fix local 3D translation editing
2023-09-16 21:24:06 +02:00
Rémi Verschelde
7ca579cb27
Merge pull request #81554 from Calinou/editor-gizmos-add-decal
...
Add 3D editor gizmo icons for Decal, LightmapProbe and FogVolume
2023-09-16 21:22:54 +02:00
kobewi
447a4b6bcf
Fix rotated 2D movement gizmo
2023-09-16 19:26:20 +02:00
A Thousand Ships
dae27d1311
Fix local 3D translation editing
2023-09-16 11:11:54 +02:00
Hugo Locurcio
5345cf3e75
Add 3D editor gizmo icons for Decal, LightmapProbe and FogVolume
...
- Tweak CPUParticles3D editor gizmo icon to use the same outline
color as other gizmo icons. Make the internal icon easier to see
by using an orange color instead of gray.
Co-authored-by: MewPurPur <mew.pur.pur@abv.bg>
2023-09-15 20:44:45 +02:00
A Thousand Ships
75ee58fd04
[Editor] Replace ERR_FAIL_COND
with ERR_FAIL_NULL
where applicable
2023-09-15 20:15:39 +02:00
Yuri Sizov
2febb246e1
Merge pull request #81606 from jsjtxietian/hide-animation-tool--correctly-when-switching-scenes
...
Hide animation toolbar above the viewport correctly when switching scenes
2023-09-15 19:48:23 +02:00
Yuri Sizov
df6cd37a69
Merge pull request #81516 from YuriSizov/editor-theme-access-the-success
...
Fix accessing editor theme items throughout the UI
2023-09-15 19:48:14 +02:00
Yuri Sizov
508a758eab
Merge pull request #75303 from Calinou/3d-gizmos-only-selected
...
Show visual-oriented 3D node gizmos only when selected
2023-09-15 19:48:10 +02:00
Yuri Sizov
8ecc0c4f47
Fix accessing editor theme items throughout the UI
...
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +02:00
jsjtxietian
0113e6961d
Hide animation tool correctly when switching scenes
2023-09-15 10:48:26 +08:00
Hugo Locurcio
1024ba0c0d
Show visual-oriented 3D node gizmos only when selected
...
Affected nodes:
- DirectionalLight3D, OmniLight3D, SpotLight3D
- ReflectionProbe
- LightmapGI
- VoxelGI
- GPUParticles3D (but not collision/attractor nodes)
- AudioStreamPlayer3D
This reduces visual clutter in the editor with 3D scenes.
2023-09-15 01:59:49 +02:00
Rémi Verschelde
5a74ce9a56
Merge pull request #81557 from YuriSizov/editor-toolbars-divided
...
Improve the looks of 2D/3D viewport contextual toolbars
2023-09-14 23:40:33 +02:00
Yuri Sizov
f542dffb39
Improve the looks of 2D/3D viewport contextual toolbars
2023-09-13 13:04:55 +02:00
kobewi
015953a3d9
Add helper for 3D gizmos and unify box
2023-09-12 18:08:02 +02:00
Haoyu Qiu
b8b0339549
Improve undo action names
...
* Avoid concating strings manually for better i18n and easy l10n
* Use `vformat` when possible
* Use separate strings if the changing part is only a few hardcoded strings
* Don't put a period at the end of the name
2023-09-12 18:53:50 +08:00
Rémi Verschelde
3e68ed0ca1
Merge pull request #81255 from JohnGabrielUK/primary-line-separate-xy
...
Allow configuring primary line X/Ys separately
2023-09-12 12:01:15 +02:00
Rémi Verschelde
475860839c
Merge pull request #80144 from KoBeWi/freedom_tiles
...
Add per-tile flipping and transposing
2023-09-12 12:00:20 +02:00
John Gabriel
984eb96c43
Allow configuring primary line X/Ys separately
2023-09-12 10:24:07 +01:00
Rémi Verschelde
5c43e4c1ef
Fix various typos with codespell
...
Using 2.2.6.dev180+ge3a2cfbd.
2023-09-12 08:54:18 +02:00
Rémi Verschelde
7471ac2c4d
Merge pull request #81543 from DarioSamo/lightmap-size-crash-fix
...
Propagate error correctly when max texture size for lightmaps is too small.
2023-09-12 08:50:45 +02:00
Jean-Michel Bernard
67dce301aa
Add code region folding to CodeEdit
2023-09-11 18:36:40 +02:00
Dario
7dfb854556
Propagate error correctly when max texture size for lightmaps is too small.
...
Add error handling for BAKE_ERROR_LIGHTMAP_TOO_SMALL, which was previously ignored. Fixes #81453 .
2023-09-11 09:14:39 -03:00
kobewi
a9f3154da3
Add per-tile flipping and transposing
2023-09-09 00:56:38 +02:00
Yuri Sizov
639aba4ee1
Improve handling of archives when installing assets
2023-09-08 20:45:49 +02:00
Hendrik Brucker
5afe78bd9c
Clean up/refactor GraphNode and make it more flexible
...
Split GraphNode into GraphElement and GraphNode, add custom
titlebar, and adjust theming.
2023-09-07 17:29:06 +02:00
Rémi Verschelde
074931a3aa
Merge pull request #81410 from bitsawer/fix_shader_include_reload
...
Fix shader text editor include file reloading
2023-09-07 16:32:54 +02:00
Rémi Verschelde
7663c69922
Merge pull request #81388 from YuriSizov/core-gdvirtual-but-less-confused-about-itself
...
Extract `ScriptInstance` into its own file to simplify includes
2023-09-07 13:53:45 +02:00
bitsawer
d50595c0e9
Fix shader text editor include file reloading
2023-09-07 14:35:26 +03:00
Yuri Sizov
d8ff69d53c
Extract ScriptInstance to simplify includes
...
This allows to include script_instance.h directly in the
generated gdvirtual.gen.inc, and remove excessive includes
from the codebase.
This should also allow Resource to use GDVIRTUAL macros,
which wasn't possible previously due to a circular dependency.
2023-09-06 22:54:38 +02:00
Yuri Sizov
fc01e2e7f6
Add a theme preview switcher to the 2D viewport
...
This commit adds a new View submenu that allows switching
between the project theme (default), the editor theme, and
the default theme. The last selected option is stored per
project and is restored when reloading the project.
2023-09-06 19:40:43 +02:00
Yuri Sizov
512182f147
Add theme contexts to various parts of the editor
...
This change defines additional theme contexts for editor
branches to prevent theme leaking between the default
theme, the project theme, and the editor theme.
- Both editor window and EditorNode define an editor-specific
context with the editor theme and the default theme.
- The 2D viewport defines a project-specific context with
the project theme and the default theme.
- Theme editor preview tabs define the default-only context
with the default theme.
Additionally, the default theme context now only includes
the project theme for running projects (both export and debug).
This prevents the project theme from leaking into the editor.
This commit also does a little clean up on the theming aspects
of the EditorNode.
2023-09-06 19:40:43 +02:00
Yuri Sizov
3c63dce3cd
Merge pull request #80573 from KoBeWi/2k_lines_of_changes_created_at_2AM
...
Add EditorStringNames singleton
2023-09-06 14:49:02 +02:00
Fredia Huya-Kouadio
8cc7739197
Godot Android plugin re-architecture
2023-09-03 17:04:10 -07:00
kobewi
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
Rémi Verschelde
07035466e8
Merge pull request #81189 from jsjtxietian/Fix-press-space-when-enter-editor-layout-name-will-confirm-save
...
Use `ui_text_submit` instead of `ui_accept` to confirm and close text prompts
2023-09-02 14:30:12 +02:00
jsjtxietian
ba41910967
Use ui_text_submit to confirm and close text prompts
...
Fix press space when enter editor layout name will
confirm and save layout, same in theme editor
2023-09-01 12:23:30 +08:00
jsjtxietian
cfd7dfd985
Fix a crash when built-in script is not saved and have syntax error
...
When built-in script is not saved, it has empty path, and origin
code assumes error with empty path is a depended_error but that's
not always the case.
Also add protection before access list index 0.
2023-08-30 17:45:58 +08:00
Rémi Verschelde
3417f34a37
Merge pull request #80529 from KoBeWi/unfortunate_fix_is_unfortunate 🤦♂️
...
Fix TileSet not disappearing on deselecting TileMap
2023-08-29 12:43:10 +02:00
Rémi Verschelde
1ffc24e19e
Merge pull request #80124 from Calinou/3d-editor-frame-time-initialize-fps
...
Initialize View Frame Time estimates to match 120 FPS
2023-08-29 12:42:16 +02:00
Rémi Verschelde
9229ea121c
Merge pull request #77986 from KoBeWi/outside_the_texture,_only_death_awaits
...
Cleanup tiles outside the texture
2023-08-28 20:37:04 +02:00
Hugo Locurcio
15b31f0891
Initialize View Frame Time estimates to match 120 FPS
...
This prevents the estimation from being extremely high (close to 100,000 FPS)
until enough time has passed to display an accurate estimation.
2023-08-28 17:25:56 +02:00
kobewi
52d41cc555
Add option to cleanup tiles outside the texture
2023-08-28 15:15:45 +02:00
Rémi Verschelde
6636ccc3ea
Merge pull request #80943 from rakkarage/tileset-atlas-merge-rgb8
...
Convert TileSet Atlas Merge input images to RGBA8 to match output, if needed
2023-08-28 15:04:16 +02:00
Rémi Verschelde
bcbe1fd5e0
Merge pull request #80754 from KoBeWi/TileSetImprovementsCollectionSource
...
Improve scene tiles workflow
2023-08-28 15:03:26 +02:00
Rémi Verschelde
a7ded904de
Merge pull request #79678 from thiagola92/auto_create_tilesets_for_multiple_atlas
...
Auto create tile for multiple atlases
2023-08-28 15:02:37 +02:00
Rémi Verschelde
2d42357464
Merge pull request #77316 from rakkarage/tileset_atlas_merge
...
Include animation frames in tile atlas merge.
2023-08-28 15:01:24 +02:00
Juan Linietsky
407b16ab00
Debug CanvasItem redraw
...
I wanted to add this tool for years and always forget. This command line option:
```
$ godot.exe -e --debug-canvas-item-redraw
```
Allows to see when a canvas item is redrawn. This helps find out if something
in the UI is refreshing in a way it should not. Examples as such:
* Signals causing more of the UI to redraw.
* Container resizing causes more UI elements to redraw.
* Something using a timer is redrawing all time time, which can go unnoticed.
To my surprise, the editor UI is redrawing very efficiently. There is some
weird stuff with the scene tabs, redrawing when the inspector changes but most
things for the most part are fine.
2023-08-28 12:53:56 +02:00
Rémi Verschelde
00d1fafc77
Merge pull request #81022 from YuriSizov/editor-run-scripts-valid-and-toasty
...
Improve warnings when running scripts in the editor
2023-08-28 12:08:37 +02:00
Rémi Verschelde
8f07644867
Merge pull request #81011 from 21dhruvp/remove-meta-array
...
Added checks to remove meta arrays when creating and undoing guides
2023-08-28 12:07:03 +02:00
Rémi Verschelde
0655a7d7d3
Merge pull request #80517 from YuriSizov/tsa-randomly-picked-you-for-mandatory-inspection-i-think-not
...
Avoid unnecessary inspector updates when loading or switching scenes
2023-08-28 12:05:06 +02:00
Rémi Verschelde
33a3e12fe1
Merge pull request #80435 from YuriSizov/region-editor-quality-pass
...
Fix multiple usability issues in the texture region editor
2023-08-28 12:04:18 +02:00
thiagola92
c8a94ea3e8
Support auto create tiles when adding multiple atlases
...
TileSet add button support multiple files
Join most of the code of `_drop_data_fw()` and `_texture_file_selected()` in a new function `_load_texture_files()`
Rename `init_source` to `init_new_atlases`
2023-08-27 10:45:03 -03:00
Yuri Sizov
4b7d0c84a1
Fix multiple usability issues in the texture region editor
...
- Correctly display atlas textures when used by other objects.
- Make region handles easier to hit in ninepatchable objects.
- Correctly initialize and restore various visual properties.
- Improve code quality.
2023-08-27 14:25:49 +02:00
Yuri Sizov
2270f4917a
Improve warnings when running scripts in the editor
2023-08-27 13:59:06 +02:00
21dhruvp
a7b2819540
Added checks to remove meta arrays when creating and undoing guides
...
Added checks to remove meta arrays when creating and undoing guides
Update editor/plugins/canvas_item_editor_plugin.cpp
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Update editor/plugins/canvas_item_editor_plugin.cpp
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-08-26 10:35:54 -04:00
Yuri Sizov
6da4ad1662
Merge pull request #80968 from rakkarage/alternative-icon-scale
...
Call `add_child` after `set_rect` to fix size bug
2023-08-25 21:26:50 +02:00
Yuri Sizov
43f61836ad
Merge pull request #80934 from philippesic/TileSet-Sep-Suffix
...
Add `px` suffix for TileSet `separation` property
2023-08-25 21:26:41 +02:00
Pippo Pesic
0044217a7f
Add px
suffix to TileSet Separation
value
...
Add px suffix to TileSet separation value
2023-08-25 08:58:11 -07:00
Rakka Rage
e93d2a04df
Call add_child
after set_rect
to fix size bug
2023-08-25 10:10:47 -04:00
Yuri Sizov
e21ded8f8f
Merge pull request #80450 from KoBeWi/settings_freeze,_no_more_changes
...
Deprecate `project_settings_changed` signal
2023-08-25 14:58:32 +02:00
Rakka Rage
dc2aa69c46
Convert TileSet Atlas Merge input images to RGBA8 to match output, if needed
2023-08-23 19:26:57 -04:00
Rakka Rage
c17848f07d
Include animation frames in tile atlas merge.
2023-08-23 16:19:24 -04:00
Rémi Verschelde
cc01b28886
Merge pull request #80779 from Chaosus/cpuparticles_converter
...
Implement conversion from `CPUParticles` to `GPUParticles` (3D/2D)
2023-08-21 19:26:48 +02:00
Rémi Verschelde
23db0240a2
Merge pull request #78996 from Tetane/create_shader_node_popup
...
Fix "Create Shader Node" window position when visual shader editor is floating
2023-08-21 08:20:42 +02:00
Yuri Roubinski
7fcb91f077
Implement conversion from CPUParticles
to GPUParticles
(3D/2D)
2023-08-19 11:58:57 +03:00
kobewi
0d8f8d7054
Simplify making texture nodes in 2D editor
2023-08-19 00:17:34 +02:00
kobewi
a88e3b8604
Improve scene tiles workflow
2023-08-18 13:55:30 +02:00
Rémi Verschelde
446dfdbd87
Merge pull request #80329 from xiongyaohua/path3d_tilt_gizmo
...
Add handles to control Curve3D tilt
2023-08-17 12:29:55 +02:00
Rémi Verschelde
a42f95f9e2
Merge pull request #80689 from AThousandShips/gizmo_fix
...
Fix gizmo for `BoxShape3D`
2023-08-17 11:27:28 +02:00
Rémi Verschelde
c7356c795b
Merge pull request #80647 from jsjtxietian/CollisionShape3D-Shape-Size-handles-missing-when-Script-editor-floating
...
Fix 2D/3D viewport context switching issues when script editor is floating
2023-08-17 11:27:04 +02:00
Rémi Verschelde
8d0c9a4c87
Merge pull request #80317 from KoBeWi/taking_shortcuts
...
Ensure TileMap editor shortcuts are handled
2023-08-17 11:24:39 +02:00
Rémi Verschelde
aa9e4b8ace
Merge pull request #77096 from spanzeri/skeleton-editor-cleanup-followup
...
Additional cleanup of bone editors
2023-08-17 11:19:44 +02:00
A Thousand Ships
1dcb45a79c
Fix gizmo for BoxShape3D
2023-08-16 16:49:04 +02:00
jsjtxietian
fec0396cac
fix CollisionShape3D Shape Size handle will missing
...
when Script editor floating
2023-08-15 12:41:20 +08:00
Rémi Verschelde
c78be12f42
Merge pull request #80610 from lawnjelly/fix_tilemap_editor_plugin_crash2
...
Fix `TileMapEditorPlugin` crash by storing tilemap ID instead of pointer
2023-08-14 15:31:19 +02:00
lawnjelly
356fc728a4
Fix TileMapEditorPlugin
crash by storing tilemap ID instead of pointer
...
Store the tilemap ObjectID instead of raw pointer, and check it is valid before access.
2023-08-14 12:56:52 +01:00
lawnjelly
fa7be20ee1
Fix crash on exit where TileSet calls destroyed TileSetAtlasSourceEditor
...
Removes signal from TileSet on destroying TileSetAtlasSourceEditor, to prevent TileSet calling function in destroyed TileSetAtlasSourceEditor.
2023-08-14 10:25:50 +01:00
Yuri Sizov
2445414aa0
Avoid unnecessary inspector updates when loading or switching scenes
...
This should result in some noticeable performance improvements,
aside from fixing bugs due to conflicts in logic.
This also simplifies some related code identified while debugging.
2023-08-12 13:32:59 +02:00
Daniel Roberts
46e395abb1
Add handles to control Curve3D tilt
2023-08-12 14:55:38 +08:00
kobewi
6b7829b5ff
Fix TileSet not disappearing on deselecting TileMap
2023-08-12 00:47:26 +02:00
Rémi Verschelde
48a447b5ee
Merge pull request #58389 from rcorre/blender-numeric
...
Implement numeric blender-style transforms.
2023-08-11 10:31:40 +02:00
kobewi
fca3ab5564
Deprecate project_settings_changed signal
2023-08-10 15:07:25 +02:00
Ryan Roden-Corrent
d6a83a6bac
Implement numeric blender-style transforms.
...
This allows the user to input numbers during an "instant" (blender
style) transform operation to specify exactly how far to transform the
object. For example:
g2.5xx: Translate 2.5 units along the local x-axis
ry-45: Rotate -45 degrees around the y-axis
s.25Z: Scale by a factor of .25 on the xy plane
Some shared code between the traslate/rotate/scale branches of update_transform
was refactored into apply_transform so numeric transforms could reuse it.
This removes any "{X,Y,Z}-Axis Transform" messages. These prevented the
"Transforming: (x,y,z)" messages from showing, and the latter are more
useful, as they tell you the actual units.
This also rearranges finish_transform to clear _edit before updating
the axis rendering, so an axis doesn't remain highlighted.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-08-10 07:18:18 -04:00
kobewi
f02133a4a2
Fix TileSet with TileMap handling
2023-08-09 23:50:45 +02:00
Rémi Verschelde
8375f73680
Merge pull request #80355 from jcovin293/issue/80347/fix-missing-ellipsis
...
Fix menu items that trigger secondary interface missing ellipsis
2023-08-09 17:46:26 +02:00
RandomWalrus13
585633ea85
Fix menu items that trigger secondary interface missing ellipsis
...
fix #80347
2023-08-09 08:30:35 -05:00
Rémi Verschelde
f6b9d445b5
Merge pull request #80285 from YeldhamDev/just_a_little_bit
...
Further separate icon from text of buttons in both editor and default themes
2023-08-09 15:20:25 +02:00
Rémi Verschelde
1163dac9e3
Merge pull request #80215 from clayjohn/HDR-2D
...
Add option to enable HDR rendering in 2D
2023-08-08 16:57:33 +02:00
Hugo Locurcio
e21388d9f4
Readd a Camera3D icon gizmo to the 3D editor, renew Camera2D/3D icons
...
The lack of icon gizmo made it no longer possible to select Camera3D
nodes in the 3D viewport by clicking on them.
A new Camera3D icon gizmo was designed to be direction-neutral.
This avoids the issue that the previous icon gizmo had, since it was
always facing right.
This also adds icons for CameraAttributesPractical and CameraAttributesPhysical.
2023-08-08 16:04:53 +02:00
Michael Alexsander
98bdb56815
Further separate icon from text of buttons in both editor and default themes
2023-08-07 13:22:39 -03:00
Rémi Verschelde
169a28bd0f
Merge pull request #80362 from Calinou/string-use-unicode-compiletime
...
Use compile-time Unicode string conversion
2023-08-07 14:55:58 +02:00
Rémi Verschelde
02709d57ee
Merge pull request #78858 from MewPurPur/tweak-mesh-preview
...
Improve material and mesh preview buttons
2023-08-07 14:44:34 +02:00
Rémi Verschelde
faaf27f284
Fix various typos with codespell
...
Also includes typo fixes from #79993 , #80068 , #80276 , and #80303 .
Co-authored-by: betalars <contact@betalars.de>
Co-authored-by: spaceyjase <429978+spaceyjase@users.noreply.github.com>
Co-authored-by: Swarkin <102416174+Swarkin@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-08-07 13:09:47 +02:00
clayjohn
57eb762bae
Add option to enable HDR rendering in 2D
...
This is needed to allow 2D to fully make use of 3D effects (e.g. glow), and can be used to substantially improve quality of 2D rendering at the cost of performance
Additionally, the 2D rendering pipeline is done in linear space (we skip linear_to_srgb conversion in 3D tonemapping) so the entire Viewport can be kept linear.
This is necessary for proper HDR screen support in the future.
2023-08-07 11:24:03 +02:00
Hugo Locurcio
e9f723006a
Use compile-time Unicode string conversion
...
Thanks to this syntax introduced in C++11, this reduces the amount of work
that needs to be performed at run-time while making the code more terse.
2023-08-07 10:38:16 +02:00
kobewi
181eecc51b
Ensure TileMap editor shortcuts are handled
2023-08-06 03:38:03 +02:00
MewPurPur
50f4c298e6
Improve material and mesh preview buttons
2023-08-04 01:47:32 +03:00
Yuri Sizov
e4b8dc81b8
Merge pull request #78300 from ajreckof/fix-replace-node-destroying-Node-properties
...
Auto-update properties when replacing a node
2023-08-03 22:37:40 +02:00
ocean (they/them)
bf3af190c3
Increase vertical size of CurveEdit
when Inspector
widens
...
This should allow users to edit points in a less constrained space,
which feels like a UX improvement.
That said, changing minimum size according to current size might be a
hack that causes issues in certain situations.
2023-08-03 16:02:28 -04:00
ajreckof
4da9927faf
Fix replace node deleting Node
properties.
...
Update editor/scene_tree_dock.cpp
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-08-03 18:38:24 +02:00
kobewi
0a9a8c75fa
Improve editing of box collision shapes
2023-08-03 14:09:10 +02:00
Yuri Sizov
1886dee28f
Merge pull request #79588 from magian1127/4.0Fix78052
...
Fix the error when clicking AnimationTree in the editor
2023-08-02 21:36:56 +02:00
Magian
0b3c073c9e
Fix the error when clicking AnimationTree in the editor
2023-08-02 22:45:09 +08:00
Rémi Verschelde
f823bccdf8
Merge pull request #80135 from KoBeWi/A_NumbER_Is_REQuIrEd
...
Ignore null "id" in tile source proxy
2023-08-02 12:22:48 +02:00
Rémi Verschelde
2132638937
Merge pull request #79404 from raulsntos/dotnet/lines-open-in-external-editor
...
C#: Fix line in OpenInExternalEditor
2023-08-02 12:17:31 +02:00
kobewi
91328a86cd
Ignore null "id" in tile source proxy
2023-08-01 22:52:16 +02:00
Yuri Sizov
de0a06ee80
Merge pull request #79258 from KoBeWi/drag_and_drop_anarchy
...
Assume root when dropping node to unassigned script
2023-08-01 20:03:38 +02:00
kobewi
3f272f4910
Assume root when dropping node to unassigned script
2023-08-01 17:36:51 +02:00
Yuri Sizov
6731accf80
Merge pull request #79419 from KoBeWi/no_ID_for_you
...
Unexpose tile source ID
2023-08-01 17:25:11 +02:00
Yuri Sizov
0387defcbe
Merge pull request #80037 from KoBeWi/we_are_reaching_levels_of_hacks_that_should_not_be_possible
...
Edit TileSet source on double click
2023-07-31 21:01:47 +02:00
Yuri Sizov
25f3f660c5
Merge pull request #79610 from aaronfranke/toggle-comment-slash
...
Add Ctrl+/ as a shortcut to toggle comment in addition to Ctrl+K
2023-07-31 21:01:17 +02:00
kobewi
2a5db5949f
Rework modifying tile source ID
2023-07-31 20:57:09 +02:00
kobewi
d39b040114
Edit TileSet source on double click
2023-07-30 02:27:40 +02:00
Yuri Sizov
6c11fcd01a
Merge pull request #74717 from KoBeWi/tilesetmap_handler_plugin
...
Add separate editor plugin for TileMap and TileSet
2023-07-27 19:11:37 +02:00
Yuri Sizov
4aae6d3f23
Merge pull request #78944 from bgie/particle_mask
...
Add option to center image when loading particle emission mask
2023-07-27 15:22:58 +02:00
Yuri Sizov
b2e2973a67
Merge pull request #79928 from timothyqiu/fonts
...
Sort system font menu in Inspector
2023-07-27 15:22:47 +02:00
Yuri Sizov
6535b7475d
Merge pull request #79908 from YeldhamDev/output_icon_space
...
Fix spacing between icon and "Output" button
2023-07-27 15:22:44 +02:00
Yuri Sizov
cd074f965f
Merge pull request #79904 from KoBeWi/how_to_create_huge_tiles_using_a_simple_trick
...
Add help label about creating multiple/big tiles
2023-07-27 15:22:40 +02:00
Yuri Sizov
f29a0ad21c
Merge pull request #79512 from KoBeWi/tile_expanded_universe
...
Add option to expand tile polygon editors
2023-07-27 15:22:36 +02:00
Michael Alexsander
2883a40aa1
Fix spacing between icon and "Output" button
2023-07-26 15:22:44 -03:00
Yuri Sizov
7fe88c7710
Merge pull request #79899 from KoBeWi/snapped_in_half
...
Improve atlas tile size dragging
2023-07-26 18:40:38 +02:00
Yuri Sizov
bc0e646076
Merge pull request #78827 from Rindbee/fix-history-mismatch
...
Fix history mismatch
2023-07-26 18:39:32 +02:00
Haoyu Qiu
7de4fef959
Sort system font menu in Inspector
2023-07-26 23:56:57 +08:00
kobewi
ec24d50469
Add separate editor plugin for TileMap and TileSet
2023-07-26 17:23:41 +02:00
Patrick
65b0989f68
Additional Visual Shader Nodes
...
* RotationByAxis Visual Shader Node added
* WorldPositionFromDepth Visual Shader Node added
* ScreenNormalWorldSpace Visual Shader Node added
2023-07-26 00:39:12 +02:00
kobewi
df69073589
Add help label about creating multiple/big tiles
2023-07-25 22:55:29 +02:00
kobewi
965847b6e9
Improve atlas tile size dragging
2023-07-25 22:06:38 +02:00
Yuri Sizov
4d4e5145b3
Merge pull request #79734 from somecrepe/master
...
Change the text for the flat button preview to follow pattern
2023-07-25 21:26:10 +02:00
Danil Alexeev
0d39121b3a
SpriteFrames Editor: Fix Frame Duration applied to wrong frame when switching frame
2023-07-25 10:55:37 +03:00
Danil Alexeev
2f1e135573
SpriteFrames Editor: Fix FPS applied to two animations when switching animation
2023-07-25 10:51:35 +03:00
somecrepe
97fd8cbdb3
Change the text for the flat button preview to follow pattern
...
Changed text for flat button preview to follow pattern set by previous two.
2023-07-24 13:24:59 -07:00
Yuri Sizov
0cbdad47f9
Merge pull request #79837 from KoBeWi/CursorShaper
...
Fix `get_cursor_shape()` in tile atlas editor
2023-07-24 19:33:41 +02:00
Yuri Sizov
7dbbf2eef9
Merge pull request #79743 from TokageItLab/fix-name-list-asp
...
Make animation name list scroll to new animation in `SpriteEditor`
2023-07-24 19:33:23 +02:00
Yuri Sizov
dbff173597
Merge pull request #79676 from KoBeWi/MissingNo.Layers
...
Add placeholder items to TileSet layer list
2023-07-24 19:33:09 +02:00
Yuri Sizov
fb2c3ae8f7
Merge pull request #79308 from Geometror/refactor-graphedit
...
Clean up/refactor GraphEdit
2023-07-24 19:32:33 +02:00
Yuri Sizov
fefd02b411
Merge pull request #79175 from MewPurPur/curve-deselect
...
Deselect curve point with RMB on the empty space
2023-07-24 19:32:29 +02:00
Yuri Sizov
74d20fe17e
Merge pull request #75216 from rune-scape/rune-dependancy-errors
...
Script editor (GDScript): Show depended script errors
2023-07-24 19:32:20 +02:00
Yuri Sizov
2bd904e3db
Merge pull request #73196 from Vilcrow/fix-lookup-symbol
...
Fix jumping to function definition using `Ctrl+LMB` or the "Lookup Symbol" button
2023-07-24 19:32:12 +02:00
Hendrik Brucker
a38fd09669
Clean up/refactor GraphEdit
2023-07-24 18:37:23 +02:00
Yuri Sizov
91258e52be
Merge pull request #79307 from Geometror/remove-graph-node-comment
...
Remove GraphNode's comment property and related functionality
2023-07-24 16:56:41 +02:00
rune-scape
83b01708b2
Script editor: Show depended script errors
2023-07-24 15:49:39 +02:00
kobewi
4408f82c93
Fix get_cursor_shape() in tile atlas editor
2023-07-23 23:06:23 +02:00
kobewi
f837624d75
Add option to expand tile polygon editors
2023-07-22 22:21:05 +02:00
Yuri Sizov
7573a458be
Merge pull request #79600 from Rindbee/fix-rename-animation-in-SpriteFramesEditor
...
Fix rename animation in SpriteFramesEditor
2023-07-21 17:54:47 +02:00
Yuri Sizov
ce92f052ec
Merge pull request #79562 from KoBeWi/click_here_yo
...
Improve message when no tile is selected to edit
2023-07-21 17:54:43 +02:00
Yuri Sizov
5ae617627d
Merge pull request #78519 from groud/add_white_rect_to_tilemap_selection
...
Add white rect to TileMap selection tool
2023-07-21 17:54:17 +02:00
Yuri Sizov
bf73ac2891
Merge pull request #73641 from KoBeWi/yolo_exiting
...
Don't save scripts when exiting editor
2023-07-21 17:15:14 +02:00
Silc Lizard (Tokage) Renew
99451b55c2
Make animation name list scroll to new animation in SpriteEditor
...
Co-authored-by: DarellLdark <darell.ldark@gmail.com>
2023-07-21 19:36:25 +09:00
kobewi
bb64588796
Add placeholder items to TileSet layer list
...
Co-authored-by: MewPurPur <mew.pur.pur@abv.bg>
2023-07-20 14:31:00 +02:00
Yuri Roubinski
01101134f4
Make the dragging connections more user-friendly in visual shaders
2023-07-20 15:00:19 +03:00
Gilles Roudière
0fc56646f1
Add white rect to TileMap selection tool
2023-07-19 17:42:29 +02:00
Fredia Huya-Kouadio
d17811c814
Re-architect how Android plugins are packaged and handled at export time
...
The previous packaging format for Godot Android plugins consisted of the plugin's `gdap` config file accompanied by binaries defined in the `gdap` file.
This format is now deprecated (starting with Godot 4.2), and instead Godot Android plugins are now packaged as `EditorExportPlugin` plugins.
The `EditorExportPlugin` class has been updated with the following methods to provide the necessary set of functionality:
- `_supports_platform`: returns true if the plugin supports the given platform
- `_get_android_dependencies`: retrieve the set of android dependencies (e.g: `org.godot.example:my-plugin:0.0.0`) provided by the plugin
- `_get_android_dependencies_maven_repos`: retrieve the urls of the maven repos for the provided android dependencies
- `_get_android_libraries`: retrieve the local paths of the android libraries (AAR files) provided by the plugin
- `_get_android_manifest_activity_element_contents`: update the contents of the `<activity>` element in the generated Android manifest
- `_get_android_manifest_application_element_contents`: update the contents of the `<application>` element in the generated Android manifest
- `_get_android_manifest_element_contents`: update the contents of the `<manifest>` element in the generated Android manifest
2023-07-18 19:14:53 +02:00
Yuri Sizov
9c39fe0690
Merge pull request #79609 from KoBeWi/one_dollar_mistake
...
Fix wrong Curve connection
2023-07-18 15:10:13 +02:00
kobewi
b883f32188
Check for unsaved changes when closing a scene
2023-07-18 14:27:56 +02:00
kobewi
000471ee56
Add unsaved status for script and shader editors
2023-07-18 14:18:36 +02:00
Aaron Franke
df3a1c18f1
Add Ctrl+/ as a shortcut to toggle comment in addition to Ctrl+K
2023-07-18 07:00:59 -05:00
kobewi
a076792a3c
Fix wrong Curve connection
2023-07-18 13:55:04 +02:00
Rindbee
e9cd29cf22
Fix rename animation in SpriteFramesEditor/AnimationNodeStateMachineEditor
...
When the name suffix grows, the old name is used if it is obtained first.
Fix the case where the following error message would appear when renaming
an animation.
```
ERROR: Animation '' doesn't exist.
at: get_frame_count (scene/resources/sprite_frames.cpp:71)
```
2023-07-18 15:39:02 +08:00
kobewi
de4a3fa151
Unify and streamline connecting to Resource changes
2023-07-17 19:35:57 +02:00
Raul Santos
132a1daf1a
C#: Fix line in OpenInExternalEditor
2023-07-17 18:44:17 +02:00
Hendrik Brucker
a29a680920
Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file
2023-07-17 13:25:00 +02:00
kobewi
7b8c70c668
Improve message when no tile is selected to edit
2023-07-17 02:41:36 +02:00
Yuri Sizov
a7583881af
Merge pull request #68460 from Geometror/split_texture_src
...
Extract and reorganize texture resource classes
2023-07-14 21:28:06 +02:00
Yuri Sizov
c10b8ac735
Merge pull request #79198 from theraot/enchance_onready_drop
...
Make onready variables created from dropping nodes include custom types
2023-07-14 21:28:02 +02:00
Yuri Sizov
5f23b8b916
Merge pull request #78451 from alula/integer-zoom
...
Add option to swap default Alt+scroll zooming behavior in 2D editor
2023-07-14 21:27:54 +02:00
Hendrik Brucker
7e21eb7e00
Extract and reorganize texture resource classes
2023-07-14 20:04:21 +02:00
Yuri Sizov
a927b22f65
Merge pull request #77257 from rakkarage/tile_animation_sync
...
Add `TileSetAtlasSource::TileAnimationMode` options and allow to shuffle tile animations
2023-07-12 21:02:31 +02:00
S.V.I. Vilcrow
56e2fad319
Fixed the jumping to function definition using 'Ctrl+LMB' and the 'Lookup Symbol' button.
2023-07-12 21:30:35 +03:00
Yuri Sizov
770b7e974b
Merge pull request #79337 from KoBeWi/best_fix_ever
...
Change default Save Script shortcut
2023-07-12 17:17:11 +02:00
Yuri Sizov
91fefcb546
Merge pull request #79285 from KoBeWi/instant_atlas
...
Streamline creating tile atlas sources
2023-07-12 17:17:07 +02:00
Yuri Sizov
4d862d6cc9
Merge pull request #78772 from MineBill/master
...
Fix VoxelGI saving VoxelGIData as a built-in file, despite being prompted to save it to an external file
2023-07-12 17:16:29 +02:00
Yuri Sizov
c457480ca9
Merge pull request #78604 from KoBeWi/gotta_close_fast
...
Speed up closing multiple scripts
2023-07-12 17:16:24 +02:00
Yuri Sizov
56a1d5118f
Merge pull request #59467 from rcorre/blender-wrap
...
Wrap mouse for blender-style transforms.
2023-07-12 17:15:08 +02:00
Yuri Sizov
6960a1d0e8
Merge pull request #78248 from felaugmar/load-svg-adjustable-scale
...
Added `Image::load_svg_from_(buffer|string)`
2023-07-12 15:09:03 +02:00
Theraot
a51116c6c7
Make onready variables created from dropping nodes include custom types
2023-07-12 07:58:26 -05:00
kobewi
6a7567e8f7
Change default Save Script shortcut
2023-07-12 14:25:36 +02:00
Hendrik Brucker
662d8c76b3
Remove GraphNode's comment property and related functionality
...
(this functionality will be reintroduced in a new and more flexible way)
2023-07-11 02:05:25 +02:00
Rindbee
28db5e7649
Fix history mismatch
...
Set the properties of the resource's proxy instead of setting the resource's
properties directly. (For action "Set ...")
Update the path of the edited scene when saving the scene. (For action "Add
atlas source")
2023-07-11 05:45:37 +08:00
kobewi
bdb7e62029
Streamline creating tile atlas sources
2023-07-10 15:36:00 +02:00
Rémi Verschelde
bdcbfd71a8
Merge pull request #79158 from jpcerrone/shaderinclude_fixes
...
Fix comments and indentation in .gdshaderinc files
2023-07-08 18:22:42 +02:00
Rémi Verschelde
e3dee8cea9
Merge pull request #78694 from Yadnesh-Kulkarni/bugfix-grid-view-disappear-#78588
...
Fix 3D viewport grid disappearing on scene tab changes
2023-07-08 18:16:55 +02:00
Ryan Roden-Corrent
90bddd21c8
Wrap mouse for blender-style transforms.
...
When performing a blender-style translate or scale (but not rotate),
wrap the mouse inside the bounds of the viewport. This allows moving the
mouse indefinitely for large translate or scale operations, and is
consistent with how blender works.
This enables global input processing during blender-style transforms, so
we can capture and wrap mouse events outside the bounds of the viewport.
Other wrapping operations use _sinput, which I assume is possible
because a mouse button is held, so the control receives input even when
the mouse exits the control.
This does not implement wrapping for regular (gizmo-driven) transforms,
though this could be done if desired.
Fixes godotengine/godot-proposals#4255 .
2023-07-08 07:53:47 -04:00
MewPurPur
d8d53e3370
Deselect curve point with RMB on the empty space
2023-07-08 00:31:17 +03:00
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
Tetane
1cd0a34e47
Fix Create shader Node window position on second monitor
2023-07-03 20:17:56 +02:00
Brecht Kuppens
86117f8cba
Added option to center image when loading particle emission mask
2023-07-02 12:22:38 +02: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
Samuele Panzeri
55db54a9f0
Additional cleanup of editor bones
...
As discussed in the editor channel in RC, additional cleanup for BoneTransformEditor to move editor creation in construction and access theme in NOTIFICATION_THEME_CHANGED
2023-05-15 14:07:55 +02:00
Rémi Verschelde
b497729c92
Merge pull request #77074 from spanzeri/fix-theme-crash-skeleton-editor
...
Fix Skeleton3D editor crash regression after #76592
2023-05-15 13:46:30 +02:00
Rémi Verschelde
f5d8a72e6d
Merge pull request #77034 from kleonc/spriteframes-editor-toolbar-flowcontainer
...
Make SpriteFrames editor toolbar a `FlowContainer`
2023-05-15 13:44:56 +02:00
Samuele Panzeri
a103cd76bb
Fix skeleton 3d editor crash in RC3
...
Control notifies a theme changed before the editor has entered the tree
2023-05-15 12:12:48 +02:00
Danil Alexeev
cc44d75cd8
Fix draw_multiline_colors
usage
2023-05-15 09:56:13 +03:00
kleonc
d58e832062
Make SpriteFrames editor toolbar a FlowContainer
2023-05-13 16:00:25 +02:00
kobewi
27dccf1b5e
Enhance filesystem dock tooltips
2023-05-12 19:28:34 +02:00
Bram Stolk
4bc513edbc
Add missing initializations for Node3DEditor.
...
Do not try to format fields with garbage values in _snap_update()
Initialize grid_enable[] before use.
Initialize previewing_camera before use.
These are all cases found live, with valgrind.
Fixes #76925
2023-05-11 08:16:04 -07:00
Rémi Verschelde
3fdf555d43
Merge pull request #76592 from spanzeri/fix-skeletons-and-bones
...
Fix skeleton_3d & physical_bone_3d editor errors
2023-05-11 11:46:21 +02:00
Rémi Verschelde
f7070a64e0
Merge pull request #72277 from Geometror/improve-editor-state-preservation
...
Improve editor state persistence
2023-05-11 11:45:52 +02:00
Hendrik Brucker
dc46163b12
Improve editor state persistence
2023-05-11 04:17:03 +02:00
Samuele Panzeri
679ff6da0e
Fix skeleton_3d & physical_bone_3d editor errors
2023-05-10 18:03:30 +02:00
kobewi
04317e9ced
Add metadata to resource previews
2023-05-10 14:03:10 +02:00
Rémi Verschelde
31fc7a8525
Merge pull request #62378 from trollodel/gsoc_2022_multiwindow
...
Add multi window code and shader editors (GSOC'22 Project)
2023-05-10 12:46:19 +02:00
trollodel
b4d6b47c17
Add multi window code and shader editors
2023-05-10 09:14:21 +02:00
smix8
a6ac305f96
Rework Navigation Avoidance
...
Rework Navigation Avoidance.
2023-05-10 05:01:58 +02:00
Rémi Verschelde
de14109862
Merge pull request #73588 from smosages/resolve-display-shader-settings-in-settings-editor
...
Define shader language project settings before creation of `TextShaderEditor` object.
2023-05-09 19:28:17 +02:00
jmb462
d59cdb8327
Fix regression with right click on main selection
2023-05-08 21:56:16 +02:00
Rémi Verschelde
491a437df5
Merge pull request #76540 from reduz/redo-remote-filesystem
...
Redo how the remote filesystem works
2023-05-08 13:52:51 +02:00
Rémi Verschelde
3e6a731904
Merge pull request #76418 from reduz/method-bind-validated-call
...
Add ValidatedCall to MethodBind
2023-05-08 13:52:42 +02:00
Rémi Verschelde
7f6b283212
Merge pull request #74264 from timothyqiu/self-awareness
...
Allow EditorInspector to change its property name style when necessary
2023-05-08 13:52:23 +02:00
Rémi Verschelde
b791a7acb8
Merge pull request #70488 from KoBeWi/SNAP!
...
Add proper snapping to tile polygon editor
2023-05-08 13:52:11 +02:00
Rémi Verschelde
41f1ec1efe
Merge pull request #76798 from KoBeWi/race_condition_except_there_is_no_thread
...
Fix another collision shape editor crash
2023-05-08 12:20:57 +02:00
Rémi Verschelde
eb6d6ab29f
Merge pull request #76658 from Paulb23/convert-indent-code-edit
...
Move convert_indent into CodeEdit
2023-05-08 12:20:37 +02:00
Rémi Verschelde
32fbba4bf6
Merge pull request #76472 from jmb462/multicarets_selection_popup
...
Fix right click in selection of additional caret
2023-05-08 12:20:25 +02:00
Rémi Verschelde
e70777260d
Merge pull request #70911 from Chaosus/vs_custom_gdextension_support
...
Add handling of custom visual shader nodes from GDExtension
2023-05-08 12:20:00 +02:00
Rémi Verschelde
b639076e04
Merge pull request #68800 from KoBeWi/tinfo
...
Add info label to TileMap editor
2023-05-08 12:19:52 +02:00
Juan Linietsky
273a6eeb66
Redo how the remote filesystem works
...
Instead of reading files over the network, the new version uses a local file cache and only updates files when it changes.
The original remote filesystem was created 14 years ago, when ethernet was faster than hard drives or even flash. Also, mobile devices have a very small amount of storage.
Nowadays, this is no longer the case so the approach is changed to using a persistent cache in the target device.
Co-authored-by: m4gr3d
2023-05-08 11:57:54 +02:00
Fredia Huya-Kouadio
bd1bc68ba0
Merge pull request #75718 from m4gr3d/add_scale_editor_icons_main
...
Adds a `scale_gizmo_handles` entry to the `Touchscreen` editor settings
2023-05-07 17:05:12 -07:00
Fredia Huya-Kouadio
30824e9818
Adds a scale_gizmo_handles
entry to the Touchscreen
editor settings
...
When enabled, this scales the editor icons to improve usability on touchscreen devices.
In addition this commit fixes touch detection for the collision_shape_2d_editor_plugin so it scales with the icons size.
2023-05-07 15:55:28 -07:00
Jean-Michel Bernard
5c06c030f2
Fix right click in selection of additional caret
2023-05-08 00:02:56 +02:00
VolTer
39b79bbd1e
Improvements to Gradient2D Editor
2023-05-07 22:45:11 +02:00
Paulb23
0b3fba45c6
Move convert_indent into CodeEdit
2023-05-07 13:08:37 +01:00
kobewi
01c32dffaf
Fix another collision shape editor crash
2023-05-07 02:32:20 +02:00
RedworkDE
1324c7d06a
Avoid making unnecessary copies of LocalVector
2023-05-06 20:39:03 +02:00
Max Hilbrunner
862cbe2fc6
Merge pull request #76761 from KoBeWi/this_file_ain't_big_enough_for_both_of_us
2023-05-06 15:07:35 +02:00
Max Hilbrunner
115fa34cb4
Merge pull request #76743 from HotHead007/master
2023-05-06 14:44:16 +02:00
Yuri Rubinsky
998b48f722
Add handling of custom visual shader nodes from GDExtension
2023-05-06 08:19:12 +03:00
kobewi
88ea3dd4db
Remove erroneous signal connection
2023-05-05 22:26:19 +02:00
Max Hilbrunner
f6bf51ca49
Merge pull request #75864 from KoBeWi/assassin_of_shaders
2023-05-05 14:37:54 +02:00
Manik Sharma
3ce0ebb242
Make environment energy adjustable as a float in 3D editor's preview environment
2023-05-05 09:01:46 +05:30
Manik Sharma
5e1cb39101
Make sun energy adjustable as a float in the 3D editor's preview sun
2023-05-04 10:34:07 +05:30
kobewi
24224381ec
Add proper snapping to tile polygon editor
2023-05-01 21:36:33 +02:00
Juan Linietsky
1c93606e47
Add ValidatedCall to MethodBind
...
* This should optimize GDScript function calling _enormously_.
* It also should simplify the GDScript VM considerably.
NOTE: GDExtension calling performance has most likely been affected until going via ptrcall is fixed.
2023-04-30 20:01:26 +02:00
Haoyu Qiu
d24ee551ec
Allow EditorInspector to change its property name style when necessary
...
Previously, an EditorInspector's property name can only be set from
outside. Inspectors used for settings needs to respond to changes in
editor settings. So a few boilerplate code is almost always needed,
including watching for a certain editor setting in `_notification()`.
This commit adds a `set_use_settings_style()` function to tell the
inspector to watch for editor settings changes on its own.
2023-04-29 10:51:00 +08:00
Tetane
d3792a2373
Use a SubViewport for CanvasItem inspector preview
2023-04-28 22:43:47 +02:00
kobewi
e5d0bb1605
Fix CollisionShape2D editor crash
2023-04-28 16:25:38 +02:00
kobewi
d8e39912f8
Improve reliability of 2D shape editor redrawing
2023-04-27 02:44:14 +02:00
Yuri Sizov
26fb911f79
Merge pull request #72095 from anvilfolk/gd-docs
...
Improve GDScript documentation generation & behavior
2023-04-26 16:54:25 +02:00
Rémi Verschelde
8f7b09916d
Merge pull request #76026 from YuriSizov/editor-running-up-that-gui
...
Extract editor run toolbar into its own component
2023-04-26 12:15:29 +02:00
Silc Renew
fac8a918f9
Expose interpolation methods for 3D track in Animation class
2023-04-25 01:45:14 +09:00
Rémi Verschelde
13544fb508
Merge pull request #75759 from TokageItLab/reimplement-grouped-statemachine
...
Rework for nested `AnimationNodeStateMachine`
2023-04-24 16:44:21 +02:00
Jakub Sygnowski
07258c3984
Store lock view rotation whether its on or off
2023-04-23 15:18:22 +01:00
ocean (they/them)
6783ff69c0
Improve and fix GDScript documentation generation & behavior
...
Removes documentation generation (docgen) from the GDScript compiler to
its own file. Adds support for GDScript enums and signal parameters and
quite a few other assorted fixes and improvements.
2023-04-21 10:17:30 -04:00
Rémi Verschelde
77fc22d6e2
Merge pull request #76290 from JohanAR/light_is_directional_spatial
...
Add LIGHT_IS_DIRECTIONAL built-in for spatial shaders
2023-04-21 15:50:27 +02:00
Rémi Verschelde
1a6d198759
Merge pull request #76282 from smix8/node_3d_gizmo_split_4.x
...
Split Node3DGizmos into dedicated files
2023-04-21 15:50:02 +02:00
smix8
808af8e837
Split Node3DGizmos into dedicated files
...
Splits Node3DGizmos into dedicated files.
2023-04-20 20:12:47 +02:00
Johan Aires Rastén
14a8124ffe
Add LIGHT_IS_DIRECTIONAL built-in for spatial shaders
2023-04-20 14:33:30 +02:00
kobewi
ff310f0969
Add shortcut for quick-toggling word wrap
2023-04-19 23:46:22 +02:00
Yuri Sizov
8a74d8438f
Extract editor run toolbar into its own component
...
- Simplify and update its logic.
- Simplify EditorScript.
- Improve EditorNode and other relevant includes.
- Fix scene-based path in the movie writer when
reloading a scene.
2023-04-19 17:12:28 +02:00
Rémi Verschelde
c01b11ec81
Merge pull request #76229 from KoBeWi/out_of_control
...
Remove wrong Ctrl from 2D editor tooltip
2023-04-19 10:13:52 +02:00
Rémi Verschelde
5bb46d6064
Merge pull request #76176 from YuriSizov/editor-extracted-interface-commencing
...
Decouple `EditorInterface` from `EditorPlugin`
2023-04-18 23:41:20 +02:00
kobewi
75f2d7f5c4
Remove wrong Ctrl from 2D editor tooltip
2023-04-18 22:43:50 +02:00
Dipal Zambare
c4f31e3333
Add Close Docs item in script editor context menu
2023-04-18 16:42:54 +02:00
Yuri Sizov
9e6b680cfb
Merge pull request #74814 from kleonc/tilemap-fix-rendering-odd-sized-tiles
...
`TileMap` Fix rendering odd-sized tiles
2023-04-18 16:27:44 +02:00
Silc Renew
991e6e90ba
Rework StateMachine and nested StateMachine process
...
Breaking compatibility: If a StateMachineTransition is connected to a nested StateMachine prior to this, it is removed. Also, there was a feature to connect another StateMachine as the End of a StateMachine, which is also removed to avoid reference confusion. It was like a GoTo Statement, also further passing the same reference to the blending process, causing the blending calculation to break or causing some StateMachines to not work.
2023-04-18 19:06:51 +09:00
Yuri Sizov
49d7041d34
Decouple EditorInterface from EditorPlugin
...
- Simplify some includes in the process.
- Also exposes EditorInterface.movie_maker_enabled as a property.
2023-04-17 21:59:09 +02:00
Rémi Verschelde
4cfa718579
Merge pull request #75997 from hakro/update-cursor-when-panning
...
Change cursor consistently when panning in the 2D Editor
2023-04-13 09:55:53 +02:00
Hakim
f4edbe6341
Change cursor consistently when panning in the 2D Editor
2023-04-12 19:47:43 +02:00
clayjohn
9be0a73294
Add EXPOSURE built in to spatial shaders
...
This allows users to restore light values to pre-pre-exposure amounts
2023-04-12 10:35:13 -07:00
Rémi Verschelde
fff0ee0fc4
Merge pull request #75822 from YeldhamDev/no_multi_zero
...
Remove unnecessary zero multiplications
2023-04-11 19:40:40 +02:00
Rémi Verschelde
c5d9470c7c
Merge pull request #75765 from YuriSizov/editor-node-optimize-includes
...
Improve includes of `EditorNode` (and everything else)
2023-04-11 19:40:24 +02:00
kobewi
71011e0855
Adjust size of some dialogs
2023-04-10 17:04:53 +02:00
Yuri Sizov
5243f5cece
Merge pull request #72152 from smix8/mcd_settings_4.x
...
Add Mesh ConvexDecompositionSettings wrapper
2023-04-10 12:52:23 +02:00
kobewi
aaf02ec04a
Close built-in shaders when closing scene
2023-04-09 22:10:43 +02:00
kobewi
b0eadcfbce
Initialize editor values on first launch
2023-04-09 09:52:18 +02:00
Michael Alexsander
f057d755ab
Remove unnecessary zero multiplications
2023-04-08 09:31:05 -03:00
fuzzy@notepc
c6a45f1031
Fix #75790 , where creating Ceil(Vector2) node in Visual Shader Editor
...
crashes engine due to index out of bounds.
2023-04-08 13:30:11 +09:00
smix8
1549aeaef8
Add Mesh ConvexDecompositionSettings wrapper
...
Adds wrapper MeshConvexDecompositionSettings to control parameters for Mesh ConvexDecomposition operations.
2023-04-07 22:39:25 +02:00
Yuri Sizov
4154039832
Improve includes of EditorNode (and everything else)
...
Also start organizing editor-specific GUI components
into a dedicated folder, `editor/gui`.
Also move `editor_file_server` next to the rest of debugger classes.
2023-04-07 18:59:49 +02:00
Yuri Sizov
920e8067f7
Merge pull request #68091 from AThousandShips/sprite_frames_order
...
Improve SpriteFrameEditor frame addition ordering
2023-04-07 13:13:41 +02:00
Yuri Sizov
9b500ab53c
Fix premature theme item access in editor tools
2023-04-03 18:01:11 +02:00
kobewi
13c8a9890d
Improve editor state initialization
2023-04-03 16:27:19 +02:00
Rémi Verschelde
632491f6da
Merge pull request #74682 from KoBeWi/snappy_snapping
...
Properly remember snapping options per-project
2023-04-03 16:01:07 +02:00
Rémi Verschelde
e359eaf451
Merge pull request #74319 from jbuck3/script-file-menu
...
Re-enable script editor File menu shortcuts when the menu is hidden
2023-04-03 16:00:17 +02:00
Rémi Verschelde
7f332ec78c
Merge pull request #73249 from KoBeWi/image_for_your_inspector
...
Improve Image preview in the inspector
2023-04-03 15:59:26 +02:00
Ninni Pipping
83d85048ea
Improve SpriteFrameEditor frame addition ordering
2023-03-30 18:56:46 +02:00
Yuri Sizov
d2c10575bb
Merge pull request #75426 from timothyqiu/auto-translate
...
Turn off auto translate for some editor controls
2023-03-30 18:30:32 +02:00
kobewi
2fcfef15da
Don't allow selecting nodes without owner
2023-03-30 16:52:22 +02:00
kleonc
c72b09639a
TileSet editor AtlasMergingDialog crash fix
2023-03-28 20:07:26 +02:00
Haoyu Qiu
26553be424
Turn off auto translate for some editor controls
...
* Scene tab
* Animation name list in Animation panel
* Feature profile name list in Editor Feature Profile dialog
* Layout names in editor layout menu
* Subresource list in Inspector dock
* Resource type shown in EditorResourcePicker
* Enum dropdowns in inspectors: We'll eventually allow auto translating
these after implementing a way to opt-out auto translation on a
property-by-property basis and a way to extract enumerators.
2023-03-28 23:18:32 +08:00
Yuri Sizov
6e5713cc96
Merge pull request #74982 from kleonc/tile-map-editor-fix-preview-transforms
...
TileMapEditor Fix preview rendering and transform calculations
2023-03-20 16:26:40 +01:00
kleonc
224c66324b
TileMapEditor Fix preview rendering and transform calculations
2023-03-16 14:52:38 +01:00
Yuri Sizov
ac2e82463c
Merge pull request #74114 from dalexeev/editor-help-enable-context-menu
...
Enable `RichTextLabel` context menu if selection is enabled
2023-03-16 12:19:05 +01:00
Yuri Sizov
f08ffdc372
Merge pull request #74869 from fahadshihab/master
...
Added drag and drop support for shader include files in shader editor
2023-03-15 16:17:50 +01:00
Yuri Sizov
3596443de1
Merge pull request #74727 from AThousandShips/project_settings
...
Exposing more project settings for documentation
2023-03-15 15:59:10 +01:00
Yuri Sizov
f9125e6cf1
Merge pull request #74660 from and-rad/shader-editor-trim-whitespace
...
Shader editor trims trailing whitespace if set in editor settings
2023-03-15 15:05:39 +01:00
Fahad Shihab
e5601b517e
Added drag and drop support for shaderinclude
...
Dragging and dropping now works for shader include file.
2023-03-15 19:24:35 +05:30
Ninni Pipping
bd30847e59
Exposing more project settings for documentation
2023-03-15 14:25:40 +01:00
Yuri Sizov
c5977064a3
Make the request to redraw when clearing guides a part of UndoRedo
2023-03-14 13:31:20 +01:00
kleonc
c49a7feae3
TileMap Fix rendering odd-sized tiles
2023-03-12 16:20:38 +01:00
yedpodtrzitko
e13bcf5b84
clear filter input in Project Settings when opening Layers
2023-03-10 20:18:37 +08:00
kobewi
45b47d5584
Properly remember snapping options per-project
2023-03-09 21:12:26 +01:00
Andreas Raddau
1566b402c1
Shader editor trims trailing whitespace if set in editor settings
2023-03-09 17:27:23 +01:00
Haoyu Qiu
bef7f14885
Add missing TTRs in tiles editor and array inspector
2023-03-09 14:38:54 +08:00
Ryan Roden-Corrent
d3d1223b97
Don't unset local_coords on starting transform.
...
This fixes a bug introduced by 806425621c
, where dragging the gizmo no longer respected local transforms.
I'm not sure why I called set_local_coords_enabled(false) in _compute_edit. Removing this line seems to fix gizmo-dragging local transforms, without breaking anything else.
I also noticed that confirming a transform leaves the gizmo axis lines on the screen. This is fixed by calling update_transform_gizmo after clearing the edit mode/instant flags, so update_transform_gizmo knows not to render any axes.
2023-03-08 07:13:37 -05:00
Yuri Sizov
5a3dbea3ed
Add missing handler for removing font sizes in Themes
2023-03-07 13:42:42 +01:00
Rémi Verschelde
4cdb3e3274
Merge pull request #74401 from stmSi/fix-search-results-cannot-goto-builtin-script-line
...
Fix `Find in Files` Search Results cannot open builtin script
2023-03-07 12:05:08 +01:00
Rémi Verschelde
faf0be741a
Merge pull request #74068 from the-sink/guide_redraw
...
Redraw 2D viewport when guides are cleared
2023-03-07 12:04:48 +01:00
Rémi Verschelde
c3c425c25f
Merge pull request #71156 from EricEzaM/71113-cancelling-node-selection-with-escape-breaks-shape-editing-undo
...
Fix cancelling selection (pressing escape) while gizmo editing making uncommitted changes.
2023-03-07 12:03:42 +01:00
Rémi Verschelde
e404a7a8ee
Merge pull request #59443 from rcorre/blender-xform-local-space
...
Disable local space for blender transforms.
2023-03-07 12:00:17 +01:00
stmSi
f1f4c5b10b
Fix Find in Files
Search Results cannot open builtin script
2023-03-07 02:49:14 +06:30
Danil Alexeev
06c7940a5a
Enable RichTextLabel
context menu if selection is enabled
2023-03-06 13:18:36 +03:00
Danil Alexeev
2edf1bd76a
Use nearest with mipmaps texture filter in SpriteFrames editor plugin
2023-03-04 08:48:49 +03:00
James Buck
de49bec30e
Re-enable script editor File menu shortcuts when the menu is hidden
2023-03-03 12:14:51 -06:00
Rémi Verschelde
540b17874e
Merge pull request #73685 from Calinou/textureregion-polygon-editors-default-pot-grid-size
...
Use 8×8 default grid size for TextureRegion and 2D polygon editors
2023-03-03 11:03:17 +01:00
Rémi Verschelde
d76c1c4f45
Merge pull request #73651 from hakro/editor-freelook-physical-shortcuts
...
Use physical shortcuts for freelook navigation in the editor
2023-03-03 11:02:53 +01:00
Rémi Verschelde
eafc88c835
Merge pull request #73514 from AThousandShips/tile_origin_fix
...
Fix TileSetEditor paiting texture_origin Vector2i
2023-03-03 11:02:24 +01:00
Ninni Pipping
fb317546fe
Fix TileSetEditor paiting texture_origin Vector2i
2023-03-02 12:06:27 +01:00
Rémi Verschelde
7e11cc8aa0
Merge pull request #74039 from daBlesr/tilemap-remember-previosuly-selected-tile
...
Remember previously selected TileMap tile.
2023-03-02 11:41:48 +01:00
Niels Drost
66374c8dce
TileSet editor was out of sync with TileMap and incorrectly overwrote old selected TileSet after an edit call with a null pointer.
2023-02-28 22:30:46 +01:00
the-sink
0c051f41b1
Redraw 2d viewport when guides are cleared
2023-02-27 09:03:56 -08:00
bruvzg
c2d678a924
Fix GDExtensions library export when multiple architectures are set.
2023-02-27 17:00:38 +02:00
clayjohn
c69b14e96e
Add warnings for unsupported features in mobile and gl_compatibility backends
2023-02-26 12:28:02 -08:00
smosages
786ad514df
Move ShaderWarning definitions into rendering_server
2023-02-25 12:14:25 +01:00
Rémi Verschelde
75c0027e5a
Merge pull request #73887 from nklbdev/master
...
fix typo `set_polygon` in GenericTilePolygonEditor
2023-02-25 01:01:26 +01:00
nklbdev
834a6c5983
fix typo set_polygon
in GenericTilePolygonEditor
2023-02-25 00:57:34 +05:00
bruvzg
cebfc02d6f
Revert "Reordering emitted signals in PopupMenu" and fix editor selection issue in the safer way.
2023-02-24 21:17:05 +02:00
kobewi
f3040be3ba
Fix Polygon3DEditor parenting errors
2023-02-22 03:17:29 +01:00
kobewi
5906d6de8e
Fix line folding with multiple carets
2023-02-21 21:28:26 +01:00
Hugo Locurcio
0f73ef1df9
Use 8×8 default grid size for TextureRegion and 2D polygon editors
...
Power-of-two grid sizes are more suited to most game assets.
2023-02-21 17:02:24 +01:00
Hakim
52de40310a
Use physical shortcuts for freelook navigation in the editor
2023-02-21 10:56:14 +01:00
Rémi Verschelde
62d4d8bfc6
Merge pull request #73634 from KoBeWi/merged_into_error
...
Fix tile atlas merging crash
2023-02-20 22:46:31 +01:00
bruvzg
b3c64675cc
[macOS] Replace all Alt/Option+Letter/Number
default shortcuts to avoid conflicts with special character input.
2023-02-20 22:02:47 +02:00
kobewi
97bd6c0539
Don't save scripts when exiting editor
2023-02-20 19:29:20 +01:00
kobewi
56251cf08c
Fix tile atlas merging crash
2023-02-20 18:22:44 +01:00
Eldor Zang
62976659b8
Set default name if SpriteFrames name is empty
2023-02-17 15:29:07 +01:00
Rémi Verschelde
b2584629c8
Merge pull request #73195 from timothyqiu/weblate-comments
...
Improvements and fixes based on Weblate comments
2023-02-17 09:55:39 +01:00
rsjtdrjgfuzkfg
331dd33009
Theme Editor: fix leading styleboxes / main styles
...
Recent changes in Godot cause the theme editor to become hidden when
editing a child resource. This causes a crash when editing style box
resources marked as "main styles" (= leading styleboxes in the code), as
they try to reference the currently edited theme.
This commit works around the issue by permitting the Theme Editor to
keep a reference to the most recently edited Theme. Furthermore, it adds
an assertion to avoid a similar crash in the future.
Long-term, the workaround should probably be removed when the theme editor
is fixed to remain visible while editing child resources, but I'd keep
the assertion.
2023-02-16 20:41:51 +01:00
Rémi Verschelde
373cbbe7b2
Merge pull request #73375 from KoBeWi/save_us_all_from_crash
...
Fix Save All trying to save empty scene paths
2023-02-16 11:01:48 +01:00
kobewi
f579c0a79f
Fix Save All trying to save empty scene paths
2023-02-15 17:29:52 +01:00
Haoyu Qiu
ccc3bdebb3
Add missing i18n in tiles editor
2023-02-15 23:08:03 +08:00
Rémi Verschelde
56d78c32f7
Merge pull request #68558 from dzil123/remove_duplicate_wireframe
...
Node3DEditorViewport - Remove duplicate wireframe check and cleanup
2023-02-14 13:36:52 +01:00
Rémi Verschelde
76876a7337
Merge pull request #73259 from KoBeWi/spaghetti_map
...
Fix some TileMap errors and crashes
2023-02-14 11:06:39 +01:00
Rémi Verschelde
bed1ebd527
Merge pull request #72259 from Paulb23/json-editing
...
Support editing JSON in ScriptEditor
2023-02-14 11:04:17 +01:00
kobewi
be6d5bbba6
Fix some TileMap errors and crashes
2023-02-14 00:39:41 +01:00
Ryan Roden-Corrent
806425621c
Disable local space for blender transforms.
...
Having local_space enabled when starting a transform changed the
behavior of VIEW space transforms. Now we disable local_space when
starting a blender transform (there was already logic to restore the
setting after the transform ends).
This also hides the gizmo while performing a blender transform,
otherwise the user will see it snap back and forth between the local and
global alignment. I think the transform looks cleaner with the gizmo
hidden anyways.
Fixes #59392 .
2023-02-13 18:09:44 -05:00
kobewi
390bb23675
Improve Image preview in the inspector
2023-02-13 23:03:38 +01:00
Rémi Verschelde
853c36ca0b
Merge pull request #61411 from snailrhymer/tilemap-editor-scattering
...
Fix random placement behaviour in new TileMap Editor
2023-02-13 21:14:40 +01:00
Haoyu Qiu
84aee17901
Improvements and fixes based on Weblate comments
...
* Description of `ui_text_submit` action should be "Submit Text" instead of "Text Submitted".
* Spell out "Animation" instead of using "Anim.".
* Treat "Max" as regular word instead of writing "Max.".
* Use generic "Set %s" for action name instead of a dedicated "Set target_position".
* Add translator comment for:
* "Inclusive" and "Self" in the profiler.
* Places where it needs the context about being an editor progress label.
* "Duplicated Animation Name" since it's refering to the new name of a duplicated animation.
* Disambiguation of "View Plane Transform", "Paste Selects" and "Display Normal".
* Fix wrong undo action name for renaming an input action.
* Fix missing end quote in a shader error message.
* In class reference:
* Fix duplicated "if" in the description of `signf()`.
* Fix mismatched example output in `String.operator %()`.
* Fix typo in the description of `Decal.texture_emission`.
* Unify description of `String.match()` and `StringName.match()`.
2023-02-13 15:22:18 +08:00
aXu-AP
bdfb10fb98
Rework code editor multiline operations
...
Fix bugs if 2 selections were on same line.
Fix bugs when selection ended at new line.
Make carets stay in place after operation and on undo.
Affects: delete lines, move lines, toggle comments, bookmarks and breakpoints.
2023-02-12 20:53:49 +02:00
MmAaXx500
aa9d2149e7
Round 2: Fix mesh library remove selected item menu option
...
Previous pr: #46435
Fixes : #45969
2023-02-12 11:39:55 +01:00
Haz
189acbee60
Fix mesh library remove selected item menu option
...
Fixes #45969 .
2023-02-11 21:40:50 +01:00
Rémi Verschelde
44b41ded82
Merge pull request #73098 from YuriSizov/editor-dont-hide-plugins
...
Avoid cleaning up editor plugins when property list changes
2023-02-11 15:35:56 +01:00
Rémi Verschelde
ec55278415
Merge pull request #73092 from TokageItLab/ray-is-what
...
Remove WARNING "ray: index" for debug from SkeletonEditor
2023-02-11 14:38:42 +01:00
Yuri Sizov
18d6c91e8e
Avoid cleaning up editor plugins when property list changes
...
Also removes a usability hack from the Theme editor, as it doesn't work anymore,
and it confuses the Inspector.
2023-02-11 14:38:07 +01:00
Silc Renew
46645a34e3
Remove WARNING "ray: index" for debug from SkeletonEditor
2023-02-11 20:53:01 +09:00
heppocogne
78ea4b2f0c
Fix code editor's ColorPicker issue
...
ColorPicker now supports color constants.
Modify code comments.
2023-02-11 00:14:14 +01:00
SnailRhymer
db8d308830
Fix random placement behaviour in new TileMap Editor
...
Fix a bug where scattering could be set to e.g. 0.9 but a tile would still always be placed, as the check rand > 0.9 would be run on every mouse movement until it was successful.
2023-02-10 19:08:03 +01:00
Rémi Verschelde
44d5d4e3cd
Merge pull request #73007 from KoBeWi/typos_be_like
...
Fix error spam when deselecting TileMap
2023-02-10 15:06:40 +01:00
Rémi Verschelde
bd09fcc3ca
Merge pull request #73034 from groud/fix_tilemap_pattern
...
Fix TileMap patterns creation
2023-02-10 15:06:35 +01:00
Gilles Roudière
89ccdc7d34
Fix TileMap patterns creation
2023-02-10 10:46:19 +01:00
kobewi
f92392ce23
Fix error spam when deselecting TileMap
2023-02-10 01:07:48 +01:00
Rémi Verschelde
b12bf7ff02
Merge pull request #69550 from Rindbee/fix-script-editor-not-reload-via-lsp
...
Fix internal editor not updating when using external editor via LSP
2023-02-09 14:01:33 +01:00
Haoyu Qiu
a40ccc2d7e
Improve some editor strings for localization
2023-02-09 19:32:02 +08:00
kobewi
979b53aba4
Add info label to TileMap editor
2023-02-08 20:26:53 +01:00
Silc Renew
0069131546
Fix ghost SpriteFramesEditor cause crash
2023-02-06 14:08:12 +09:00
Rémi Verschelde
ea5cf7d4b8
Merge pull request #72655 from smix8/navigationmesh_bake_aabb_fix_4.x
...
Fix NavigationMesh baking AABB Editor handling and visuals
2023-02-04 00:21:33 +01:00
Silc Renew
1459b9c24c
Fix scaled_orthogonal() & subgizmo global scaling
2023-02-04 00:46:04 +09:00
Yuri Rubinsky
c0a3129210
Prevent preview error for the instance parameter in visual shader
2023-02-03 15:28:04 +03:00
smix8
7caf08ec75
Fix NavigationMesh baking AABB Editor handling and visuals
...
Fixes handling and visuals for Navigation Mesh baking AABB in the Editor.
2023-02-03 11:54:13 +01:00
Rémi Verschelde
1d61150f8f
Merge pull request #72509 from TokageItLab/seekcon
...
Consistent with NodeTimeSeek parameters OtherNodes
2023-02-02 16:27:19 +01:00
Silc Renew
2a39b5bcde
Remove meaningless rename_parameter
in AnimationTree
2023-02-01 23:14:36 +09:00
Silc Renew
6782edd5a4
Consistent with NodeTimeSeek parameters OtherNodes
2023-02-01 20:58:36 +09:00
Rémi Verschelde
e8240031e7
Merge pull request #71479 from raulsntos/virtual-return-type
...
Use enum instead of int in virtual methods return type
2023-02-01 07:45:28 +01:00
Rémi Verschelde
ab4d8df163
Merge pull request #72485 from BastiaanOlij/add_eye_matrix_access
...
Expose EYE_OFFSET to gdshader code
2023-02-01 07:33:18 +01:00
Rémi Verschelde
3eb1ac9fd2
Merge pull request #72075 from Maran23/extents-to-size
...
Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and GPUParticles*3D
2023-02-01 07:30:09 +01:00
Bastiaan Olij
8c77aea9ab
Expose EYE_OFFSET to gdshader code
2023-02-01 12:39:13 +11:00
Raul Santos
c7f4ca36a4
Use PropertyUsageFlags
enum in parse_property
2023-01-31 23:31:15 +01:00
Marius Hanl
a59819630d
Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and GPUParticles*3D
...
- Extents are replaced by Size (Size is Extents * 2)
- The UI text displays 'Size'
- Snapping is adjusted to work with Size
- _set and _get handle extents for compatibility
Co-authored-by: ator-dev <dominic.codedeveloper@gmail.com>
2023-01-31 20:04:11 +01:00
Rémi Verschelde
92a6586fb6
Merge pull request #72396 from TokageItLab/bs1dconsist
...
Consistent with NodeBlendSpace1D option NodeBlendSpace2D
2023-01-31 15:55:53 +01:00
Silc Renew
23f566ee1f
Fix switching method in SpriteFramesEditor
2023-01-31 19:56:02 +09:00
Rémi Verschelde
ae2d2ce407
Merge pull request #71499 from dalexeev/improve-sprite-frame-editor
...
Few improvements for SpriteFrames Editor
2023-01-31 10:53:22 +01:00
clayjohn
9071809021
Remove viewport_set_disable_environment in favor of viewport_set_environment_mode
...
This allows us to set a default value inherited by child viewports and have child viewports set the value themselves which is needed for disabling the environment in the editor
2023-01-30 12:25:49 -08:00
Danil Alexeev
ca7209aaef
Few improvements for SpriteFrames Editor
2023-01-30 21:14:10 +03:00
Silc Renew
a0c4f849e0
Consistent with NodeBlendSpace1D option NodeBlendSpace2D
...
Co-authored-by: Skrapion <rick@firefang.com>
2023-01-31 02:14:55 +09:00
Rémi Verschelde
adb4ecf7a5
Merge pull request #72362 from TokageItLab/fix-scale-gizmo
...
Fix scale tool with view plane is weird in 3D
2023-01-30 10:32:06 +01:00
Silc Renew
9bd63acbd8
Fix scale tool with view plane is weird in 3D
2023-01-30 17:14:34 +09:00
Silc Renew
df50929043
Tweak the name for duplicated animations in the editor
2023-01-30 07:53:42 +09:00
Paulb23
a197d6ef4e
Support editing JSON in ScriptEditor
2023-01-28 16:06:13 +00:00
Yuri Rubinsky
2afa175195
Merge pull request #72174 from bitsawer/shader_include_fixes
...
Close undefined
Fix undefined
2023-01-28 09:54:41 +03:00
Rémi Verschelde
525db733c8
Merge pull request #72129 from groud/unclamp_texture_origin
...
Rename texture_offset and unclamp it
2023-01-27 15:40:52 +01:00
bitsawer
0acaccebaf
Fix several shader preprocessor include issues
2023-01-27 14:37:55 +02:00
Gilles Roudière
d7f3bd50bd
Rename texture_offset and unclamp it
2023-01-27 11:04:45 +01:00
Rémi Verschelde
91c0ed5e33
Merge pull request #71907 from TokageItLab/change-animated-sprite-api
...
Make `AnimatedSprite`'s playback API consistent with `AnimationPlayer`
2023-01-27 10:32:23 +01:00
kobewi
b5fda06f20
Don't change region_rect when setting texture
2023-01-26 23:02:26 +01:00
Rémi Verschelde
91ad92657e
Merge pull request #69689 from smix8/navagent_rename_location_4.x
...
Rename Navigation uses of 'location' to 'position'
2023-01-26 22:57:03 +01:00
smix8
bf1571979c
Rename Navigation uses of 'location' to 'position'
...
Contrary to the entire rest of the engine NavigationAgent's and NavigationLinks decided to deal with locations instead of positions.
2023-01-26 18:19:03 +01:00
Silc Renew
17bf6238fc
Make AnimatedSprite's playback API consistent with AnimationPlayer
2023-01-26 12:40:19 +09:00
Rémi Verschelde
04591379d0
Merge pull request #72043 from SaracenOne/animation_tree_crashfix
...
Fix crash when switching to a different node from AnimationTree
2023-01-26 01:08:35 +01:00
Rémi Verschelde
aeac5a80af
Merge pull request #72050 from groud/flow_tilemap_toolbar
...
Make TileMap toolbar a FlowContainer
2023-01-26 01:07:48 +01:00
Danil Alexeev
b004f8180e
GDScript: Allow constant expressions in annotations
2023-01-25 18:43:56 +03:00
Gilles Roudière
156c4cbcb8
Make TileMap toolbar a FlowContainer
2023-01-25 16:27:28 +01:00
SaracenOne
f424a748ff
Fix crash when switching to a different node from AnimationTree
2023-01-25 14:36:19 +00:00
Rémi Verschelde
6369196b96
Merge pull request #71284 from SaracenOne/state_machine_editor_extra_info
...
Transition progress display in Animation State Machine Editor
2023-01-25 12:18:31 +01:00
Rémi Verschelde
cb6dea8513
Merge pull request #65419 from SaracenOne/tileset_read_only
...
Add read-only mode to tileset editor
2023-01-25 12:18:08 +01:00
Rémi Verschelde
5f335a7879
Merge pull request #72020 from vmedea/tile-editor-thread-fix
...
Fix: use the right tile_set in TilesEditorPlugin::_thread
2023-01-25 11:59:39 +01:00
Rémi Verschelde
fc400d1562
Merge pull request #71685 from groud/gesture_into_viewpanner
...
Add gesture to ViewPanner and simplify a bit its API
2023-01-25 11:59:11 +01:00
SaracenOne
02a82c9531
Add indicator for state machine transition fade progress and position of state transitioning from.
2023-01-25 10:17:55 +00:00
SaracenOne
f5d1cf57bd
Add read-only mode to tileset editor.
2023-01-25 09:50:54 +00:00
mara
655b32187f
Fix: use the right tile_set in TilesEditorPlugin::_thread
...
Instead of using the class member, use the item's tile set, as is
the intent.
This fixes an almost immediate crash in the editor for me.
2023-01-25 10:00:25 +01:00
Rémi Verschelde
5743c17001
Merge pull request #71904 from Chaosus/vs_custom_nodes
...
Add handling of script creation/deletion for custom visual shader nodes
2023-01-25 09:20:26 +01:00
SaracenOne
1594b6ffaf
Improve editor handling of Skeleton3D nodes with zero bones.
...
Explicit warnings about creating physical skeletons
Silence errors from gizmos for 0 bone Skeleton3D nodes
More consistent naming for bone_count variables
2023-01-24 08:15:24 +00:00
Rémi Verschelde
1dfd236f15
Merge pull request #70377 from dsnopek/server-export-mk2
...
Add "dedicated server" export mode which can strip unneeded visual resources
2023-01-23 22:13:28 +01:00
David Snopek
74458b6e9b
Add "dedicated server" export mode which can strip unneeded visual resources
2023-01-23 13:24:54 -06:00
Gilles Roudière
a3b431b09d
Add gesture to ViewPanner and simplify a bit its API
2023-01-23 16:43:53 +01:00
Rémi Verschelde
0927e2cffc
Merge pull request #63251 from SaracenOne/disable_data_generation_on_foreign_resources
...
Disable navmesh, lightmap, and VoxelGI generation on foreign data
2023-01-23 15:35:31 +01:00
Yuri Rubinsky
6713e0fa5b
Add handling of script creation/deletion for custom visual shader nodes
2023-01-23 15:30:17 +03:00
Rémi Verschelde
9937915ad7
Merge pull request #70548 from MewPurPur/fix-some-gradient-jank
...
Fix Gradient Editor bugs
2023-01-23 12:26:45 +01:00
Rémi Verschelde
d065281bc0
Merge pull request #59081 from Sauermann/fix-cursorshape-canvasitemeditor
...
Use get_cursor_shape for identifying the cursor shape in CanvasItemEditor
2023-01-23 12:26:35 +01:00
VolTer
b7b4133429
Fix Gradient Editor bugs
2023-01-23 12:05:14 +01:00
Rémi Verschelde
5b1df48c6c
Convert en_GB spelling to en_US with codespell
2023-01-23 11:02:20 +01:00
kobewi
80723d2537
Fix handling of nulls in some editors
2023-01-23 09:59:48 +01:00
Rémi Verschelde
eaf306e0b1
Merge pull request #71864 from KoBeWi/drag_and_fail
...
Fix script editor drag and drop
2023-01-22 17:54:11 +01:00
Rémi Verschelde
5068d82374
Merge pull request #71686 from YuriSizov/stylebox-min-size-but-better
...
Clean-up, harmonize, and improve StyleBox API
2023-01-22 17:53:04 +01:00
kobewi
80b9d9537c
Fix script editor drag and drop
2023-01-22 17:07:55 +01:00
Rindbee
64edc7a5c2
Fix internal editor not updating when using external editor via LSP
2023-01-22 18:27:22 +08:00
Rémi Verschelde
c0f35a8db1
Merge pull request #71839 from TokageItLab/expose-fading-from-statemachine
...
Expose `fading_from` from StateMachine
2023-01-22 11:08:34 +01:00
Rémi Verschelde
bda87300e8
Merge pull request #71770 from KoBeWi/better_editing_or_something
...
Rework EditorPlugin editing logic
2023-01-22 11:07:39 +01:00
Silc Renew
8b04f58604
Expose fading_from_node from StateMachine
2023-01-22 15:50:53 +09:00
kobewi
4ae168eb04
Rework EditorPlugin editing logic
2023-01-22 00:20:45 +01:00
Rémi Verschelde
c3539b4561
Merge pull request #70773 from KoBeWi/lector
...
Add range iterator to LocalVector
2023-01-21 20:53:29 +01:00
Rémi Verschelde
229c82690d
Merge pull request #70294 from KoBeWi/treedulate
...
Add a method to get global modulate
2023-01-21 20:51:42 +01:00
kobewi
615c517034
Use range iterators in LocalVector loops
2023-01-21 18:44:42 +01:00
Eric M
4074c647e4
Fix 3D editor Perspective/Ortho shortcut inconsistency
2023-01-21 23:18:13 +10:00
Rémi Verschelde
28a24639c3
Merge pull request #48570 from Calinou/animation-editors-new-name
...
Tweak the name for new animations in the editor
2023-01-20 08:50:40 +01:00
Rémi Verschelde
ce1233dc52
Merge pull request #71688 from TokageItLab/clean-bsp2edit
...
Remove a duplicated unnecessary line from BlendSpace2DEditor
2023-01-20 08:48:07 +01:00
Rémi Verschelde
d919d77367
Merge pull request #71418 from TokageItLab/restart-anim-tree
...
Allow AnimationStateMachine / AnimationNode to restart when transitioning to the same state
2023-01-19 21:52:35 +01:00
Rémi Verschelde
4ca6a9809d
Merge pull request #44596 from KoBeWi/ 🧹 🧹 🧹
...
Cleanup unused engine code v2
2023-01-19 19:32:51 +01:00
Silc Renew
f994535f09
Remove a duplicated unnecessary line from BlendSpace2DEditor
2023-01-20 03:23:12 +09:00
Yuri Sizov
752402cf35
Clean-up, harmonize, and improve StyleBox API
...
- Make all margin properties follow the same naming convention (their getter and setter too).
- Remove a virtual counterpart of `get_style_margin` from API.
- Allow to override `get_minimum_size` from scripting and remove `get_center_size`.
2023-01-19 20:02:21 +03:00
Rémi Verschelde
6262c89b8c
Merge pull request #71664 from groud/solve_few_problems_with_tile_animations
...
Fix a few issues with tile animations
2023-01-19 13:23:52 +01:00
kobewi
c0083e431b
Cleanup unused engine code v2
2023-01-19 13:02:18 +01:00
Gilles Roudière
ecb9c48b9f
Fix a few issues with tile animations
2023-01-19 11:20:06 +01:00
Rémi Verschelde
4679f8724a
Merge pull request #71628 from reduz/fixup-editor-file-system-script-parsing
...
Clean up EditorFileSystem script parsing
2023-01-19 10:09:55 +01:00
clayjohn
faea9f5c10
Remove SCREEN_TEXTURE, DEPTH_TEXTURE, and NORMAL_ROUGHNESS_TEXTURE
...
in favour of texture hints
2023-01-18 19:52:47 -08:00
Rémi Verschelde
d93b66ad4d
Merge pull request #71648 from clayjohn/ED-UV-scale
...
Use a fixed width of 1 pixel for editor debug UV drawing
2023-01-18 22:49:02 +01:00
clayjohn
d77b2feddd
Use a fixed width of 1 pixel for editor debug UV drawing
2023-01-18 13:38:37 -08:00
Rémi Verschelde
35326d3dc5
Merge pull request #71626 from groud/fix_add_tileset_layer_undo
...
Fixes TileSet layer addition not being undoable
2023-01-18 22:28:48 +01:00
Juan Linietsky
5bdc0d97d3
Clean up EditorFileSystem script parsing
...
* Optimize only update modified/added/removed files.
* Clean up documentation parsing.
2023-01-18 20:56:45 +01:00
Silc Renew
e480262c53
Allow AnimationNodes to restart when transitioning to the same state
2023-01-19 03:10:59 +09:00
Rémi Verschelde
bcaf048f33
Merge pull request #71379 from KoBeWi/destruction_of_compatibility_function
...
Remove set_drag_forwarding_compat()
2023-01-18 17:40:13 +01:00
Rémi Verschelde
1f72530cac
Merge pull request #71618 from groud/fix_tileset_popup_wrong_position
...
Fix right-click on tilset atlas popup wrong position
2023-01-18 17:34:03 +01:00
Gilles Roudière
c1de6dc84b
Fix right-click on tilset atlas popup wrong position
...
Fix similar bug in AnimationLibraryEditor
2023-01-18 16:14:11 +01:00
Gilles Roudière
8ecbef36bb
Fixes TileSet layer addition not being undoable
2023-01-18 15:54:44 +01:00
Marius Hanl
2697e4ec1b
Provide more information about the 'Support' filter when no result was found
...
Avoid possible confusion by showing more information about the 'Support' filter
2023-01-17 19:02:21 +01:00
Rémi Verschelde
ae766558f0
Merge pull request #71528 from snakept/missing-path-external-editor-error
...
Checking path variable if empty before opening external editor to fix…
2023-01-17 17:30:58 +01:00
Christoh Prenissl
85aa03baaf
Checking path variable if empty before opening external editor to fix #71528
2023-01-17 15:07:15 +01:00
Rémi Verschelde
f3743e0890
Merge pull request #71545 from groud/fix_rect_draw_tileset
...
Fixes rectangle painting weird behavior when dragging outside the atlas area
2023-01-17 10:42:26 +01:00
Rémi Verschelde
b2e1ae6034
Merge pull request #71517 from groud/tile_data_editor_shortcut_consistency
...
Make keyboard shortcuts in tile data editors consistent with tilemap editor.
2023-01-17 10:40:10 +01:00
Gilles Roudière
6285d6e5f5
Fixes rectangle painting when dragging outside the atlas area
2023-01-17 10:30:07 +01:00
Gilles Roudière
21a88578e9
Make keyboard shortcuts in tile data editors consistent with tilemap editor. Fix a bug with collision shapes painting.
2023-01-16 18:50:11 +01:00
Rémi Verschelde
673d9c58fd
Merge pull request #69851 from dalexeev/fix-scaling-issue
...
Fix scaling issue in `draw_line` and similar methods
2023-01-16 12:48:22 +01:00
Rémi Verschelde
d94a46ab95
Merge pull request #64021 from ajreckof/change-shortcut-for-rect-tool-tilemap
...
Add `Key::CTRL_OR_CMD` and use it to fix shortcut for tilemap painting tools on macOS
2023-01-16 12:47:07 +01:00
Danil Alexeev
a8cbb6245b
Fix scaling issue in draw_line
and similar methods
2023-01-16 12:49:58 +03:00
Rémi Verschelde
f639f5096e
Merge pull request #71485 from adamscott/history-local
...
Save history when goto script line in the text editor
2023-01-16 09:25:39 +01:00
Rémi Verschelde
da57e0059e
Merge pull request #70504 from KoBeWi/the_choosen_antipattern
...
Add EditorUndoRedoManager singleton
2023-01-16 09:24:50 +01:00
Rémi Verschelde
1424cd9e79
Merge pull request #59076 from Sauermann/fix-cursorshape-tilesetatlassourceeditor
...
Use get_cursor_shape for identifying the cursor shape in TileSetAtlasSourceEditor
2023-01-16 09:14:24 +01:00
ajreckof
fa528b86b6
replace the use of CTRL by CMD_OR_CTRL in three places where using CTRL prevented the use of the functionality on mac
...
on Mac CTRL + Left click = Right click therefore when a functionality needs CTRL + Left click it is not possible on mac. It then forcibly needs to be CMD on mac
2023-01-16 06:07:16 +01:00
kobewi
b58111588a
Add EditorUndoRedoManager singleton
2023-01-16 01:11:52 +01:00
Adam Scott
0dc1bcb0c9
Save history when goto script line in the text editor.
2023-01-15 18:04:35 -05:00
Paulb23
659d9b0fa3
Globalise path for New TextFile in FileSystemDock
2023-01-14 16:43:33 +00:00
kobewi
59ea36b87c
Remove set_drag_forwarding_compat()
2023-01-14 15:16:51 +01:00
Yuri Rubinsky
8180d38910
Fix node preview crashes after updating visual shader node
2023-01-14 14:08:00 +03:00
Silc 'Tokage' Renew
e7d4361fae
Implement toggling pause / stop button to AnimationPlayerEditor
2023-01-14 07:10:20 +09:00
Rémi Verschelde
228db366bf
Merge pull request #70601 from vmedea/keep-terrain-choice
...
Keep terrain choice when changing layer in tilemap editor
2023-01-13 18:04:02 +01:00
Rémi Verschelde
3e5ee12555
Merge pull request #71335 from groud/fix_atlas_merging
...
Fixes TileSet atlas merging not working correctly
2023-01-13 18:03:53 +01:00
Rémi Verschelde
44f7392883
Merge pull request #65370 from SaracenOne/tileset_editor_visibility_fixes
...
Fix contextual visibility of tileset and tilemap editors (again)
2023-01-13 18:02:12 +01:00
Gilles Roudière
28f6fcd68f
Fixes TileSet atlas merging not working correctly
2023-01-13 16:50:12 +01:00
Haoyu Qiu
90d3efcaa5
Fix crash when clicking Edit Region after reopening the scene
2023-01-13 11:30:26 +08:00
Rémi Verschelde
318af8f36c
Merge pull request #71272 from MewPurPur/fix-frame-selection
...
Fix the Frame Selection (Shift + F) functionality in the 2D editor
2023-01-12 20:08:31 +01:00
Rémi Verschelde
797fb296f0
Merge pull request #58517 from KoBeWi/size_matters
...
Add expand modes to TextureRect
2023-01-12 20:06:26 +01:00
VolTer
1fa5597520
Fix the Frame Selection functionality
2023-01-12 19:13:00 +02:00
kobewi
dfc4367a47
Add expand modes to TextureRect
2023-01-12 17:06:03 +01:00
Rémi Verschelde
a8a9892ad6
Merge pull request #71218 from KoBeWi/unlimited_bikeshedding_lets_go
...
Split pause() from AnimationPlayer's stop()
2023-01-12 14:30:46 +01:00
Yuri Rubinsky
fcbe7c1c2b
Fix various crashes of ParameterRef nodes in visual shader
2023-01-12 14:21:59 +03:00
kobewi
da9396881e
Split pause() from AnimationPlayer's stop()
2023-01-11 14:03:31 +01:00
Rémi Verschelde
3e2843e3ad
Merge pull request #71183 from YuriSizov/control-refresh-layouts-by-parents
...
Ensure that the cached layout mode is in sync
2023-01-11 01:29:51 +01:00
Rémi Verschelde
54688a7535
Merge pull request #71127 from reduz/drag-forward-to-callables
...
Change set_drag_forwarding() to use callables.
2023-01-11 01:14:58 +01:00
Yuri Sizov
42cbdbc7df
Ensure that the cached layout mode is in sync
2023-01-10 23:51:27 +03:00
Juan Linietsky
e6a4debede
Change set_drag_forwarding() to use callables.
...
* This solution is much cleaner than the one in 3.x thanks to the use of callables.
* Works without issues in any language (no need to worry about camel or snake case).
* Editor code uses a compatibility function (too much work to redo).
Fixes #59899
2023-01-10 14:09:24 +01:00
Eric M
871ddf80c0
Fix cancelling selection (pressing escape) while gizmo editing making uncommitted changes.
...
* Pressing escape while gizmo editing will discard the changes made during that edit 'session'
2023-01-10 21:30:07 +10:00
stmSi
88d4291938
Fix canceling add_node Popup doesn't disconnect previous node.
2023-01-10 14:35:09 +06:30
Juan Linietsky
0e0a6bb39b
Removed unused property hints and Object::get_translatable_strings()
...
* Remove unused `EditorPropertyMember` and related hints, previouly used by
VisualScript. Such logic should be implemented in the VS module itself.
* As the above broke compatibility with the VS module, clean up the other
hacks that were still in core in support of VisualScript.
* `PROPERTY_USAGE_INTERNATIONALIZED` was only used in Object's
`get_translatable_strings()`, which is a legacy function not used anywhere.
So both are removed.
* Reordered some usage flags after the above removal to minimize the diff.
* General clean up.
Fixes #30203 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-01-09 16:56:01 +01:00
Rémi Verschelde
2db593ac2f
Merge pull request #70580 from timothyqiu/drop-extern
...
Fix error when dropping script into script editor
2023-01-09 09:22:08 +01:00
Rémi Verschelde
e7905f4f48
Merge pull request #71045 from reduz/use-bitfield-in-core-types
...
Use BitField<> in core type masks
2023-01-09 08:33:26 +01:00
Juan Linietsky
2b815df3c1
Use BitField<> in core type masks
...
* All core types masks are now correctly marked as bitfields.
* The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks.
* Most bitmask operations replaced by functions in BitField<>
* Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is.
* Documentation and API dump updated to reflect bitfields in core types.
2023-01-08 22:17:40 +01:00
Hugo Locurcio
5ce488b1fc
Tweak text color for disabled preprocessor branches in the shader editor
...
This makes text within disabled branches easier to distinguish from comments
when using a non-default editor syntax theme.
(The default editor syntax theme uses the same color as the text with 50%
opacity for comments, which means it looks the exact same.)
2023-01-07 20:18:38 +01:00
Rémi Verschelde
329b85152a
Merge pull request #70902 from Cretezy/2d-polygon-indices-visibility
...
Fix "2D Polygon indices are barely visible on bright background" (#38009 )
2023-01-07 13:19:33 +01:00
Charles Crete
68b728950a
Fix "2D Polygon indices are barely visible on bright background" ( #38009 )
...
Co-authored-by: Ethan <epruhl102@gmail.com>
2023-01-06 19:09:06 -05:00
Yuri Rubinsky
0e0557146c
Merge pull request #70639 from Chaosus/vs_uint
...
Closes https://github.com/godotengine/godot/issues/70634
2023-01-06 23:54:24 +03:00
SaracenOne
f5edeb8f58
Disable navmesh, lightmap, and VoxelGI generation on foreign data
2023-01-06 08:39:27 -08:00
Yuri Rubinsky
35a9cd1d63
Fix errors when creating/deleting VisualShaderNodeExpression
in graph
2023-01-06 14:20:30 +03:00
Yuri Rubinsky
f101add78b
Add uint
type support to visual shaders
2023-01-06 10:35:25 +03:00
Rémi Verschelde
272b82bdae
Merge pull request #70968 from kleonc/tile-atlas-view-update-zoom-and-panning
...
`TileAtlasView` Update zoom and panning before emitting signal
2023-01-06 00:13:16 +01:00
kleonc
4276752608
TileAtlasView Update zoom and panning before emitting signal
2023-01-05 22:00:05 +01:00
Yuri Sizov
82c00c21e6
Simplify some editor plugin logic and remove dead code
2023-01-05 21:04:54 +03:00
Rémi Verschelde
1d14c054a1
Merge pull request #70907 from xiongyaohua/fix_path3d_gizmo_not_show
...
Remove side effect of the `handles` method
2023-01-05 15:01:29 +01:00
Rémi Verschelde
798582acf0
Merge pull request #65609 from dalexeev/animated-sprite
...
`AnimatedSprite{2D,3D}` improvements
2023-01-05 15:00:31 +01:00
Rémi Verschelde
d95794ec8a
One Copyright Update to rule them all
...
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
Danil Alexeev
0d25d8e7fc
AnimatedSprite{2D,3D}
improvements
...
* Add support for individual frame duration to `SpriteFrames`.
* Various minor improvements.
2023-01-05 13:13:25 +03:00
Yaohua Xiong
20f909219e
Remove side effect of the handles
method
2023-01-04 20:09:10 +08:00
Charles Crete
50e09bbaef
Fix "Double-click on the TileMap's pattern prints an error" ( #70892 )
2023-01-03 23:06:52 -05:00
Rémi Verschelde
7e22093089
Merge pull request #70428 from MrPhnix/issue-70186
...
CanvasItemEditor Fix snapping grid misalignment
2023-01-03 12:39:09 +01:00
Rémi Verschelde
12a68071a6
Merge pull request #70754 from rxlecky/fix-camera-override-button-2d
...
Fix camera override button not updating in 2D scenes
2023-01-03 12:24:20 +01:00
Rémi Verschelde
2a57a5e63f
Merge pull request #70732 from timothyqiu/tilemap-crash
...
Fix heap-use-after-free when using TileMap editor
2023-01-03 12:24:10 +01:00
Rémi Verschelde
1b634c06d0
Merge pull request #69972 from adamscott/add-server-checks-before-free
...
Add safety-checks before some servers `free()`
2023-01-03 12:22:24 +01:00
Rémi Verschelde
81f0ddeae0
Merge pull request #70489 from stmSi/fix-certain-editor-shortcuts-insert-characters-into-code
...
Fix Editor Shortcut keys are inserting in Script Editor
2023-01-03 12:16:14 +01:00
SeleckyErik
99cc3980a7
Fix camera override button not updating in 2D scenes
...
Reconnect accidentally disconnected signal play_pressed to update the button
and enable camera override after launching a project in the editor.
2022-12-30 22:46:24 +01:00
Haoyu Qiu
1ac35c38be
Fix heap-use-after-free when using TileMap editor
2022-12-30 14:16:54 +08:00
Adam Scott
ea33001b95
Add safety-checks before some servers free()
2022-12-29 16:23:38 -05:00
Markus Sauermann
b736efa9c8
Use get_cursor_shape for identifying the cursor shape in TileSetAtlasSourceEditor
...
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.
Was part of the reason for #58960 .
2022-12-29 02:07:39 +01:00
mara
5380e685d8
Keep terrain choice when changing layer in tilemap editor
...
Make `TileMapEditorTerrainsPlugin::edit` logic analogous to
`TileMapEditorTilesPlugin::edit`, in that the selection is only
cleared when switching to another tilemap.
Closes #70033 .
2022-12-26 21:45:06 +01:00
Yuri Rubinsky
952015df13
Add missing CUSTOM inputs for the spatial/vertex mode of visual shader
2022-12-26 14:09:07 +03:00
Haoyu Qiu
5c498f714d
Fix error when dropping script into script editor
2022-12-26 14:34:37 +08:00
MrPhnix
272b8d9d17
CanvasItemEditor Fix snapping grid misalignment
...
Resolves : #70186
See: #65101
2022-12-24 12:02:48 +01:00
stmSi
350eda02cb
Fix Editor Shortcut keys are inserting in Script Editor
2022-12-24 07:22:19 +06:30
Rémi Verschelde
8eec9f7d3c
Merge pull request #69797 from TokageItLab/time-edit-inspector-plugin
...
Animation: Add inspector plugin for key time edit & Change `track_find_key()` argument to find key with approximate
2022-12-23 09:07:15 +01:00
Rémi Verschelde
9b4888b7c9
Merge pull request #65312 from SaracenOne/auto_advance_behaviour
...
Make auto-advance flag a requirement for conditional/expression evaluation
2022-12-23 09:05:49 +01:00
Twarit Waikar
7ef09ea88f
VCS: Fix split diff's overlapping fields
...
Also adjusts the spacing nearby the diff contents.
2022-12-23 02:20:01 +05:30
Silc Renew
060fb2d093
Add inspector plugin for key time edit & Change find key argument
2022-12-22 10:03:06 +09:00
Rémi Verschelde
ff2bd057a5
Merge pull request #70353 from twaritwaikar/remove-vsc-project-path
...
VCS: Remove `project_path` VCS property, let plugins decide
2022-12-21 18:24:59 +01:00
Rémi Verschelde
4f3ec4121a
Merge pull request #70350 from Chaosus/stringname_operator
...
Add missing != operator to `StringName`
2022-12-21 09:21:32 +01:00
Rémi Verschelde
473656ef01
Merge pull request #70374 from twaritwaikar/add-confirm-dialog-discard-changes
...
VCS: Add a stern confirmation dialog before discarding all changes
2022-12-21 09:19:49 +01:00
Rémi Verschelde
7e7be45947
Merge pull request #67922 from MrBlockers/asr-addstream-fixes
...
Add optional stream argument to AudioStreamRandomizer.add_stream
2022-12-21 09:19:39 +01:00
Rémi Verschelde
f04f53201d
Merge pull request #70317 from HolonProduction/svg_assets
...
Add support for svg images in the asset lib.
2022-12-21 09:19:14 +01:00
Twarit Waikar
c940616b04
VCS: Remove method binds that are not being used in VersionControlEditorPlugin
2022-12-21 11:50:29 +05:30
MrBlockers
569ead5762
Add optional arguments to AudioStreamRandomizer
...
Adds stream and weight parameters to add_stream. By default, weight is
1.0f.
2022-12-20 18:48:02 -05:00
Twarit Waikar
d18ed2c18a
VCS: Add a stern confirmation dialog before discarding all changes
2022-12-21 03:21:33 +05:30
Twarit Waikar
edef267d68
VCS: Remove project_path
VCS property, let plugins decide
2022-12-20 21:01:24 +05:30
HolonProduction
66fa776667
Add support for svg images in the asset lib.
...
Pixel based image formats are identified by magic numbers. This is not possible with svg therefore svg parsing is tried and if it succeeded the result is used.
WebP and bmp support is added as well. But I could not test it as I am not able to run a local instance of the asset lib and there is no asset using those formats.
2022-12-20 15:41:17 +01:00
Yuri Rubinsky
522d4243bf
Add missing != operator to StringName
2022-12-20 17:25:54 +03:00
Rémi Verschelde
281f548dc2
Merge pull request #70170 from TokageItLab/fix-anim-keying-crash
...
Make keys deselected when keying property for animation to avoid crash
2022-12-20 10:31:59 +01:00
Rémi Verschelde
44f0d455a7
Merge pull request #70100 from Chaosus/fix_missing_editor_plugin_gdclasses
...
Fix missing GDCLASS headers in the editor preview plugins
2022-12-19 17:11:34 +01:00
Rémi Verschelde
fe1bb58e8f
Merge pull request #70238 from kleonc/tile-set-simplify-isometric-tile-polygon
...
`TileSet` Simplify isometric tile shape polygon to 4 vertices
2022-12-19 16:27:17 +01:00
Rémi Verschelde
5784c9801e
Merge pull request #70264 from KoBeWi/layedulate
...
Use layer's modulate for tile previews
2022-12-19 16:26:50 +01:00
kobewi
32b0770a73
Add a method to get global modulate
2022-12-19 11:51:37 +01:00
kleonc
3a34acdf55
TileSet Simplify tile shape polygons
2022-12-19 11:42:40 +01:00
kobewi
99a9401a2c
Use layer's modulate for tile previews
2022-12-18 17:31:29 +01:00
Yuri Rubinsky
0fcf6a1c0c
Prevent showing AudioStream preview for non-WAV types
2022-12-18 11:31:28 +03:00
smix8
34e7628f5f
Fix Navigation API abbreviations inconsistency
...
Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
2022-12-17 22:06:22 +01:00
Rémi Verschelde
70a0201e6a
Merge pull request #70074 from Chaosus/restore_audio_stream_editor
...
Restore `AudioStreamEditor` class to fix playable sound previews
2022-12-17 20:56:35 +01:00
Hugo Locurcio
a3eac5fc7c
Move transparent background project setting to a subsection
...
This prevents the project setting from being located directly within
a root category, which is confusing from an UX perspective in the
project settings editor.
2022-12-17 18:45:21 +01:00
Silc 'Tokage' Renew
aa133b60a1
Make keys deselected when keying property for animation to avoid crash
2022-12-17 06:48:22 +09:00
SaracenOne
092dbe52a9
Change auto_advance flag to advance_mode enum and unify with disabled flag.
...
Expressions and conditions now require auto mode to be set to auto.
Adds a toggle button to the state machine editor for whether new transitions
advance settings should default to auto mode or not.
2022-12-16 07:42:59 +00:00
Rémi Verschelde
cda7df0255
Merge pull request #67024 from alessandrofama/fix-gdvirtual-call-node3dgizmo
...
EditorNode3DGizmoPlugin: Add GDVIRTUAL_CALL for get_gizmo_name and get_priority
2022-12-15 12:16:42 +01:00
Yuri Rubinsky
b6ed3390ec
Fix missing GDCLASS headers in the editor preview plugins
2022-12-15 13:11:23 +03:00
Yuri Rubinsky
1891f6e62c
Restore AudioStreamEditor
class
2022-12-15 10:59:44 +03:00
Rémi Verschelde
6b381d1d2d
Merge pull request #70040 from m4gr3d/update_navigation_controls_toggle_main
...
Update the visibility logic for the spatial editor navigation controls
2022-12-14 11:26:01 +01:00
Fredia Huya-Kouadio
3083455002
Update the visibility logic for the spatial editor navigation controls
2022-12-13 17:46:12 -08:00
Yaohua Xiong
adeef12b12
Handle corner cases for curve baking
...
When control point and point have equal position,
the derivative is 0 vector, which cause error message in Basis::look_at().
This commit handles this case.
2022-12-14 08:52:14 +08:00
Rémi Verschelde
ad7b31fe61
Merge pull request #69938 from timothyqiu/open-packed-scene
...
Add open scene button in Inspector for PackedScene resource
2022-12-14 00:16:54 +01:00
Rémi Verschelde
05aba48354
Merge pull request #70006 from timothyqiu/atlas-source-paint-scroll
...
Add scroll container for tile data editors
2022-12-13 10:12:53 +01:00
Rémi Verschelde
a720a8c136
Merge pull request #69893 from henrlin24/hide-scattering
...
Hide Scattering label and controls within TileMap editor window when "Place Random Tile" option is disabled
2022-12-13 10:10:28 +01:00
Haoyu Qiu
4fcbfcc665
Add scroll container for tile data editors
2022-12-13 15:14:01 +08:00
Silc Renew
b0eb3b6ebd
Add null checks to AnimationTreeEditors and _clear_editors()
2022-12-13 03:06:51 +09:00
Rémi Verschelde
e2a37295f5
Merge pull request #69291 from nongvantinh/fix-suggest-message
...
Fix Sprite drag and drop hint mentions invalid option with root node selected
2022-12-12 12:19:37 +01:00
Rémi Verschelde
f1edd03d4c
Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextension
...
Rename all gdnative occurences to gdextension
2022-12-12 11:43:59 +01:00
Rémi Verschelde
f5d14f874a
Merge pull request #69300 from timothyqiu/tile-set-atlas-source
...
Improve TileSetAtlasSourceEditor UI
2022-12-12 11:41:59 +01:00
Gilles Roudière
be1c9d677d
Rename all gdnative occurences to gdextension
...
Non-exhaustive list of case-sensitive renames:
GDExtension -> GDNative
GDNATIVE -> GDEXTENSION
gdextension -> gdnative
ExtensionExtension ->Extension (for where there was GDNativeExtension)
EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION)
gdnlib -> gdextension
gdn_interface -> gde_interface
gdni -> gde_interface
2022-12-12 11:04:57 +01:00
Markus Sauermann
9a8d53d54b
Use _request_gizmo from SceneStringNames
2022-12-12 10:12:40 +01:00
Haoyu Qiu
9af9af525c
Add open scene button in Inspector for PackedScene resource
2022-12-12 16:09:10 +08:00
henrlin24
afa38bd030
Hide Scattering label and controls within TileMap editor window when "Place Random Tile" is disabled
2022-12-11 13:16:36 -05:00
Haoyu Qiu
f6ae2f2fd5
Use ObjectID as argument when referred-calling _request_gizmo
...
Fixes crash on project launch.
2022-12-10 18:52:10 +08:00
Haoyu Qiu
8a22d4cd44
Fix !tile_set.is_valid() error on startup
2022-12-10 13:09:20 +08:00
Haoyu Qiu
d8f5dcbf56
Improve TileSetAtlasSourceEditor UI
...
* Updates the overall layout, moving mode buttons to the top.
* Uses inspector category instead of a Label to show what's being edited. This also allows better scrolling behavior.
2022-12-10 12:27:48 +08:00
Rémi Verschelde
9a26ffa233
Merge pull request #67283 from KoBeWi/one_way_ticket
...
Add one-way indicator to tile collision editor
2022-12-09 18:05:55 +01:00
Rémi Verschelde
43bef98450
Merge pull request #60892 from KoBeWi/fat_selection
...
Improve tile editor selection appearance
2022-12-09 18:05:38 +01:00
Rémi Verschelde
9ee47b3c45
Merge pull request #69747 from timothyqiu/tile-source-icons
...
Update tile source icons when editor theme changes
2022-12-09 18:05:23 +01:00
kobewi
871278cdf0
Improve tile editor selection appearance
2022-12-09 14:46:17 +01:00
Yuri Rubinsky
a7027b9927
Fix changing of visual shader mode
2022-12-09 11:02:07 +03:00
Yuri Rubinsky
12ab5731ab
Merge pull request #69738 from Chaosus/vs_custom_nodes
2022-12-08 14:13:05 +03:00
Yuri Rubinsky
ab17f197f0
Make custom visual shader nodes automatically updates from script
2022-12-08 12:55:23 +03:00
Haoyu Qiu
af3ef844d9
Update tile source icons when editor theme changes
2022-12-08 17:21:37 +08:00
Rémi Verschelde
204715ae95
Merge pull request #69617 from MewPurPur/this-darn-pixel
...
Fix fringe issues with shortcuts not behaving as expected for multi-carets
2022-12-08 09:52:13 +01:00
VolTer
94416e41c5
Fix various fringe issues with multi-carets and selections
2022-12-07 20:54:48 +01:00
Rémi Verschelde
829d49b011
Merge pull request #69719 from groud/fix_gdextension_bad_vformat_error
...
Fix a wrong error formatting in gdextension export plugin
2022-12-07 13:28:02 +01:00
Rémi Verschelde
f9bd2ace0b
Merge pull request #68682 from timothyqiu/camera-gizmo-size
...
Make Camera3D gizmo the same aspect ratio as its viewport
2022-12-07 13:25:35 +01:00
Rémi Verschelde
de2d0f156e
Merge pull request #69713 from groud/rename_get_surrounding_tiles
...
Rename get_surrounding_tiles to get_surrounding_cells
2022-12-07 13:24:57 +01:00
Rémi Verschelde
eb1734c95d
Merge pull request #67554 from Sauermann/fix-determining-window-in-scroll-container
...
Remove Screen-parameter for determining Touchscreen capability
2022-12-07 13:24:06 +01:00
Rémi Verschelde
04cd36612a
Merge pull request #69695 from timothyqiu/id-capitalization
...
Make ID capitalization in tiles editor consistent
2022-12-07 13:23:49 +01:00
Gilles Roudière
2b11fe1d63
Fix a wrong error formatting in gdextension export plugin
2022-12-07 13:22:49 +01:00
Gilles Roudière
3ea54bb3a1
Rename get_surrounding_tiles to get_surrounding_cells
2022-12-07 11:09:10 +01:00
Markus Sauermann
e18107a57c
Fix Determining Window for Touchscreen
...
DisplayServer::screen_is_touchscreen will likely never utilize its
parameter p_screen.
This PR replaces this function by DisplayServer::is_touchscreen_available()
with the same functionality.
This solves the problem, that a SubViewport was used for determining
the screen, which resulted in error messages.
2022-12-07 09:54:29 +01:00
Haoyu Qiu
740d6f9447
Fix crash when deleting an alternative-level tile proxy
2022-12-07 14:26:54 +08:00
Haoyu Qiu
9893b04fda
Make ID capitalization in tiles editor consistent
2022-12-07 10:07:10 +08:00
Rémi Verschelde
74b245f2b5
Merge pull request #69643 from Chaosus/vcs_rendering_fix
...
Fix incorrect rendering of vcs dialogs
2022-12-06 12:25:01 +01:00
Rémi Verschelde
83b426bca5
Merge pull request #67906 from groud/simpler_gdextension_config
...
Remove unnecessary checks when exporting gdextension binaries and allow using a prefix to auto-detect files
2022-12-06 11:01:09 +01:00
Rémi Verschelde
75f8f22637
Merge pull request #69631 from timothyqiu/tile-proxy-rmb
...
Fix error when right clicking proxy list in TileProxiesManagerDialog
2022-12-06 11:00:42 +01:00
Yuri Rubinsky
4aee97e821
Fix incorrect rendering of vcs dialogs
2022-12-06 12:54:38 +03:00
Rémi Verschelde
53f2c8b206
Merge pull request #69608 from RumblingTurtle/blend-tree-new-node-fix
...
AnimationNodeBlendTreeEditor: Fix popup locations when creating nodes with dragging
2022-12-06 10:48:12 +01:00
Rémi Verschelde
14861c45b5
Merge pull request #68860 from xiongyaohua/path3d_fishbones
...
Draw fish bones for Path3D and Path2D in the Editor
2022-12-06 10:46:54 +01:00
Haoyu Qiu
7034992ace
Fix error when right clicking proxy list in TileProxiesManagerDialog
2022-12-06 09:37:07 +08:00
Eduard Zalyaev
ed53e96f43
AnimationNodeBlendTreeEditor: Fix popup locations when creating nodes with dragging
...
Fixes #69413 .
2022-12-05 21:03:38 +03:00
Rémi Verschelde
1db23e472b
Merge pull request #69525 from m4gr3d/polish_navigation_controls_opacity_main
...
Minor tweaks/polish to the navigation controls to prevent interference
2022-12-05 11:32:43 +01:00
Yaohua Xiong
9bdc0cb16f
draw fish bones for Path2D and Path3D
...
These fish bones are add to indicate the direction and local transforms alone the path.
2022-12-05 15:39:14 +08:00
Silc Renew
8c540b1d71
Fix animation play backward doesn't process current key&animtrack seek
2022-12-05 15:59:08 +09:00
Rémi Verschelde
408bd0aa92
Merge pull request #68770 from TokageItLab/add-track-validator
...
Add track validator to AnimationPlayerEditor to detect tracks which have error
2022-12-05 00:06:06 +01:00
Rémi Verschelde
5efa254964
Merge pull request #67387 from NumbuhFour/cam_vis_layers_shader_var
...
Implement CAMERA_VISIBLE_LAYERS as built-in shader variable
2022-12-05 00:05:39 +01:00
Haoyu Qiu
480d9d10ed
Fix heap-use-after-free when exiting editor after editing TileSet
2022-12-04 16:52:26 +08:00
NumbuhFour
1b09fd5410
Implement CAMERA_VISIBLE_LAYERS as built-in shader variable
2022-12-03 22:41:27 -08:00
Fredia Huya-Kouadio
eacb29c007
Minor tweaks/polish to the navigation controls to prevent interference:
...
- Reduce controls size
- Enable opacity on hover to increase visibility
2022-12-02 23:17:38 -08:00
Fredia Huya-Kouadio
18b924def7
Enable the navigation controls for touchscreen by default
2022-12-02 20:47:32 -08:00
Gilles Roudière
fa4143cdeb
Allow specifying a prefix to automatically detect library files for gdextension exports
2022-12-01 18:20:40 +01:00
Rémi Verschelde
1e3919c409
Merge pull request #69364 from m4gr3d/add_navigation_controls_main
...
Add navigation control to the node3d editor viewport
2022-12-01 18:11:14 +01:00
Gilles Roudière
36bcb82565
Remove uncessecary checks when exporting gdextension binaries
2022-12-01 17:28:24 +01:00
Rémi Verschelde
cd491c6e47
Merge pull request #69376 from zaevi/adjust_dropping_texture
...
Adjust position and size for dropping texture in canvas editor.
2022-11-30 10:49:15 +01:00
Zae
a1419f3902
Adjust position and size for dropping texture.
2022-11-30 16:28:49 +08:00
Haoyu Qiu
6c5c773a27
Fix heap-use-after-free when changing alternative tile ID
2022-11-30 10:32:35 +08:00
Fredia Huya-Kouadio
1566f3d49f
Add navigation control to the node3d editor viewport
2022-11-29 17:43:16 -08:00
Rémi Verschelde
3d2c3aae4e
Merge pull request #69062 from trollodel/lightweight_editor_mass
...
Use forward-declarations in big editor classes
2022-11-29 10:27:21 +01:00
trollodel
c90d0bd84f
Use forward-declarations in big editor classes
2022-11-29 09:59:43 +01:00
Haoyu Qiu
4a50f44cd2
Fix heap-use-after-free when removing a tile in TileSet editor
2022-11-29 09:22:35 +08:00
Silc Renew
a4162dad23
Add track validator to AnimationPlayerEditor
2022-11-28 23:33:55 +09:00
Nong Van Tinh
6bec9759eb
Fix incorrect hint when drag-and-drop asset into scene
2022-11-28 21:03:00 +07:00
Rémi Verschelde
2975fc9460
Merge pull request #69249 from timothyqiu/tile-data-redraw
...
Update TileSet preview when paint custom data changes
2022-11-28 11:02:57 +01:00
Rémi Verschelde
794adbe996
Merge pull request #69178 from aaronfranke/mesh-shape
...
Use a more specific type for Mesh create_(convex|trimesh)_shape
2022-11-28 08:05:50 +01:00
Haoyu Qiu
7bc0d0c177
Update TileSet preview when paint custom data changes
2022-11-27 18:35:47 +08:00
Rémi Verschelde
6e693368e1
Merge pull request #69124 from zaevi/tilemap_fix_alternative_tile
...
[TileMap] Fix alternative tile issues.
2022-11-25 19:27:37 +01:00
Aaron Franke
93ab82536d
Use a more specific type for Mesh create_(convex|trimesh)_shape
2022-11-25 11:43:11 -06:00
Fabio Alessandrelli
aa80cfac97
[Editor] Add button to keep the debug server open.
...
The setting is stored in the project editor metadata, and the server is
automatically started/stopped when the option change (only stopped if no
session is currently active).
The CLI option `--debug-server` now also forces the server to stay open
(without saving the state, unlike the menu option).
This commit also removes the "Keep debugger open" option in the script
editor "debug" menu. That option was really confusing, it used to hide
the bottom panel if and only if the debugger pane was selected, so if
you had your output log open instead (default when pressing play) it
would effectively do nothing. Having an option to save a click in such
a very specific case seems very overkill.
2022-11-25 11:02:55 +01:00
Rémi Verschelde
a16d3625c3
Merge pull request #69128 from Chaosus/vs_fix_custom_nodes
...
Fix custom visual shader nodes not being loaded at startup
2022-11-24 19:04:21 +01:00
Yuri Rubinsky
a973ddd28d
Fix custom visual shader nodes not being loaded at startup
2022-11-24 20:58:16 +03:00
kobewi
8a3d2f4e0c
Cleanup remaining EditorUndoRedoManager usages
2022-11-24 18:56:22 +01:00
Zae
f6424e68ea
[TileMap] Fix alternative tile issues.
2022-11-25 00:44:02 +08:00
K. S. Ernest (iFire) Lee
e0b296ae82
Avoid the Skeleton3DGizmoPlugin crash when clicking in the editor.
2022-11-23 07:09:49 -08:00
Rémi Verschelde
4b4e701e06
Merge pull request #68964 from MewPurPur/tweak-gradient-editor
...
Fixes and improvements to Gradient preview
2022-11-22 08:31:44 +01:00
VolTer
3c54d8752c
Fix Gradient preview issues
2022-11-21 23:32:38 +01:00
Markus Sauermann
28af870750
Code simplifications found by cppcheck
...
They are based on:
- Boolean arithmetic simplifications
- setting variables that are not accessed
- constant variables
2022-11-21 08:43:36 +01:00
Marc Gilleron
e0d2b7835d
Allow selecting text in shader compilation logs
2022-11-20 19:15:39 +00:00
Rémi Verschelde
98da707df5
Merge pull request #68922 from TokageItLab/fix-animtree-crash
...
Fix `AnimationTreeEditor` crash & rename `AnimationTreeEditor::get_tree()` to `get_animation_tree()`
2022-11-20 17:49:23 +01:00
Silc Renew
d595b27467
Fix AnimationTree crash & rename get_tree() to get_animation_tree()
2022-11-21 00:28:10 +09:00
Rémi Verschelde
855402dfee
Merge pull request #68904 from aaronfranke/texture-methods
...
Rename TextureButton set_*_texture methods to set_texture_*
2022-11-20 15:37:37 +01:00
Micky
e791f4fce2
Double precision of String.split_floats
2022-11-20 12:29:50 +01:00
Rémi Verschelde
5b235e2e5e
Merge pull request #68859 from souplamp/capitalize-skeleton3d-editor-plugin
...
Capitalize Skeleton3D's editor plugin dropdown options
2022-11-20 11:35:38 +01:00
Aaron Franke
f6714858bf
Rename TextureButton set_*_texture methods to set_texture_*
2022-11-19 17:33:40 -06:00
souplamp
a3917039d1
capitalize skeleton3d plugin dropdown
2022-11-18 15:47:58 -06:00
Silc Renew
7f00fd4ff7
change root motion track candidating method
2022-11-18 17:49:34 +09:00
Rémi Verschelde
0b27173919
Fixup TileSet build after #66557
...
Last rebase was too old, didn't include this API rename.
2022-11-17 13:54:15 +01:00
Rémi Verschelde
2ca972ad01
Merge pull request #66557 from MisterMX/fix/tileset-custom-data-type-reload-editor
...
fix(tileset): Recreate custom data editor if type has changed
2022-11-17 13:49:02 +01:00
Rémi Verschelde
4829911df2
Merge pull request #64368 from YeldhamDev/tile_editor_label_center
...
Properly center labels in the TileMap/Set editors
2022-11-17 13:48:53 +01:00
Yuri Rubinsky
359d13cddc
Fix the bounds of varying popup in visual shader editor
2022-11-16 22:05:09 +03:00
Rémi Verschelde
6d2a7cb46d
Merge pull request #68709 from MewPurPur/instance-begone-part3
...
Remove more instances of 'instance' being used as a verb
2022-11-16 14:41:42 +01:00
VolTer
3b4f5f8a04
Remove more instances of 'instance' being used as a verb
2022-11-16 14:01:53 +01:00
Haoyu Qiu
6c5dc78f59
Make Camera3D gizmo the same aspect ratio as its viewport
2022-11-15 17:31:53 +08:00
Rémi Verschelde
80dbcfd995
Merge pull request #68657 from Sauermann/fix-redundant-initialization
...
Remove redundant non-trivial Variant types initializations
2022-11-14 23:23:54 +01:00
Markus Sauermann
3b14f0334c
Remove redundant Variant-types initializations
2022-11-14 19:35:19 +01:00
Rémi Verschelde
315c64282b
Fix misc formatting issues
...
Somehow I missed the failing CI report from trailing whitespace.
Fixed a couple typos found by codespell while at it, and misc
trailing semicolons in one of the files.
2022-11-14 19:00:48 +01:00
Rémi Verschelde
7dafe06e27
Merge pull request #68624 from AleCamara/bug-67235-gradient-slider
...
Fix clicking in gradient editor
2022-11-14 18:29:52 +01:00
Fabio Alessandrelli
d568b25e36
[Editor] Better expose EditorDebuggerPlugin.
...
Now splitted into two classes:
- EditorDebuggerPlugin (RefCounted).
- EditorDebuggerSession (abstract).
This allows the EditorPlugin to be in control of the debugger plugin
lifecycle, be notified when sessions are created, and customize each of
them independently.
We should slowly transition the various profilers and captures in
ScriptEditorDebugger to their own plugins, and decouple
ScriptEditorDebugger from it's UI part (making it the "real"
EditorDebuggerSession potentially dropping the wrappers).
2022-11-14 14:55:22 +01:00
Ale Camara
aebf3d9401
Fix clicking in gradient editor
...
- When double-clicking on the gradient we should open the colour picker and create a colour key.
- Instead, we were also evaluating the click further down producing the colour key to move around.
2022-11-14 13:29:21 +00:00
dzil123
1d03c2f389
Node3DEditorViewport - Remove duplicate check and cleanup
2022-11-12 19:25:35 -08:00
Michael Alexsander
02390693ce
Properly center labels in the TileMap/Set editors
2022-11-12 21:35:07 -03:00
trollodel
ba9e619b51
Use forward-declarations in EditorPlugin where possible
2022-11-11 20:25:51 +01:00
Rémi Verschelde
b61fda9d2a
Merge pull request #68271 from paddy-exe/gdextension-library-loading-error
...
GDExtension: Improve error message for invalid library feature flags
2022-11-07 17:44:43 +01:00
Rémi Verschelde
2c8498c8a6
Merge pull request #68351 from Sauermann/fix-code-simplifications
...
Code simplifications
2022-11-07 10:01:37 +01:00
Rémi Verschelde
19d8e36c8e
Merge pull request #68331 from MewPurPur/gradient2d-better-preview
...
Fix GradientTexture2D's preview
2022-11-07 08:46:25 +01:00
Markus Sauermann
18978881fe
Code simplifications
...
CanvasItemEditor:
- p_result == ADD_MOVE is always true in this switch-clause
- both parts of the if-else-clause do the same thing and simplified an affine_inverse call
ControlEditorToolbar:
- private function ControlEditorToolbar::_anchor_to_position is used nowhere. Looks like
copy and paste from CanvasItemEditor::_anchor_to_position
ScrollContainer:
- screen_is_touchscreen is always true, because otherwise the function already returned
TextLine:
- both parts of the if-else-clause do the same thing and simplified return statement
2022-11-07 01:21:25 +01:00
VolTer
3de53c8312
Fix jankiness when drawing GradientTexture2D
2022-11-06 22:14:54 +01:00
Rémi Verschelde
12b4a263ee
Merge pull request #67730 from KoBeWi/late_to_the_call
...
Add call_deferred() method to Callable
2022-11-06 15:55:43 +01:00
Rémi Verschelde
5dfa56474a
Merge pull request #68247 from akien-mga/emscripten-warnings-unuset-but-set
...
Fix -Wunused-but-set-variable warnings from Emscripten 3.1.20
2022-11-06 15:53:46 +01:00
Patrick
f9458f9228
Improve error message for invalid library feature flags
...
Fixes https://github.com/godotengine/godot/issues/63227
My version for the error message is:
`No suitable library found. The libraries' tags referred to an invalid feature flag. Possible feature flags for your platform: %s`
2022-11-04 21:45:40 +01:00
clayjohn
3c1e5003ab
Fix pathological corner case in drawing tileset editor
...
Interleaving draw_rect calls with and without a texture forces every rect to
have its own draw call. In this case it meant that there is a draw call for every single
tile in the atlas. This change makes it so the renderer can batch draw calls
which reduced the draw call count by a factor of 512
2022-11-04 13:04:20 -07:00
kobewi
1778301cd0
Add call_deferred() method to Callable
2022-11-04 17:24:34 +01:00
Rémi Verschelde
f475c91081
Fix -Wunused-but-set-variable warnings from Emscripten 3.1.20
2022-11-04 11:36:13 +01:00
Markus Sauermann
69fca9286f
Use get_cursor_shape for identifying the cursor shape in CanvasItemEditor
...
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.
2022-11-03 19:34:43 +01:00
Ninni Pipping
4b29f71685
Fix incorrect drawing of alternative tiles
2022-11-03 16:17:36 +01:00
Zae
b68b26b27e
Fix reload scripts error after saving in external editor.
2022-11-03 17:06:51 +08:00
Rémi Verschelde
9ec7aadc06
Merge pull request #66017 from Mickeon/rename-image-copy-rect
...
Rename Image's `get_rect` to `get_region`
2022-11-02 22:36:57 +01:00
Rémi Verschelde
f7c611ab71
Style: Misc docs and comment style and language fixes
...
- Removed empty paragraphs in XML.
- Consistently use bold style for "Example:", on a new line.
- Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`).
- Fix invalid usage of backticks for inline code in BBCode.
- Fix some American/British English spelling inconsistencies.
- Other minor fixes spotted along the way, including typo fixes with codespell.
- Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02 19:01:18 +01:00
kobewi
15831e381b
Unify usage of undo_redo in editor
2022-11-02 17:51:58 +01:00
Rémi Verschelde
910cf9a9b3
Merge pull request #67810 from MrBlockers/reged-fixes
...
Fix multiple issues with region editor
2022-11-02 14:18:12 +01:00
Rémi Verschelde
a8850434c2
Merge pull request #68147 from anvilfolk/fix-curve-multiline
...
Fix error in curve editor multiline string draw
2022-11-02 14:17:18 +01:00
Rémi Verschelde
50f742e1ca
Merge pull request #68107 from alfredbaudisch/drag-lower-case
...
Cast dragged file name extension to lowercase
2022-11-02 14:16:00 +01:00
Rémi Verschelde
df26d11b5d
Merge pull request #68020 from timothyqiu/3d-drag-instance
...
Improve dragging scene into 3D viewport
2022-11-02 14:15:54 +01:00
ocean (they/them)
8871226e5c
Fix error in curve editor multiline string draw
2022-11-01 22:28:03 -04:00
Micky
ebf86c96e9
Rename Image's get_rect
to get_region
...
Also renames its parameter to from "rect" to "region".
2022-11-01 23:35:48 +01:00
Alfred Reinold Baudisch
07e367cb0b
Cast dragged file extension name to lowercase, closes #68104
2022-11-01 09:48:09 +01:00
Haoyu Qiu
2b8bcbe487
Fix error when adding 3D gizmo handles with IDs
2022-11-01 16:25:13 +08:00
Rémi Verschelde
e22a1d8031
Merge pull request #68060 from dpalais/no-pointer-animationnode-blendtree-rename
...
Remove the usage of pointers in signal call, to fix #67941
2022-10-31 15:54:45 +01:00
Rémi Verschelde
e47aa546cd
Merge pull request #68008 from timothyqiu/hide-axis
...
Hide axis gizmo after translating 3D nodes
2022-10-31 14:19:11 +01:00