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
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