summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make `TabContainer` use `TabBar` internallyMichael Alexsander2022-03-031-16/+23
|
* Use versioned URL for "Online Documentation" buttons in the editorHugo Locurcio2022-02-171-1/+1
| | | | This also avoids a redirect, making the page appear to load faster.
* Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde2022-02-161-2/+2
| | | | | Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
* Editor: Cleanup some includes dependenciesRémi Verschelde2022-02-151-2/+3
| | | | | | | | | | | Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
* Remove the EditorNode parameter from EditorPlugins create methodstrollodel2022-02-141-1/+1
| | | | Remove EditorNode usage from the Navigation editor plugin.
* Remove most EditorNode constructor parameters and fieldstrollodel2022-02-141-62/+62
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-0/+5
|
* Reorganize inspector layout workflow for Control nodesYuri Sizov2022-02-101-0/+2
|
* Core: Move generated `VERSION_HASH` to a `.cpp` fileRémi Verschelde2022-02-091-1/+0
| | | | | This lets us have its definition in `core/version.h` and avoid rebuilding a handful of files every time the commit hash changes.
* Add AudioStreamRandomizer, replacing AudioStreamRandomPitchEllen Poe2022-02-091-0/+2
| | | | Add additional randomization options.
* Merge pull request #57627 from JFonS/occluder_improvementsRémi Verschelde2022-02-081-1/+2
|\
| * Improvements and fixes to occludersjfons2022-02-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improvements: * Occluder3D is now an abstract type inherited by: ArrayOccluder3D, QuadOccluder3D, BoxOccluder3D, SphereOccluder3D and PolygonOccluder3D. ArrayOccluder3D serves the same purpose as the old Occluder3D (triangle mesh occluder) while the rest are primitives that can be used to manually place simple occluders. * Occluder baking can now apply simplification. The "bake_simplification_distance" property can be used to set a world-space distance as the desired maximum error, set to 0.1 by default. * Occluders can now be generated on import. Using the "occ" and "occonly" keywords (similar to "col" and "colonly" for colliders) or by enabling on MeshInstance3Ds in the scene's import window. Fixes: * Fixed saving of occluder files after bake. * Fixed a small error where occluders didn't correctly update in the rendering server. Bonus content: * Generalized "CollisionPolygon3DEditor" so it can also be used to edit Resources. Renamed it to "Polygon3DEditor" since it was already being used by other things, not just colliders. * Fixed a small bug in "EditorPropertyArray" where a call to "remove" was left after the "remove_at" rename.
* | Merge pull request #57796 from akien-mga/revert-sname-theme-settersRémi Verschelde2022-02-081-41/+41
|\ \
| * | Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-41/+41
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
* | | Refactor some object type checking code with `cast_to`Rémi Verschelde2022-02-081-8/+6
|/ / | | | | | | Less stringly typed logic, and less String allocations and comparisons.
* | Fix theming for floating window docksMichael Alexsander2022-02-071-3/+4
| |
* | Merge pull request #57725 from jmb462/missing-sname-theme-settersRémi Verschelde2022-02-071-41/+41
|\ \ | |/ |/|
| * Add missing SNAME macro optimization to all theme methods calljmb4622022-02-061-41/+41
| |
* | Move Replication tab to a fixed positionkobewi2022-02-071-1/+1
|/
* Add missing SNAME macro optimization in some function callsjmb4622022-02-061-18/+18
|
* [Editor] Replication plugin to configure MultiplayerSynchronizers.Fabio Alessandrelli2022-02-041-0/+2
| | | | | | | | | | | | | Allows configuring the MultiplayerSynchornizer in a way similar to AnimationPlayer. Properties are added manually, edither as plain properties, or via the NodePath format for child nodes' properties "path/to/node:property" relative to the MultiplayerSynchronizer root path. Nice things to add would be: - Moving properties up/down in the list. - Some form of keying, autmatic filling of the replication properity line edit.
* Merge pull request #57086 from YeldhamDev/scene_tabs_fixRémi Verschelde2022-02-041-30/+40
|\
| * Fix buggy behavior of the "Add tab" button in the scene tabsMichael Alexsander2022-02-011-30/+40
| |
* | Merge pull request #57494 from Geometror/project-and-editor-settings-fixesRémi Verschelde2022-02-021-10/+10
|\ \
| * | Minor fixes/refactoring of project and editor setting dialogsHendrik Brucker2022-02-011-10/+10
| | |
* | | Vectors: Use clear() and has().Anilforextra2022-02-021-1/+1
| |/ |/| | | | | | | | | Use clear() instead of resize(0). Use has() instead of "find(p_val) != -1".
* | Merge pull request #56970 from YeldhamDev/rise_tabbar_riseRémi Verschelde2022-01-311-2/+2
|\ \
| * | Bring `TabBar` to full parity with the `TabContainer` implementation.Michael Alexsander2022-01-311-2/+2
| |/
* / Inspector retains content when detached and when dockedFazil Babu2022-01-301-0/+4
|/
* Merge pull request #57000 from KoBeWi/UNLIMITED_PANNINGRémi Verschelde2022-01-231-5/+2
|\
| * Add ViewPanner to 2D editorkobewi2022-01-211-5/+2
| |
* | Store panels and docks singletons in their own classestrollodel2022-01-201-102/+84
|/
* [Editor] Move some animation specific keying logic out of inspector.Fabio Alessandrelli2022-01-191-1/+0
| | | | | | | Most of the custom logic to handle special keying cases is now inside the AnimationPlayerEditorPlugin. The EditorInspector now emits a signal when inspecting a new object.
* Merge pull request #56899 from touilleMan/fix-editor_node-set_exit_codeRémi Verschelde2022-01-181-7/+8
|\
| * Replace use of `OS::set_exit_code()` by `SceneTree::quit()` in `EditorNode`Emmanuel Leblond2022-01-181-7/+8
| |
* | Merge pull request #52597 from Jummit/scene_casing_settingRémi Verschelde2022-01-181-6/+16
|\ \ | |/ |/|
| * Add project setting to change scene file casingJummit2022-01-171-6/+16
| |
* | Merge pull request #56012 from bruvzg/wt🤎4Rémi Verschelde2022-01-171-10/+0
|\ \
| * | [Windows] Improve console handling and execute/create_process.bruvzg2021-12-181-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always build with the GUI subsystem. Redirect stdout and stderr output to the parent process console. Use CreateProcessW for blocking `execute` calls with piped stdout and stderr (prevent console windows for popping up when used with the GUI subsystem build, and have more consistent behavior with `create_process`). Add `open_console` argument to the `execute` and `create_process` to open a new console window. Remove `interface/editor/hide_console_window` editor setting. Remove `Toggle System Console` menu option. Remove `set_console_visible` and `is_console_visible` functions.
* | | Add ViewPanner to more editorskobewi2022-01-141-0/+2
| | |
* | | Merge pull request #56289 from zacryol/clarify-user-dataRémi Verschelde2022-01-121-3/+3
|\ \ \
| * | | Reword "Open Project Data Folder" as "Open User Data Folder"zacryol2021-12-281-3/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clarifies that the button opens the user:// dir and for better consistency with certain ProjectSettings values: "Use Hidden Project Data Directory" is named similarly, but refers to data within res:// and two values refer to user:// as "User Dir" (Translations were not updated) and rename enum value accordingly
* | | Unify panning in sub-editors and make it configurablekobewi2022-01-111-0/+3
| | |
* | | Generate editor docs on a threadreduz2022-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | * The main generation could not be moved to a thread, as it instantiates classes to get default values, interacts with ProjectSettings, etc. * Only uncompressing documentation and merging it is threaded. * Seems to improve editor load times by 0.5 seconds.
* | | Merge pull request #56305 from Calinou/rename-lod-thresholdRémi Verschelde2022-01-041-2/+2
|\ \ \
| * | | Rename Lod Threshold to Mesh Lod ThresholdHugo Locurcio2021-12-291-2/+2
| |/ / | | | | | | | | | | | | This makes it more obvious that the setting only affects mesh LOD, not manual (H)LOD achieved using visibility ranges.
* | | Fix compilation error after 4c30963Rémi Verschelde2022-01-041-1/+2
| | |
* | | Fix shadowing warning after #52611Rémi Verschelde2022-01-041-1/+0
| | |
* | | Merge pull request #52611 from KoBeWi/outsider_resourcesRémi Verschelde2022-01-041-3/+11
|\ \ \
| * | | Don't edit foreign resources when restoring scenekobewi2021-09-121-3/+11
| | | |