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