cfa067fa56
Remove anti alias settings from PaintCurve2D, as it won't be supported when rendering an image.
2023-08-26 21:23:38 +02:00
014e928e47
Set the outline to white and disable it by default in PaintCurve2D.
2023-08-26 21:21:49 +02:00
fc91416394
Added support for textured outlines in PaintCurve2D.
2023-08-26 21:19:55 +02:00
bc99a23af0
Removed the offset property from PaintCurve2D.
2023-08-26 20:27:33 +02:00
632ee28564
Removed the render segments variable from PaintCurve2D.
2023-08-26 20:21:40 +02:00
961127cfc4
Implemented fill for PaintCurve2D.
2023-08-26 20:20:32 +02:00
6148df90ef
PaintCurve2D property setup.
2023-08-26 13:00:25 +02:00
94f412a352
Rework PaintPolygon2D's triangle rasterizer so both color and uv interpolation works properly.
2023-08-26 11:01:03 +02:00
43a2b7d6f3
Implemented a triangle scanline rasterizer for PaintPolygon2D. Still needs some work.
2023-08-25 23:02:01 +02:00
6fb4ece167
PaintPolygon2D modularize polygon preprocessing.
2023-08-25 21:26:46 +02:00
c22d5d8946
Remove bone and weight painting support from PaintPolygon2D.
2023-08-25 20:52:11 +02:00
edf55fde28
Renamed the new paint classes and added them to the build.
2023-08-25 19:16:52 +02:00
3424e44400
Added Path2D and Polygon2D Nodes and their editord to the Paint module.
2023-08-25 18:13:54 +02:00
8bf5c70f50
Now VoxelWorld and TerrainWorld inherits from Spatial instead of Navigation, and Terrain2DWorld inherits from Node2D insteaf of Navigation2D, as there is now a proper NavigationServer. Also this will make Node hieararchies involvig them more versatile.
2023-08-24 18:55:21 +02:00
b4fe2b0d38
Added a way to customize the doctype declaration the html tag and the body tag to WebServerRequest.
2023-07-24 17:37:34 +02:00
f28b6c0c07
Fix crash in WebServerRequest::get_url_root().
2023-07-22 00:34:08 +02:00
a5365f8ca8
Fix build.
2023-07-13 14:47:04 +02:00
d6018f1818
Build fix.
2023-07-11 12:25:31 +02:00
719de5d54e
Only build CSGGizmos when building the editor.
2023-07-11 12:18:08 +02:00
c87b5e57f0
Ported the navigation geometry parsers for the csg module.
2023-07-11 11:11:33 +02:00
d2806793bb
Added back the csg module from godot.
2023-07-11 11:00:55 +02:00
b68bbd3bfb
Implemented custom response headers for WebServerRequest.
2023-07-08 21:11:56 +02:00
bbbcfacd84
Re-extracted class docs.
2023-07-06 21:17:58 +02:00
4281657cf1
Ported from godot: move autotile fallback helper functions + fix comments and docs
...
- wareya
a40ecc71e6
2023-06-28 13:47:29 +02:00
cb344d36b8
Ported from godot: make autotiles fall back to the most similar bitmask using heuristics
...
- wareya
73ad6517e4
2023-06-28 13:36:14 +02:00
6d6f7a0d53
Apparently osx doesn't have the uchar.h header, so define char16_t and char32_t directly.
2023-06-24 00:00:44 +02:00
67975e335b
Fixed compile errors.
2023-06-23 18:10:50 +02:00
21ad9c3cbe
Fixed compile errors.
2023-06-23 17:51:36 +02:00
a47958471b
Fix includes.
2023-06-23 17:11:32 +02:00
b19d80afcb
Added back gdnative as a built in module. It was worked on in this repository: https://github.com/Relintai/gdnative .
2023-06-23 16:59:45 +02:00
d3f2e0e4fe
Fixed SkeletonModification3DFABRIK.
2023-06-22 09:43:55 +02:00
e56d6fa906
Added code to load old resource properties where applicable, to help converting resources to the new fixed apis. These will be removed after the next release.
2023-06-17 02:20:24 +02:00
b1de21dd58
Renamed get_stat, and set_stat in Entity. It's just a smell c++ side helper method, they aren't bound. Should not require any changes like the rest.
2023-06-16 23:26:49 +02:00
a0b908874d
Fix Entity's api's inconsistencies pt 4.
...
In projects mass replacing the following words will update everything.
gets_is_pet -> pet_gets_is
getc_is_pet -> pet_getc_is
gets_original_entity_controller -> original_entity_controller_gets
sets_original_entity_controller -> original_entity_controller_sets
gets_entity_controller -> entity_controller_gets
sets_entity_controller -> entity_controller_sets
getc_entity_controller -> entity_controller_getc
setc_entity_controller -> entity_controller_setc
gets_ai -> ai_gets
sets_ai -> ai_sets
free_spell_points_gets -> spell_points_gets_free
free_spell_points_sets -> spell_points_sets_free
free_spell_points_getc -> spell_points_getc_free
free_spell_points_setc -> spell_points_setc_free
2023-06-16 18:24:14 +02:00
3fdb671b51
Fix Entity's api's inconsistencies pt 3.
...
In projects mass replacing the following words will update everything.
gets_free_class_talent_points -> class_talent_points_gets_free
sets_free_class_talent_points -> class_talent_points_sets_free
getc_free_class_talent_points -> class_talent_points_getc_free
setc_free_class_talent_points -> class_talent_points_setc_free
gets_free_character_talent_points -> character_talent_points_gets_free
sets_free_character_talent_points -> character_talent_points_sets_free
getc_free_character_talent_points -> character_talent_points_getc_free
setc_free_character_talent_points -> character_talent_points_setc_free
gets_bag -> bag_gets
sets_bag -> bag_sets
getc_bag -> bag_getc
setc_bag -> bag_setc
2023-06-16 17:53:23 +02:00
05b11e9458
Fix Entity's api's inconsistencies pt 2.
...
In projects mass replacing the following words will update everything.
sets_ai_state -> ai_state_sets
ai_state_sets_stored -> ai_state_stored_sets
ssend_stat -> stat_ssend
creceive_stat -> stat_creceive
getc_state -> state_getc
setc_state -> state_setc
gets_state -> state_gets
sets_state -> state_sets
adds_state_ref -> state_ref_adds
removes_state_ref -> state_ref_removes
gets_free_spell_points -> free_spell_points_gets
sets_free_spell_points -> free_spell_points_sets
getc_free_spell_points -> free_spell_points_getc
setc_free_spell_points -> free_spell_points_setc
gets_target -> target_gets
sets_target -> target_sets
getc_target -> target_getc
setc_target -> target_setc
2023-06-16 16:57:56 +02:00
2b516b260a
Fix Entity's api's inconsistencies pt 1. Also fixed, and bound a property.
...
In projects mass replacing the following words (in the order given) will update everything.
get_character_skeleton_path -> character_skeleton_path_get
set_character_skeleton_path -> character_skeleton_path_set
get_character_skeleton -> character_skeleton_get
set_character_skeleton -> character_skeleton_set
gets_entity_data -> entity_data_gets
sets_entity_data -> entity_data_sets
getc_entity_data -> entity_data_getc
setc_entity_data -> entity_data_setc
entity_data_gets_id -> entity_data_id_gets
entity_data_sets_id -> entity_data_id_sets
entity_data_getc_id -> entity_data_id_getc
entity_data_setc_id -> entity_data_id_setc
entity_data_gets_path -> entity_data_path_gets
entity_data_sets_path -> entity_data_sets_path
gets_ai_state -> ai_state_gets
ai_state_gets_stored -> ai_state_stored_gets
2023-06-16 16:41:34 +02:00
1a5cba555c
Backported godot4 PR: Support threads in the script debugger
...
* This implementation adds threads on the side of the client (script debugger).
* Some functions of the debugger are optimized.
* The profile is also now thread safe using atomics.
* The editor can switch between multiple threads when debugging.
This PR adds threaded support for the script language debugger. Every thread has its own thread local data and it will connect to the debugger using multiple thread IDs.
This means that, now, the editor can receive multiple threads entering debug mode at the same time.
- reduz
PR 76582
Will be available here after it's merged:
6b176671c4
2023-06-14 14:43:55 +02:00
3346381a95
Skeleton doc small fixes.
2023-06-13 18:07:33 +02:00
24df83cd32
Added more newly extracted class docs.
2023-06-13 17:55:03 +02:00
8d679355df
Re-extracted class docs pt3.
2023-06-13 17:34:41 +02:00
a7f1f3356c
Re-extracted class docs pt2.
2023-06-13 16:51:37 +02:00
de1763d40d
Renamed neighbor_dist properties / getters / setters for the navigation server.
2023-06-12 08:37:57 +02:00
4cc77216d7
Fix codestyle in the InputMapEditor.
2023-06-11 16:12:43 +02:00
3afa1142b9
Merged the functionality of BSInputEventKey to InputEventKey. This new setting can make input event keys act as if they are shortcut matched.
2023-06-11 16:06:09 +02:00
de059c33bc
Use the new scaled grab radius in MDIGizmo.
2023-06-11 13:21:45 +02:00
MJacred
3227a23031
Warn against using non-uniform scale for 3D physics (in class reference only)
...
partial backport of #67847
fixes #56824
2023-06-11 09:04:25 +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
5118c434e2
Ported from godot4: Add Navigation Debug for GridMap edge connections
...
Adds navigation visual debug for GridMap edge connections that use baked navigationmesh with bake_navigation=true.
- smix8
4f0730d4bc
2023-06-10 23:14:09 +02:00
f058c87868
Backported from godot4: Rework Navigation Avoidance
...
Rework Navigation Avoidance.
- smix8
a6ac305f96
2023-06-10 20:58:49 +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
29784d5d5b
Ported from godot4: Enable assigning an owner to navigation regions and links
...
This allows users of the server APIs to get back the nodes that created certain regions and links.
- DarkKilauea
5769b0e8d8
2023-06-09 19:46:44 +02:00
160cb38a50
Ported from godot4: Add support for emitting a signal when entering a NavLink
...
- DarkKilauea
5d8ba2b2d1
2023-06-09 19:08:38 +02:00
e07fd6da59
Ported from godot4: Prevent unnecessary navigation map synchronizations
...
Prevents unnecessary navigation map synchronizations triggered by redundant calls to setters of e.g. region, link or map properties.
- smix8
7e1a261cc6
2023-06-09 16:43:14 +02:00
19fac49904
Turn PoolVectors in NavigationPathQueryResults into Vectors.
2023-06-09 16:27:24 +02:00
12b95cdc1f
Ported from godot4: Add navigation layer bitmask helper functions
...
Adds helper functions to work with the navigation layer bitmask.
- smix8
55923ade68
2023-06-09 15:44:12 +02:00
0bb4e0a9c2
Fix non tools build.
2023-06-09 11:39:52 +02:00
23daaf95a6
Ported from godot4: Fix 2D navigation debug visuals ignoring half the ProjectSettings
...
Fixes that NavigationRegion2D and TileMap debug visuals ignored more or less half the ProjectSetting. E.g. random color could not be disabled, edges did not display.
2b19c70664
2023-06-09 11:29:33 +02:00
c11500d480
Ported from godot4: 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.
- smix8
bf1571979c
2023-06-09 10:28:31 +02:00
b940854ca9
Ported from godot4: Add NavigationServer Performance Monitor
...
Adds Performance Monitor for NavigationServer3D.
- smix8
9802914f97
2023-06-09 10:17:43 +02:00
038329e7d0
Backported form godot4: Fix NavigationServer internals still using float instead of real_t
...
Fixes that some NavigationServer internals still used float instead of real_t in some parts.
- smix8
217a27014b
2023-06-09 08:53:00 +02:00
0438c3cc3f
Backported from godot4: Added node for Navigation links .
...
- DarkKilauea
3dd59013f4
2023-06-08 20:46:09 +02:00
f6e65112d7
Backported from godot4: Add NavigationPathQuery
...
Adds NavigationPathQueryParameters objects that can be used with NavigationServer.query_path() to query a customized navigation path.
- smix8
63dcb9aa80
2023-06-08 18:23:48 +02:00
b8d9ffec6d
Moved TileMap's Geometry Parser to TileMap's module.
2023-06-07 15:44:25 +02:00
c8d05fe667
Remove module dependency.
2023-06-07 15:44:00 +02:00
6f88656bc7
Removed the Clipper2 module, and also the remaining c++17 defines.
2023-06-07 15:33:59 +02:00
443482ee47
Make MeshInstance2DNavigationGeometryParser2D use the Geometry singleton instead of the clipper2 module.
2023-06-07 15:32:30 +02:00
2e1e153bc3
Make MultiMeshInstance2DNavigationGeometryParser2D use the Geometry singleton. And by proxy clipper 1.
2023-06-07 15:25:32 +02:00
d9a03e7eab
Remove temp code.
2023-06-07 09:21:42 +02:00
6eb37ff901
Ported clipper2 usage to clipper1 in PandemoniumNavigationMeshGenerator. Also moved them to the Geometry singleton.
2023-06-07 09:20:36 +02:00
91f365b183
Added CapsuleShape2D support for StaticBody2DNavigationGeometryParser2D.
2023-06-07 00:36:53 +02:00
683feba2e1
Fix RectangleShape2D size calculation in StaticBody2DNavigationGeometryParser2D.
2023-06-07 00:27:27 +02:00
99207066c5
Disable offsetting in PandemoniumNavigationMeshGenerator for 2d, as it seems to be bugged.
2023-06-07 00:24:59 +02:00
f8ae128f72
Fix UndoRedo handling in NavigationPolygonEditor.
2023-06-06 23:48:51 +02:00
9386fa1639
Fix typo.
2023-06-06 23:25:03 +02:00
919a1ddd14
Use the new temporary clipper2 module for the rest of the code that needs clipper2.
2023-06-06 22:59:09 +02:00
a5c03b77c1
Make the NavigationMesh generator and the TileMapNavigationGeometryParser use the new Clipper2 module. (Note that the clipper2 module is only temporary, it only exists to help with backporting the code.)
2023-06-06 19:02:33 +02:00
a65ad4d279
Added note.
2023-06-06 19:00:05 +02:00
13fa54d9cf
Also added Polypartition to the new clipper2 module from godot4. (Temporarily)
2023-06-06 18:07:49 +02:00
1d8be4224e
Added Clipper2 as a module from the navigation mesh generator rework pr.
2023-06-06 18:03:03 +02:00
7ce5f939a9
Ported the docs from the navigation mesh generator rework pr.
2023-06-06 16:52:04 +02:00
32e0e80ac8
Ported the tweaks for the TIleSetEditor.
2023-06-06 16:19:46 +02:00
2481e1ac65
Fix inconsistent override.
2023-06-06 15:58:40 +02:00
82316363eb
Removed the old navigation mesh generator and it's editor plugin.
2023-06-06 13:59:33 +02:00
f04fe96da7
Ported the geometry parser for GridMap from the navigation mesh generator pr.
2023-06-06 13:52:16 +02:00
890d6f1b28
Removed region_bake_navmesh from the NavigationServer.
2023-06-06 09:36:19 +02:00
f1f5849aff
Added missing includes for windows.
2023-06-06 09:35:20 +02:00
b96e013bed
Updated navigation geometry parsers, and added them to the build.
2023-06-06 07:55:19 +02:00
3612f2db50
Use GLOBAL_DEF instead of GLOBAL_GET in PandemoniumNavigationMeshGenerator.
2023-06-06 07:04:33 +02:00
62cecc5bb3
Fix int sign comparison warning.
2023-06-06 06:57:47 +02:00
bfcf461cb9
Fix unused variable warning.
2023-06-05 22:10:39 +02:00
03944c456c
Cleaned up and enabled the new navigation mesh generator editor plugins.
2023-06-05 21:58:00 +02:00
2296bf693a
Fix and finally enable PandemoniumNavigationMeshGenerator.
2023-06-05 20:42:35 +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
654cfb81b7
Renamed NavigationRegion2D back to NavigationPolygonInstance, as I think it fits the engine better.
2023-06-05 18:09:53 +02:00
1994285031
Alos remove _execute method bind from the NavigationMeshGenerator jobs.
2023-06-05 14:50:39 +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
4873a3429d
Don't bind _execute() method in ThreadPoolJob derived classes, as it's not needed anymore.
2023-06-05 14:15:49 +02:00
6589d075bb
Ported the improvements to the NavigationPolygon from the aforementioned pull request.
2023-06-05 14:13:02 +02:00
b4cc1c3096
Added the GeometryParsers from the NavigationMeshGenerator pr to a new module.
2023-06-05 12:43:27 +02:00
645045f97c
Finished reworking PandemoniumNavigationMeshGenerator's api.
2023-06-05 08:58:48 +02:00
d35db3a25a
More cleanups.
2023-06-05 00:20:48 +02:00
57153f4a33
Make overrides consistent again.
2023-06-04 13:11:04 +02:00
45c0147f66
Notes and small cleanups.
2023-06-04 13:02:02 +02:00
3ba762a9a4
PandemoniumNavigationMeshGenerator rework pt1.
2023-06-04 10:14:20 +02:00
e55c561075
Also added the navigation mesh generator module. It's disabled for now, as it needs some reworks.
2023-06-03 21:18:18 +02:00
0a3d1d6cf5
Added in NavigationMeshGeneratorDummy and set up initialization.
2023-06-03 20:00:42 +02:00
2114b2239b
Split NavigationPolygon and NavigationPolygonInstance into 2 files. Also renamedNavigationPolygonInstance to NavigationRegion2D.
2023-06-03 16:54:48 +02:00
79538b4392
Fix more binding inconsistencies.
2023-06-02 12:21:16 +02:00
e3e9450882
Fix property binding hints.
2023-06-02 12:12:04 +02:00
de9da3151f
Fix property types. Auras have been merged into Spells a while ago.
2023-06-02 12:10:20 +02:00
d8bd83dbd5
Fix the type of FastnoiseNoiseParams::get_fractal_octaves().
2023-06-01 17:15:27 +02:00
97f5037c8b
Renamed the object() method in HTMLBuilder as it can cause issues with bind generators.
2023-06-01 16:51:08 +02:00
d093365b00
Fix some property names being the same as getters / setters.
2023-06-01 15:42:32 +02:00
dbc5b1df35
Fixed disrepancies between a few getter and setters.
2023-06-01 13:06:24 +02:00
61ccfb443f
Bind missing enum values in Terrain2DJob.
2023-05-31 22:52:52 +02:00
868230fe57
Bind enum values.
2023-05-31 22:51:03 +02:00
44070461e7
Move the enums from the top of spell.h into the Spell class.
2023-05-31 22:49:36 +02:00
9c28249819
Bind enum constants.
2023-05-31 22:43:57 +02:00
a1402fd46a
Bind enum constants.
2023-05-31 22:42:59 +02:00
69182c8089
Fix duplicate parameter name in binding.
2023-05-31 22:36:02 +02:00
b7e273b226
Bind missing enum constants.
2023-05-31 22:33:20 +02:00
8f9274a589
Fix virtual method names in Entity.
2023-05-31 22:31:46 +02:00
c65f9cb85a
Fix duplicate property param name.
2023-05-31 22:24:18 +02:00
5acb19630d
Fix the order of some default arguments in bindings.
2023-05-31 22:14:12 +02:00
807d5f18a2
Bind enum constants in Prop2DInstanceJob.
2023-05-31 17:33:35 +02:00
HolonProduction
4410d81189
Suggest class_name in 3.x autocompletion.
2023-05-01 12:30:43 +02:00
922a519a52
Also fix the tangent generation button in the MeshDataResource editor.
2023-04-21 11:10:22 +02:00
ab2f492775
Fix visual indicator toggles in the MeshDataResource editor.
2023-04-21 11:08:28 +02:00
8253cf6c56
Reworked undo redo handling in the MeshDataResource Editor. Now it will properly mark the actual resource dirty in all cases. Also fixed other small inconsistencies, and issues.
2023-04-21 11:03:24 +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
71c00ae64f
Fix string parameter parsing in multipart forms, also make multipart form content fields case independent.
2023-04-16 23:30:13 +02:00
c7639cad53
Fix build on windows.
2023-04-16 19:38:13 +02:00
1c505fe527
Make sure the dummy navigation server is used automatically if the normal is disabled.
2023-04-16 19:10:30 +02:00
88d12ace16
Added a new dummy navigation server module.
2023-04-16 18:57:43 +02:00
86bdecbfe9
Now more than one Naviugation2D servers can be registered.
2023-04-16 18:19:57 +02:00
f6c1c1dc8d
Move NavigationServer2d's forwarding logic to the navigation module as a new derived class.
2023-04-16 18:11:15 +02:00
7068f1834e
Now more than one Navigation Server can be registered.
2023-04-16 17:42:34 +02:00
276e4db381
Cleanups to Skeleton's bindings.
2023-04-15 13:58:24 +02:00
727826efba
Make sure Skeletons set up their initial pose.
2023-04-15 13:52:21 +02:00
986565b0b4
Fix error spam in the skeleton editor.
2023-04-15 13:51:44 +02:00
32e9927ac8
Ported from godot 4: Remove NOTIFICATION_MOVED_IN_PARENT
...
* This notification makes node children management very inefficient.
* Replaced by a NOTIFICATION_CHILDREN_CHANGED (and children_changed signal).
* Changed Canvas code (and similar) to use the above signal, to perform more efficiently.
This PR breaks compatibility (although this notification was very rarely used, even within the engine), but provides an alternate way to do the same.
It is required for the changes in #75627 to be entirely effective.
- reduz
Note that I removed NOTIFICATION_MOVED_IN_PARENT, as keeping it, but making it just not work is worse in my opinion.
104392ef4e
2023-04-10 15:55:34 +02:00
smix8
6eb9ac3085
Fix GridMap free navigation RID error spam
...
Fixes GridMap free navigation RID error spam.
2023-04-10 09:49:50 +02:00
a76df86ef3
Parse and process http headers in a case insensitive manner in HTTPParser.
2023-03-22 21:31:57 +01:00
53ddc7796f
Quick fix for accessing files in the pck file for FileCaches.
2023-03-22 14:30:07 +01:00
b92d4f19ca
Refresh the file cache in WebRoot on NOTIFICATION_READY.
2023-03-22 14:29:09 +01:00
517a5b9044
Added more mimetypes to the HTTPServerSimple.
2023-03-22 14:00:18 +01:00