summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
AgeCommit message (Collapse)Author
2022-07-22Merge pull request #62996 from reduz/feature-build-profilesRémi Verschelde
2022-07-22Implement Feature Build Profilesreduz
This PR is a continuation of #50381 (which was implemented exactly a year ago!) * Add a visual interface to select which classes should not be built into Godot (well, they are built if something else uses them, but if not used the optimizer will remove them out). * Add a detection system to scan the project and figure out the actual classes used. * Added the ability for SCons to load build profiles. Obligatory Screen: A simple test with a couple of nodes in the scene resulted in a 25% reduction for the final binary size TODO: * Script languages need to implement used class detection (left for another PR). * Options to disable servers or server functionalities (like 2D or 3D physics, navigation, etc). Are missing, that should also greatly aid in reducing binary size. * Options to disable some modules would be desired. * More options to disable drivers (OpenGL, Vulkan, etc) would be desired. In general this PR is a starting point for more contributors to improve and enhance this functionality.
2022-07-18Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge
2022-07-16Alphabetize editor plugins and move 2D plugins to their own sectionAaron Franke
2022-07-14Merge pull request #58763 from Calinou/editor-fix-default-float-stepRémi Verschelde
2022-07-14Merge pull request #62919 from MinusKube/dock-layout-save-bugRémi Verschelde
2022-07-13Rename soft shadow quality project settings for easier searchingHugo Locurcio
`rendering/quality/shadows` is now `rendering/quality/positional_shadow` to explicitly denote that the settings only affect positional light shadows, not directional light shadows. Shadow atlas settings now contain the word "atlas" for easier searching. Soft shadow quality settings were renamed to contain the word "filter". This makes the settings appear when searching for "filter" in the project settings dialog, like in Godot 3.x.
2022-07-13Merge pull request #62827 from fire-forge/ok-cancelRémi Verschelde
Add `ok_button_text` to AcceptDialog and `cancel_button_text` to ConfirmationDialog
2022-07-11Fix editor dock layout not saving correctlyMinusKube
2022-07-10Fix some properties having an invalid float step of `0`Hugo Locurcio
This also clamps the float step in the editor to the lowest value that is guaranteed to work in all situations (including for 32-bit floats).
2022-07-09Seperate filter and description in FileDialog.add_filter()FireForge
2022-07-09Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialogFireForge
2022-07-08Merge pull request #60739 from KoBeWi/add_static_methods_everywhere!!Rémi Verschelde
2022-07-08AssetLib: Only notify when unavailable in verbose modeRémi Verschelde
2022-07-08Merge pull request #62405 from YeldhamDev/movie_maker_stuffRémi Verschelde
Clean and fix the Movie Maker button
2022-07-08Add static methods for creating Image and ImageTexturekobewi
2022-07-08Merge pull request #62075 from Vitika9/gsoc-colorpickerRémi Verschelde
2022-07-06ColorPicker RefactorVitika9
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
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-25Clean and fix the Movie Maker buttonMichael Alexsander
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