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