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
b7892d6baf
Backported from godot4: Implement NavigationMesh bake area.
...
Adds two new properties to NavigationMesh resources to restrict the navmesh baking to an area enclosed by an AABB with volume.
- smix8
0c4d99f4fd
2023-06-05 14:24:42 +02:00
6589d075bb
Ported the improvements to the NavigationPolygon from the aforementioned pull request.
2023-06-05 14:13:02 +02:00
712eb8eb8a
Removed the Polygon struct from NavigationPolygon.
2023-06-05 12:48:57 +02:00
0bfa40bb09
Reorganize NavigationPolygon.
2023-06-05 12:44:49 +02:00
8cbb1bb879
Started porting pull request from godot 4: Rework NavigationMeshGenerator
...
Reworks NavigationMeshGenerator and navigation mesh parse and bake process. Adds navigation mesh baking for 2D.
- smix8
https://github.com/godotengine/godot/pull/70724
38699a8259
2023-06-03 18:22:12 +02:00
2114b2239b
Split NavigationPolygon and NavigationPolygonInstance into 2 files. Also renamedNavigationPolygonInstance to NavigationRegion2D.
2023-06-03 16:54:48 +02:00
3a1b2954f1
Ported: [3.x] Don't apply scale to autohide theme property
...
- AThousandShips
1c66257568
2023-04-20 23:47:14 +02:00
dd5ad408e8
Ported: SurfaceTool - efficiency improvements
...
Changed to use LocalVector rather than linked lists.
- lawnjelly
ff714fbe02
2023-04-20 23:44:12 +02:00
1263101396
Ported: Batching - Add MultiRect command
...
Large groups of similar rects can be processed more efficiently using the MultiRect command. Processing common to the group can be done as a one off, instead of per rect.
Adds the new API to VisualServerCanvas, and uses the new functionality from Font, BitmapFont, DynamicFont and TileMap, via the VisualServerCanvasHelper class.
- lawnjelly
910ddd13c4
2023-04-20 23:09:37 +02:00
Marius Hanl
1be818c478
Fix RichTextLabel: BBCode [color] tags are not counting in font char spacing
...
Each BBCode tag is drawn individually, so we have to add the character spacing manually.
2023-03-12 13:11:00 +01:00
e42c604bc3
Ported: Switch from recursion to iterative for backfilling colour regions.
...
- Paulb23
ee4a1c99a7
2023-02-21 13:11:37 +01:00
a79792ee67
Ported: Fix color region end key seach and start key order.
...
- Paulb23
6cdcdbc242
2023-02-21 13:08:49 +01:00
6ea9b581d7
Ported: Fix colour region continuation over blank lines, issue 41120
...
- Paulb23
5cf2cf8646
2023-02-21 12:53:41 +01:00
634bdfbb69
Ported: Changed line_edited_from(from) to lines_edit_from(from, to)
...
- Paulb23
907f9f2a84
2023-02-21 12:37:52 +01:00
0016b64316
Fix inconsistent overrides warning.
2023-02-21 01:34:30 +01:00