summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
AgeCommit message (Collapse)Author
2022-07-02Merge pull request #61610 from ↵Rémi Verschelde
TokageItLab/importer-retarget-registered-gdhumanoid
2022-07-01implement bone renamer in importerSilc Renew
2022-06-30[AssetLib] Fix crash in Web editor.Fabio Alessandrelli
Add EditorAssetLibrary::is_available which always returns false in the Web editor and use it in EditorNode for detection.
2022-06-29Adding print_rich for printing with BBCodeVoylin
2022-06-27Fixup #62318 after ResourceCache changesRémi Verschelde
2022-06-27Merge pull request #62318 from reduz/simplify-subresource-savingRémi Verschelde
Simplify Subresource Saving
2022-06-25Merge pull request #62309 from reduz/remake-resource-thread-safetyRémi Verschelde
Remake ResourceCache thread safety code and API
2022-06-23Simplify Subresource Savingreduz
Redo edited subresource (and resource) saving in a much more simplified way. I think this should work (unless I am missing something) and be faster than what is there. It should also supersede #55885. I am not 100% entirely convinced that this approach works, but I think it should so please test.
2022-06-22Update the window title when the project settings were changed or when the ↵Marius Hanl
unsaved cache was changed (either by editing something or by saving) This makes sure that: 1.) The title is always up-to-date with project settings 2.) The title always reflects the changes made in the editor by showing or hiding the '(*)'
2022-06-22Remake resource thread safety and APIreduz
* Ensures thread safety when resources are destroyed. * Simplified API by always forcing `ResourceCache::get_ref`, which needs less hacks and is fully thread safe. * Removed RWLock for resources because its not possible to use for the new logic. Should not be a problem. Supersedes #57533
2022-06-21Merge pull request #62122 from reduz/implement-movie-writerRémi Verschelde
Implement a Movie Maker mode
2022-06-21Implement Running Godot as Movie Writerreduz
* Allows running the game in "movie writer" mode. * It ensures entirely stable framerate, so your run can be saved stable and with proper sound (which is impossible if your CPU/GPU can't sustain doing this in real-time). * If disabling vsync, it can save movies faster than the game is run, but if you want to control the interaction it can get difficult. * Implements a simple, default MJPEG writer. This new features has two main use cases, which have high demand: * Saving game videos in high quality and ensuring the frame rate is *completely* stable, always. * Using Godot as a tool to make movies and animations (which is ideal if you want interaction, or creating them procedurally. No other software is as good for this). **Note**: This feature **IS NOT** for capturing real-time footage. Use something like OBS, SimpleScreenRecorder or FRAPS to achieve that, as they do a much better job at intercepting the compositor than Godot can probably do using Vulkan or OpenGL natively. If your game runs near real-time when capturing, you can still use this feature but it will play no sound (sound will be saved directly). Usage: $ godot --write-movie movie.avi [scene_file.tscn] Missing: * Options for configuring video writing via GLOBAL_DEF * UI Menu for launching with this mode from the editor. * Add to list of command line options. * Add a feature tag to override configurations when movie writing (fantastic for saving videos with highest quality settings).
2022-06-20Merge pull request #62252 from Maran23/project-window-title-rename-fixRémi Verschelde
Update project window title when a project setting was changed
2022-06-20Update project window title when a project setting was changedMarius Hanl
Before this fix the title was just updated when we make the first change in the project settings. Now we always update the window title as it may be changed in the meantime when a project setting is changed (e.g. the app name (application/config/name)).
2022-06-20Merge pull request #61459 from reduz/new-shader-editorRémi Verschelde
2022-06-17Stop game on reloading projectcow-neaz
2022-06-16Merge pull request #61820 from pfertyk/issue-61604-is-plugin-enabled-by-nameRémi Verschelde
2022-06-12Mark some common project settings as basicHugo Locurcio
2022-06-09Allow plugin name in `is_plugin_enabled`Paweł Fertyk
Fixes #61604.
2022-06-08Add readable export errors.bruvzg
2022-06-07Allow picking similar colours using OKHSL.K. S. Ernest (iFire) Lee
2022-05-28Redo the shader editorreduz
* Shader editor is permanent (no longer transient). * Can edit multiple files at the same time. Likely fixes many usability issues (please lend me a hand Bugsquad team to identify them).
2022-05-25HTML5: Always disable Asset LibraryRémi Verschelde
GitHub doesn't allow CORS so we can't download assets from it. There'd also be more work needed for the Asset Library plugin to be usable in the Web editor even if that was supported.
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-14Merge pull request #61016 from macjuul/mono-script-editor-fixRémi Verschelde
Fix script editor opening when external editor is configured for C#
2022-05-14Fix script editor opening when external editor is configuredJulian Mills
2022-05-12Basic 3D renderingclayjohn
2022-05-06Cleanup metadata usagekobewi
2022-05-05Merge pull request #60597 from reduz/missing-node-resource-placeholdersRémi Verschelde
2022-05-05Cache script icons in editorkobewi
2022-05-04Merge pull request #60723 from reduz/refactor-module-initializationRémi Verschelde
2022-05-04Refactor module initializationreduz
* Changed to use the same stages as extensions. * Makes the initialization more coherent, helping solve problems due to lack of stages. * Makes it easier to port between module and extension. * removed the DRIVER initialization level (no longer needed).
2022-05-03Implement missing Node & Resource placeholdersreduz
Implemented by request of @neikeq to advance in the GDExtension version of Mono. * If a Resource type is missing upon load, it will be remembered together with its data (Unless manually overriden). * If a Node type is missing upon load, it will be also be remembered together with its data (unless deleted). This feature makes working with GDExtension much easier, as it ensures that missing types no longer cause data loss.
2022-05-03Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
2022-05-02Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
2022-04-29Load fallback icon for custom class when no icon availableHaoyu Qiu
2022-04-27Merge pull request #59393 from techiepriyansh/move-gltf-export-under-scene-menuRémi Verschelde
2022-04-27Merge pull request #60535 from timothyqiu/class-name-iconRémi Verschelde
Fix custom class icon when it inherits from a script
2022-04-27Fix custom class icon when it inherits from a scriptHaoyu Qiu
2022-04-26Add RayCast2D target_position editor handleFireForge
2022-04-26Merge pull request #60395 from Geometror/editor-gradient-preview-pluginRémi Verschelde
2022-04-26Merge pull request #60008 from fire-forge/bitmap-previewRémi Verschelde
2022-04-25Merge pull request #60261 from fire-forge/theme-prop-renamesRémi Verschelde
2022-04-24Add an external link editor iconHugo Locurcio
This replaces the existing "chainlink" instance icon that was used for external links. That icon is still used for scene instancing. The icon was designed by redlamp. Co-authored-by: Taylor Wright <taylor@redlamp.org>
2022-04-23Rename theme properties to include underscoresFireForge
- check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
2022-04-20Add an inspector preview for BitMapFireForge
2022-04-21Add gradient resource preview generatorHendrik Brucker
2022-04-13Import scenes as AnimationLibraryreduz
Added the ability to import scenes as AnimationLibrary * Completes implementation of https://github.com/godotengine/godot-proposals/issues/4296 * Helps if you want to export animations to a separate file (say a GLTF) to avoid re-importing/exporting them every time the model changes. * Helps if you simply want to have animations using a dummy model, which can be shared across multiple models. Creates a secondary scene importer used only for animations. **NOTE**: A new flag for scene importer: EditorSceneFormatImporter.IMPORT_DISCARD_MESHES_AND_MATERIALS has been added, to hint importers that they should skip meshes and animations (and hence make importing faster). It is not implemented in any importer yet, this should be done in a separate PR.