ad40939b6f
Core: Replace C math headers with C++ equivalents
...
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
94282d88f9
Core: Use Math namespace for constants
2025-04-10 16:29:30 -05:00
302fa831cc
Initial editor accessibility.
2025-04-08 20:25:48 +03:00
c1acc839a8
Directly use segment points in Geometry2D/3D function parameters
2025-03-30 16:25:59 -07:00
8e9faae2be
Merge pull request #104058 from dugramen/path3d-outwards-curve
...
Path3D prefer control points for outward curve
2025-03-28 14:32:25 +01:00
8bef789ca6
Path3D prefer control points for outward curve
2025-03-25 21:44:06 -04:00
e50ac32d5a
Merge pull request #82321 from ywmaa/custom_debug_color_curve3D
...
Allow customizing debug color of Path3D.
2025-03-21 13:02:57 +01:00
275f046e4a
Path3D: custom debug color and custom debug show
2025-03-20 06:49:04 +02:00
13a1391e73
Draw fewer fishbones to improve Path gizmo readability and performance
...
This affects both Path2D and Path3D.
2025-01-09 16:08:29 +01:00
ba39b078f5
[Scene] Add SceneStringName::FlatButton
2024-12-10 11:12:26 +03:00
8e324c4589
Merge pull request #86195 from GreenCrowDev/curve3d_close
...
Add `closed` property to `Curve3D`
2024-11-18 09:23:38 -06:00
790efbb783
Implement closed path for Curve3d
2024-11-16 12:59:08 +01:00
925b690c98
Core: Integrate Ref::instantiate where possible
2024-11-10 12:41:26 -06:00
562c666e3d
Rename internal Button icon to button_icon to match exposed methods
2024-10-29 16:23:03 -07:00
dd6443193c
[Editor] Expose more editor settings to documentation
...
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com >
2024-09-12 15:34:49 +02:00
a49dbdcbef
Cleanup Path3D editor
2024-09-07 00:12:45 +02:00
19975b1548
Add Create Curve button to Path2D editor
2024-09-06 15:28:55 +02:00
ca18a06ecb
[Scene] Add SceneStringNames::confirmed
2024-06-19 09:40:54 +02:00
755a0efbb6
[Scene] Add SceneStringNames::id_pressed
2024-05-30 22:54:04 +02:00
ee79386f7b
[Scene] Add SceneStringNames::pressed
2024-05-14 15:51:28 +02:00
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
594498e718
Merge pull request #90966 from Calinou/debug-draw-use-runtime-colors
...
Use same colors for editor and running project for collision/path debug
2024-05-07 16:49:31 +02:00
308dbb8c63
[Core] Add scalar versions of Vector* min/max/clamp/snap(ped)
...
Convenience for a number of cases operating on single values
2024-05-02 10:31:13 +02:00
0c8275b4f7
Fix Path3D tilt gizmo raycasting against local plane
2024-04-24 16:02:01 +02:00
b1a2394b3b
Use same colors for editor and running project for collision/path debug
...
This harmonizes the appearance of collision shapes and paths between
the editor and running project, in both 2D and 3D.
This means that in 3D, paths are now green and shapes are now cyan
instead of light blue.
2024-04-21 00:58:08 +02:00
b77ac0a2b3
Merge pull request #89933 from jsjtxietian/path3d-remove
...
Support "clear points" function in Path3D topmenu bar
2024-04-04 14:35:27 +02:00
8516304b82
Merge pull request #89847 from GreenCrowDev/missing-bezier-handles
...
UX and stability improvements for `Path3D` node
2024-04-04 14:31:49 +02:00
34eff85014
Support “clear points” function in Path3D editor
2024-03-27 12:40:30 +08:00
20f4a5d03a
Fix path3d's pick works incorrectly when viewport is in half resolution
2024-03-26 17:24:41 +08:00
5c83d14698
UX and stability improvements for Path3D node
2024-03-25 16:51:37 +01:00
6efff2cd06
Use subgizmos instead of handles for Path3D curve points
2024-02-22 22:33:34 +01:00
959c166866
Merge pull request #83741 from BlueCube3310/path-3d-plugin-optimize
...
Optimize Path3DGizmo Mesh Generation
2023-12-08 16:58:08 +01:00
01888ae7ab
Fix theme application in various editor dialogs
...
99% of the time we shouldn't rely on the signal, we
should use the notification instead. I left some comments
in places where I couldn't quickly improve the code.
2023-12-04 13:18:48 +01:00
67a3ef6aca
Optimize Path3DGizmo mesh generation
2023-10-21 19:03:57 +02:00
ce4f64524f
Improve Path3D gizmo usability
...
Allow change tilt gizmo color and size in editor setting
2023-10-03 09:43:24 +08:00
8ddf73c74d
Merge pull request #81939 from YuriSizov/gui-flat-and-depressed
...
Replace flat buttons with flat-styled buttons with a visible pressed state
2023-09-25 17:18:29 +02:00
4bd569be95
Replace flat buttons with flat-styled buttons with a visible pressed state
2023-09-19 22:36:29 +02:00
6afadbaa9f
Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
2023-09-19 10:29:07 +02:00
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
8ecc0c4f47
Fix accessing editor theme items throughout the UI
...
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +02:00
f542dffb39
Improve the looks of 2D/3D viewport contextual toolbars
2023-09-13 13:04:55 +02:00
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
46e395abb1
Add handles to control Curve3D tilt
2023-08-12 14:55:38 +08:00
7f4f219a24
Add move control points button to PAth3D Editor
2023-06-05 04:54:48 +02:00
42aa5398d9
Fix Pathfollow direction
...
Co-authored-by: aaronfranke <arnfranke@yahoo.com >
2023-05-24 17:37:00 +09:00
b58111588a
Add EditorUndoRedoManager singleton
2023-01-16 01:11:52 +01:00
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
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
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
c90d0bd84f
Use forward-declarations in big editor classes
2022-11-29 09:59:43 +01:00