summaryrefslogtreecommitdiffstats
path: root/modules/csg
Commit message (Collapse)AuthorAgeFilesLines
* Rename internal Button icon to button_icon to match exposed methodsAaron Franke2024-10-291-1/+1
|
* Editor: Improve cylinder gizmos 🌈HolonProduction2024-10-111-44/+10
|
* Merge pull request #97479 from dustdfg/csg_redudant_3d_disabled_checkRémi Verschelde2024-09-261-4/+0
|\ | | | | | | Remove redundant `_3D_DISABLED` check from csg module
| * Remove redudant _3D_DISABLED check from csg moduleYevhen Babiichuk (DustDFG)2024-09-261-4/+0
| | | | | | | | | | | | | | It even won't be considered for building so there is no any sense for compile time checks Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
* | SCons: Add unobtrusive type hints in SCons filesThaddeus Crews2024-09-251-0/+1
|/
* [Editor] Expose more editor settings to documentationA Thousand Ships2024-09-121-1/+1
| | | | Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
* Merge pull request #96389 from kitbdev/extract-main-screenRémi Verschelde2024-09-111-1/+1
|\ | | | | | | Extract EditorMainScreen from EditorNode
| * Extract editor main screenkit2024-09-091-1/+1
| |
* | Fixed CSG debug collision shapes being visible in editor. Also undid an old, ↵Zi Ye2024-09-091-6/+1
|/ | | | incorrect fix which made debug collision visibility depend on CSG visibility.
* Merge pull request #93252 from smix8/csg_bakeRémi Verschelde2024-08-195-18/+249
|\ | | | | | | Add CSG options to bake to static mesh and collision shape
| * Add CSG options to bake to static mesh and collision shapesmix82024-06-195-18/+249
| | | | | | | | Adds API to bake a CSG root node operation to either a static ArrayMesh or a ConcavePolygonShape3D physics collision shape. Adds menu options to the editor plugin when selecting a CSG root node to add baked sibling nodes.
* | Fix CSGShape3D's _mesh_changed thread unsafe call to update_gizmosjsjtxietian2024-07-301-1/+2
| |
* | Style: Optimize `.svg` files with `svgo`Thaddeus Crews2024-06-238-8/+8
|/
* Make CSG shape dirty after changing Snap, update doc312024-06-162-1/+6
| | | | | | Update doc to mention that Snap only takes effect at the top level. Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
* Use Core/Scene stringnames consistentlykobewi2024-05-131-3/+3
|
* Replace `find` with `contains/has` where applicableA Thousand Ships2024-05-081-1/+1
| | | | | | | * Replaces `find(...) != -1` with `contains` for `String` * Replaces `find(...) == -1` with `!contains` for `String` * Replaces `find(...) != -1` with `has` for containers * Replaces `find(...) == -1` with `!has` for containers
* [Core] Add `LocalVector::has` for convenienceA Thousand Ships2024-05-061-1/+1
|
* Organize existing code for editor pluginsAaron Franke2024-04-271-1/+1
|
* Move 3D-only resources to their own folderAaron Franke2024-02-261-1/+1
|
* Merge pull request #85455 from xiongyaohua/fix_CSGPolygon_not_following_Path3DRémi Verschelde2024-02-151-0/+2
|\ | | | | | | Notify CSGPolygon about transform changes in Path3D
| * Path3D notify transform change to CSGPolygonYaohua Xiong2024-01-081-0/+2
| |
* | Replace error checks against `size` with `is_empty`A Thousand Ships2024-02-091-1/+1
| |
* | Update deferred calls to use Callableskobewi2024-01-091-2/+2
|/
* Merge pull request #82872 from ↵Yuri Sizov2023-12-191-1/+1
|\ | | | | | | | | | | jsjtxietian/require-editor-restart-when-csg-gizmo-color-changed Prompt require editor restart to user when gizmo color changed
| * Prompt require editor restart to user when gizmo color changedjsjtxietian2023-10-061-1/+1
| |
* | Merge pull request #84652 from timothyqiu/enum-punYuri Sizov2023-12-191-1/+1
|\ \ | | | | | | | | | Avoid punning enum names in documentation
| * | Avoid punning enum names in documentationHaoyu Qiu2023-11-091-1/+1
| | |
* | | Merge pull request #80326 from MewPurPur/no-exp-with-zeroRémi Verschelde2023-12-041-1/+1
|\ \ \ | |/ / |/| | | | | Remove exp hint of a few properties
| * | Remove exp hint of a few propertiesMewPurPur2023-08-061-1/+1
| | |
* | | Merge pull request #82133 from MewPurPur/svg-tweaksYuri Sizov2023-11-066-6/+6
|\ \ \ | | | | | | | | | | | | Optimize and tweak some SVGs, improve consistency between icons, and fix broken masks in light mode
| * | | Optimize, tweak, improve consistency in SVG icons, and fix masks in light modeMewPurPur2023-11-046-6/+6
| | | |
* | | | Fix CSGShape debug_collision_shape crashsmix82023-11-021-1/+3
| | | | | | | | | | | | | | | | Fixes CSGShape debug_collision_shape crash.
* | | | Hide CSGShape's debug_collision_shape when it is invisiblejsjtxietian2023-10-301-0/+5
| |_|/ |/| |
* | | [Modules] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-261-2/+2
|/ /
* | Improve the Torus iconsMewPurPur2023-09-201-1/+1
| |
* | Add helper for 3D gizmos and unify boxkobewi2023-09-122-52/+26
| |
* | Make CSGShape follow curve's tilt in Path modepidogs2023-08-171-2/+2
| | | | | | | | Fixes #65634.
* | Clarify the behaviour of CSGMesh3D using ArrayMeshmandryskowski2023-08-121-1/+2
|/
* Unify and streamline connecting to Resource changeskobewi2023-07-171-2/+2
|
* Doctool: Remove version attribute from XML headerRémi Verschelde2023-07-069-9/+9
| | | | | | We don't use that info for anything, and it generates unnecessary diffs every time we bump the minor version (and CI failures if we forget to sync some files from opt-in modules (mono, text_server_fb).
* Bump version to 4.2-devRémi Verschelde2023-07-059-9/+9
| | | | Keep on waitin'
* Style: Harmonize header includes in modulesRémi Verschelde2023-06-152-2/+3
| | | | | | | | | | | | | | | | | | | | This applies our existing style guide, and adds a new rule to that style guide for modular components such as platform ports and modules: Includes from the platform port or module ("local" includes) should be listed first in their own block using relative paths, before Godot's "core" includes which use "absolute" (project folder relative) paths, and finally thirdparty includes. Includes in `#ifdef`s come after their relevant section, i.e. the overall structure is: - Local includes * Conditional local includes - Core includes * Conditional core includes - Thirdparty includes * Conditional thirdparty includes
* Optimize CSG icons and moreVolTer2023-05-298-8/+8
|
* Fix CSGPolygon3D in path mode disappearing at runtime.Evan Todd2023-05-151-1/+1
|
* Enable shadow warnings and fix raised errorsNinni Pipping2023-05-112-20/+20
|
* Add debug collision shape to CSG with collisionRicardo Buring2023-05-032-0/+46
|
* Fix infinite loop in Build2DFaces::_find_edge_intersectionsJustin Wash2023-04-271-5/+22
|
* Fix CSG edge case causing intersection line to hit on common edge of 2 ↵K. S. Ernest (iFire) Lee2023-04-274-17/+80
| | | | | | | | | | | | | | | | | | | | triangles. The previous implementation assumed that the intersection entered or exited a shape when it hit right on the common edge of 2 triangles. However, there is also a case where it just "skirts" the other shape on the outside. To fix this, we added code to check the intersection distance and if the normals of the faces are pointed in the same direction as the intersection or not (e.g. inner product > 0). This handles the case where the intersection line hits the common edge of 2 triangles and skirts the other shape on the outside. Extended code to cover a third case. Fixes #58637. Co-authored-by: OldBelge <StevenGeens@users.noreply.github.com>
* Validate code tags in documentation for potential paramsYuri Sizov2023-04-261-4/+4
| | | | | | | Adds a check to make_rst to look for matches between the text inside of the [code][/code] tag and known param identifiers. Fixes most of what was revealed.
* Bump version to 4.1-devRémi Verschelde2023-03-019-9/+9
| | | | Can't stop, won't stop, they said, huh?