9d2309bfe1
Moved shapes to core.
2023-12-10 19:58:44 +01:00
053f083e17
Moved the Physics 2d server to core.
2023-12-10 19:42:57 +01:00
dbcc6e33da
Moved the physics server to core.
2023-12-10 19:36:00 +01:00
238bf1b331
Moved the RenderingServer to core.
2023-12-10 19:04:24 +01:00
049440aaf1
Moved BitMap to core.
2023-12-10 18:07:25 +01:00
3902cf1924
Moved ScneeStringNames and PropertyUtils into scene/main.
2023-12-10 18:01:51 +01:00
191e9e152e
Added quote_style argument to get_argument_options().
2023-12-10 16:02:08 +01:00
9df5649c1b
Moved CanvasItem, Control, Node2D and Spatial under scene/main.
2023-12-10 15:50:54 +01:00
0dfba6c552
Moved AudioStreamSample.
2023-12-10 15:26:43 +01:00
763f662263
Moved meshes to a new subfolder.
2023-12-10 15:22:09 +01:00
deccaed2cc
Moved materials into a new subfolder.
2023-12-10 14:59:22 +01:00
08160fd63f
Moved fonts into a new subfolder.
2023-12-10 14:42:30 +01:00
4cbc387c53
Moved the navigation relatred resources into subfolders.
2023-12-10 14:23:24 +01:00
2cc42b045a
Moved shapes under a new shapes folder.
2023-12-10 14:10:10 +01:00
e50ab7fa84
Moved 2d shapes under a new shapes_2d folder.
2023-12-10 13:55:20 +01:00
11b8f50a82
Moved SyntaxHighlighter.
2023-12-10 13:44:52 +01:00
b34258606b
Moved Animation from scene/resources to scene/animation.
2023-12-10 13:30:23 +01:00
2e7709185a
Added a new CSplitContainer type which acts as both a VSplitContainer and HSplitContainer and allows changing between them using a property.
2023-10-20 15:06:23 +02:00
b4692f1763
Port4ed from godot: Add binary MO translation file support. Add brotli decoder and WOFF2 support.
...
Use smaller .mo files instead of .po, if gettext is available.
Convert editor fonts to .woff2 format.
- bruvzg
fd2fba7c2c
2023-10-02 21:12:03 +02:00
8880722565
Removed cell height getters and setters from the Navigation2DServer.
2023-09-05 11:57:34 +02:00
43c11fcdf5
Backported from godot4: Fix typo and ensure backwards compatibility for changed property names
...
Changes to the name of the `navmesh` and `navpoly` properties on
`NavigationRegion` caused navigation data to be lost on load.
This PR creates uses `_set`/`_get` to handle compatibility with the
older names on load, preserving the data.
Also fixes a typo on `get_vertices_per_polygon` in `NavigationMesh`,
and renames the property to remove the `polygon_` prefix which doesn't
match the setter/getter.
- DarkKilauea, akien-mga
0572346985
2023-09-05 09:13:54 +02:00
2f036edcc5
Backported from godot4: Fix cell_height for navigation meshes
...
Fixes `cell_height` for navigation meshes.
- smix8
180a5cded1
2023-09-04 18:34:15 +02:00
8485b37515
Ported from godot4: 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".
- smix8
34e7628f5f
2023-09-04 17:09:39 +02:00
935ed3c807
Backported from godot4: Tweak NavigationAgent2D defaults
...
Tweaks default values for NavigationAgent2D to work better out of the box within a new 2D project using default resolution.
- smix8
594ffd2200
2023-09-03 09:14:50 +02:00
e6e30d2f27
Backported from godot4: Disable NavigationMesh edge_max_length property by default
...
Disables NavigationMesh edge_max_length property by default.
- smix8
c63125c317
2023-09-02 13:46:13 +02:00
697d4a32fc
Backported from godot4: Change 2D navigation ProjectSettings from integers to floats
...
Changes 2D navigation ProjectSettings from integers to floats.
- smix8
2852fb43f7
2023-09-02 13:38:20 +02:00
09af276838
Backported from godot4: Add NavigationPolygon cell_size property
...
- smix8
9c8626bfd8
2023-09-02 13:12:46 +02:00
62e2b1623a
Use NULLs.
2023-08-30 13:24:46 +02:00
7e270262f9
Ported: Fix binary internal cache not being filled
...
- Razoric480
d331e5c7ac
2023-08-30 13:00:53 +02:00
4a51324f7d
Ported: Force external resources to have their path set
...
- Razoric480
420794b61d
2023-08-30 12:57:00 +02:00
5d93975c8d
Ported: Fix custom res caching sub-res even if no-cache
...
-Razoric480
2ceb93bbef
2023-08-30 12:55:37 +02:00
lawnjelly
ca171817a8
MultiRect - Fix flushing in TextEdit
...
The FontDrawer used in TextEdit was previously not being flushed before drawing auto-completion boxes. This was causing rendering artifacts.
This PR also increases the backward compatibility of the MultiRect OFF mode, by forcing a flush after each character.
2023-08-27 11:45:09 +02:00
lawnjelly
22d90711da
Make acos and asin safe
...
A common bug with using acos and asin is that input outside -1 to 1 range will result in Nan output. This can occur due to floating point error in the input.
The standard solution is to provide safe_acos function with clamped input. For Godot it may make more sense to make the standard functions safe.
2023-06-11 08:41:42 +02:00
37273d29c9
Ported: Multirect - Fix refining regions for all derived Textures
...
Fixes allowing all derived texture types to modify region prior to rendering.
- lawnjelly
43b6205887
2023-06-11 00:47:10 +02:00
8642a7c722
Ported: Fix rendering tiles using nested AtlasTextures
...
- kleonc
12c923cb8b
2023-06-11 00:23:26 +02:00
Ninni Pipping
feb55d26d2
Fix size error in BitMap.opaque_to_polygons
...
Previous estimate of upper limit on size was incorrect
2023-06-10 23:35:51 +02:00
8b18898609
Backported from godot4: Rework const on NavigationServer methods
...
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
- DarkKilauea
a0715b30f9
2023-06-09 22:03:42 +02:00
6384b9624f
Ported from godot4: Make navigation mesh edge connections optional
...
Makes navigation mesh edge connections optional.
- smix8
f986b52b3c
2023-06-09 20:54:05 +02:00
0438c3cc3f
Backported from godot4: Added node for Navigation links .
...
- DarkKilauea
3dd59013f4
2023-06-08 20:46:09 +02:00
91f365b183
Added CapsuleShape2D support for StaticBody2DNavigationGeometryParser2D.
2023-06-07 00:36:53 +02:00
d344005b8d
Don't unref() the NavigationMesh in NavigationPolygon.
2023-06-06 23:44:33 +02:00
c898d9bc51
NAvigationMesh small tweaks.
2023-06-06 10:02:47 +02:00
63892627f7
Ported missing changes to NavigationPolygon from the navigation mesh generator rework pr.
2023-06-06 09:58:44 +02:00
2296bf693a
Fix and finally enable PandemoniumNavigationMeshGenerator.
2023-06-05 20:42:35 +02:00
26ff340d47
Reorganized NavigationMesh.
2023-06-05 19:21:59 +02:00
a3aebe8bc5
Ported the improvements to the NavigationMesh from the NavigationMeshGenerator rework pr.
2023-06-05 19:20:28 +02:00
c72a079c49
Removed the Polygon struct from NavigationMesh.
2023-06-05 19:07:04 +02:00
25078b1437
Ported from godot4: Remove / Replace old Navigation Debug Visualization
...
- removes / replaces leftovers from old navigation debug code
- cleanes SceneTree and ProjectSettings from old navigation debug
- smix8
d7f75fab60
2023-06-05 18:56:41 +02:00
68b9f4c90e
Ported from godot4: Add more detailed Navigation Debug Visualization
...
- Adds more customization options to ProjectSettings.
- Displays navregion edge connections and navigation polygon edges in editor and at runtime.
- Majority of debug code moved from SceneTree to NavigationServer.
- Removes the irritating debug MeshInstance child node from NavigationRegion3D and replaces it with direct RenderingServer API.
- smix8
c394ea518e
2023-06-05 18:05:15 +02:00
cfa4384ad4
Backported from godot4: Fix NavigationMesh baking AABB Editor handling and visuals
...
Fixes handling and visuals for Navigation Mesh baking AABB in the Editor.
- smix8
2023-06-05 14:33:55 +02:00