summaryrefslogtreecommitdiffstats
path: root/tests/scene
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | StyleBoxTexture unit testsMylesScholz2024-08-081-0/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Capitalization fix in test_style_box_texture.h Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro> Newline fix in test_style_box_texture.h Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
* | | | | | Merge pull request #94748 from aaronp64/tree_perfRémi Verschelde2024-08-271-0/+151
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Improve `Tree` performance
| * | | | | | Improve Tree performanceaaronp642024-07-261-0/+151
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Added TreeItem::last_child to avoid needing to iterate through all children to get to the end. This mainly helps in cases where one TreeItem has many children (1000s), and new children are added to the end, as each add had to iterate through all previously added children.
* | | | | | Merge pull request #91654 from 2nafish117/node2d-helper-testsRémi Verschelde2024-08-271-0/+125
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | Add unit tests for Node2D helper methods
| * | | | | add unit tests for Node2D helper methodsunknown2024-08-051-0/+125
| | |/ / / | |/| | |
* | | | | Merge pull request #89554 from smnast/backspace-unfoldRémi Verschelde2024-08-191-0/+20
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix backspace always unfolding previous line
| * | | | | Fix backspace always unfolding previous lineMrPersonDev2024-05-271-0/+20
| | | | | |
* | | | | | Fix TextEdit caret movement at start of wrapped lineskit2024-08-161-4/+62
| |/ / / / |/| | | |
* | | | | Fix compilation failure in test_graph_node.h with disable_exceptions=falseze2j2024-07-271-1/+3
| |/ / / |/| | |
* | | | Fix PathFollow tests, Add forward vector test to PathFollow3DRaul Santos2024-07-202-103/+222
| |_|/ |/| |
* | | [Tests] Fix various unit tests on minimal buildsA Thousand Ships2024-07-181-1/+1
| | |
* | | [Tests] Fix unit tests in template buildsA Thousand Ships2024-06-292-0/+4
| | |
* | | CodeEdit Fix move lines up/down viewport and selection issueskit2024-06-251-1/+119
| | |
* | | Fix storing of Node Array propertieskobewi2024-06-211-2/+57
| | |
* | | Merge pull request #92810 from KoBeWi/redirect_tests_to_dev/nullRémi Verschelde2024-06-133-9/+9
|\ \ \ | | | | | | | | | | | | Use subfolder for temporary test files
| * | | Use subfolder for temporary test fileskobewi2024-06-053-9/+9
| | | |
* | | | Add unit test cases for ImageTexture3Dgaven2024-06-121-0/+101
| | | |
* | | | Merge pull request #91390 from kitbdev/add-selection-unhide-caretsRémi Verschelde2024-06-071-0/+39
|\ \ \ \ | |/ / / |/| | | | | | | Unhide carets in add selection for occurrence and fix error
| * | | Unhide carets in add selection for occurrencekit2024-05-271-0/+39
| |/ /
* | | Fix default NodePaths saved in scenekobewi2024-06-031-0/+73
| | |
* | | make InstancePlaceholder in charge of node reference resolutionAdriano Orioli2024-05-281-0/+532
|/ /
* | Merge pull request #91909 from KoBeWi/have_fun_reviewing_thisRémi Verschelde2024-05-141-87/+87
|\ \ | | | | | | | | | Use Core/Scene stringnames consistently
| * | Use Core/Scene stringnames consistentlykobewi2024-05-131-87/+87
| | |
* | | [Tests] Expand tests for `Curve2D/3D`A Thousand Ships2024-05-122-3/+62
|/ /
* | Merge pull request #90705 from AThousandShips/foreach_listRémi Verschelde2024-05-071-2/+3
|\ \ | | | | | | | | | Reduce and prevent unnecessary random-access to `List`
| * | Reduce and prevent unnecessary random-access to `List`A Thousand Ships2024-05-041-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable
* | | add timer node testsShashank C2024-05-061-0/+217
|/ /
* | Fix TextEdit crash with multiple carets disabledkit2024-05-021-0/+5
| |
* | Overhaul multiple caret editing in TextEdit.kit2024-04-262-1094/+5958
| | | | | | | | Use a multicaret edit to delay merging overlapping carets until the end.
* | Merge pull request #90229 from Santoss1809/masterRémi Verschelde2024-04-261-0/+59
|\ \ | | | | | | | | | Fix error message when removing only child from GraphNode
| * | Fix error message when removing only child from GraphNodeJoão Santos2024-04-261-0/+59
| | | | | | | | | | | | Fixes #89695.
* | | Merge pull request #91103 from smix8/navregion_test_errRémi Verschelde2024-04-241-0/+2
|\ \ \ | | | | | | | | | | | | NavigationRegion test suppress warning about visual meshes
| * | | NavigationRegion test suppress warningsmix82024-04-241-0/+2
| | | | | | | | | | | | | | | | Suppresses warning about source geometry parsing from visual meshes in NavigationRegion test.
* | | | Set animation step from importers. Increase default step from 10 to 30 FPS.Lyuma2024-04-191-1/+1
|/ / /
* | | Update NavigationRegion test rid functionsmix82024-04-162-2/+2
| | | | | | | | | | | | Updates NavigationRegion test rid function from deprecated get_region_rid() to use newer get_rid().
* | | Tests: Remove NavigationRegion3D race condition that fails on CIRémi Verschelde2024-04-131-9/+0
| |/ |/| | | | | | | As the comment pointed it out, it's a race condition, and evidently no, "it's [not] fine" ;)
* | Merge pull request #88614 from ramadm/test-camera-2dRémi Verschelde2024-04-101-0/+318
|\ \ | | | | | | | | | Add unit tests for Camera2D
| * | Add unit tests for Camera2DRama Del Maestro2024-02-211-0/+318
| | |
* | | Fix a special case for button masksMarkus Sauermann2024-03-281-0/+1
| |/ |/| | | | | | | | | | | | | | | In certain situations it is possible that in a `Viewport` the same mouse button is pressed twice in series without releasing it in between. In this case, focus stealing should happen to ensure, that the mouse button is not sent unintentionally to the previously focused Control node.
* | Add 'Skip to next (text) occurrence' feature to text editorChristophe Andral2024-03-251-0/+147
| | | | | | | | | | | | | | | | | | Adds `ui_text_skip_selection_for_next_occurrence` action and related implementation to text editor. This action is bound `Ctrl+Alt+D` shorcut. Used in conjonction with `ui_add_skip_selection_for_next_occurrence`, it gives the user the ability to select many occurrences of a selection and avoid some of them. Used without a previous selection, the action jumps to the next occurrence of the current word under the caret.
* | Fix region section not ignoring #region and #endregion when in a stringRafael Chuva2024-03-111-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | When using the script editor, if the keywords #region and #endregion where in a string and ate the start of the line, the editor would not ignore them and count them as the actual keywords, which when folded, would only fold until the first #endregion in a string, for example. By checking if these keywords were in a string, this commit now ensures the editor ignores strings and fold the section correctly. Fixes #89115.
* | Split monolithic physics class filessmix82024-02-271-2/+2
| | | | | | | | Splits monolithic physics class files.
* | Move 3D-only resources to their own folderAaron Franke2024-02-263-3/+3
| |
* | Move 2D-only resources to their own folderAaron Franke2024-02-261-1/+1
| |
* | Fix some additional errors with 3D disabledA Thousand Ships2024-02-231-0/+12
|/ | | | | | | | | * Disabled 2D navigation tests as they do not work * Disabled tests for primitive meshes * Unbound some `Mesh` methods that rely on 3D resources * Unexposed `World3D` as it depends on physics (and isn't useful) * Unexposed some `Viewport` vrs related properties that had unexposed methods
* Added ImageTexture unit testsb2024-02-191-0/+111
|
* Avoid unqualified-id "near" and "far" in Node3DEditor/ViewportSilc Lizard (Tokage) Renew2024-02-131-6/+6
|
* Expose `is_baking` method in navigation servers and region nodes.Pawel Lampe2024-02-051-0/+40
|
* Test global transform when adding detached treeMarkus Sauermann2024-01-181-0/+28
| | | | Global transform should be correct after attaching a detached tree.
* Fix `#if *_ENABLED` inconsistencies, should check if definedRémi Verschelde2024-01-171-1/+1
| | | | Co-authored-by: Caroline Joy Bell <halotroop2288@proton.me>