Commit Graph

37 Commits

Author SHA1 Message Date
f09ab537e0 Clang-format everything. 2024-04-21 15:27:36 +02:00
lawnjelly
a607ec6545 Fix SceneTree dock filter crash
The filter was crashing for two reasons:
1) Deleting a child invalidated the iteration of children
2) Child was accessed after deletion
2024-04-06 12:24:45 +02:00
lawnjelly
909acac329 Discrete Level of Detail
Add scene side discrete level of detail.

New node `LOD` for UI, and `LODManager` within `World` for automatically updating child visibilities based on distance from cameras.
2024-04-06 12:06:01 +02:00
a5fcaa536f Fix errors during filtering Nodes in the editor. 2024-02-08 22:42:42 +01:00
37d2f96834 Fix more errors. 2024-02-08 17:43:26 +01:00
Micky
f3833e82ac Improve Scene Tree Dock's Node filter (Allow multiple terms & more) 2024-02-08 14:46:41 +01:00
Haoyu Qiu
838b46ac1a Allow dragging editable children 2023-12-20 22:28:25 +01:00
99621357a0 File copyright header updates pt4. 2023-12-17 22:50:00 +01:00
9df5649c1b Moved CanvasItem, Control, Node2D and Spatial under scene/main. 2023-12-10 15:50:54 +01:00
2183fe6e0f Fix double script icon in the editor. 2023-09-06 01:56:17 +02:00
0a9c9ca15e Ported godot pr: [3.x] Allow exporting custom resources from/to any scripting language (GDScript, VisualScript, C#, NativeScript, PluginScript)
- willnationsdev
https://github.com/godotengine/godot/pull/44879
Using the rebased version from 02d1f70ee5 by Atlinx
2023-09-06 01:45:29 +02:00
8ab1998fcb Ported from godot 4: Optimize Node::add_child validation
Adding 10k nodes is almost twice as fast.
- reduz
223ce4fcb9
2023-04-10 18:10:22 +02:00
8f311ca275 Prefix class names in the editor_script_editor module with Editor. Pt 1. 2023-02-18 16:37:54 +01:00
990f8aaecd Prefix filenames in the editor_script_editor module with editor_. 2023-02-18 16:22:59 +01:00
6e88ad5bae Moved the editor_code_editor module to the editor_modules folder. 2023-02-18 15:45:50 +01:00
a14821587f Renamed the code_editor module to editor_code_editor. 2023-02-18 15:31:58 +01:00
65c91c6899 Moved ScriptEditorPlugin and ScriptEditor out from the editor folder. 2023-02-18 15:08:56 +01:00
e32e63242b Moved ScriptEditor and ScriptEditorPlugin to a new editor subfolder. 2023-02-18 14:36:51 +01:00
4dd84847eb Moved ScriptEditor to it's own file. 2023-02-18 13:22:43 +01:00
8d7090241a Make sure that the editor can be built even when the new code_editor module is disabled. 2023-02-17 23:20:10 +01:00
9cd2927fcc Move the editor's script text editor into the new code_editor module. 2023-02-17 20:57:16 +01:00
2cd4e4d828 Renamed Set to RBSet. 2023-01-15 19:42:08 +01:00
d39fb5c4ad Fix compile. 2022-09-17 00:03:47 +02:00
Micky
06202f66b9 Fix tool script button color overriding custom type color
Also adds a small note on the tooltip noting the custom type.

(cherry picked from commit 65cc721eb94ee67315bacc9caadb0d36ff221b13)
2022-09-17 00:01:33 +02:00
ad17c39ad4 Fix compile. 2022-09-16 23:06:25 +02:00
Micky
4487e18750 Mark Script button if it's tool in Scene Tree Editor
Also adds a note on the tooltip if the Script is tool.

The color is the same one used on the Script Editor's script list.

(cherry picked from commit ad5ff9f78fe0bab4572085803f224026273fd4aa)
2022-09-16 23:04:00 +02:00
4c4e19223e Added _theme_ infix to the theme helper methods in Control. 2022-08-17 20:57:16 +02:00
be16fe23ad Moved the error macros. 2022-08-17 15:14:19 +02:00
dc9cc716c7 Moved Object related classes under core/object. 2022-08-17 13:45:14 +02:00
9555ee56b9 Moved Variant related classes under a variant folder in core. 2022-08-17 13:17:12 +02:00
388b88678e Moved container related classes in core under a new containers directory. 2022-08-17 12:53:49 +02:00
0d2fc2e9f2 Moved color to core/math. 2022-08-17 11:38:15 +02:00
ed5024d3c3 Moved AnimationPlayerEditor::singleton to private, and added getter method for it. 2022-08-10 18:53:15 +02:00
74dc60ec5f Fix compile. 2022-07-27 01:05:16 +02:00
d1108dc8bc Ported: Implement Scene Unique Nodes - KoBeWi
e1c74ae83f
2022-07-27 00:45:48 +02:00
2ce53f2b9e Ran include-what-you-use on the classes in the editor/ floder. 2022-03-19 00:01:30 +01:00
49f8e8c398 Added godot with all my currently used engine modules. 2022-03-15 13:29:32 +01:00