summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
AgeCommit message (Collapse)Author
2022-07-26Merge pull request #63344 from ↵Rémi Verschelde
alfredbaudisch/feature-select-node-toggle-inspector-only
2022-07-25When selecting Nodes in the Scene Tree, if the current EditorPlugin is ↵Alfred R. Baudisch
"Script" and if text_editor/behavior/navigation/stay_in_script_editor_on_node_selected is true, force inspector_only in order to not switch the EditorPlugin to the Node's main plugin.
2022-07-25Merge pull request #63368 from akien-mga/fix_header_guardsRémi Verschelde
Code quality: Fix header guards consistency
2022-07-25Merge pull request #62907 from bruvzg/warn_exit_codeRémi Verschelde
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-23Merge pull request #63265 from reduz/stream-bpm-supportRémi Verschelde
Implement BPM support in AudioStream files.
2022-07-23Implement BPM supportreduz
Based on #62896, only implements the BPM support part. * Implements BPM support in the AudioStreamOGG/MP3 importers. * Can select BPM/Bar Size and total beats in a song file, as well as edit looping points. * Looping is now BPM aware * Added a special importer UI for configuring this. * Added a special preview showing the audio waveform as well as the playback position in the resource picker. * Renamed `AudioStream::instance` to `instantiate` for correctness.
2022-07-22Merge pull request #62581 from Guh-Feng/Color-Picker-UpdateRémi Verschelde
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-21Color Pickers Respect SettingsGuh-Feng
Updated editor_node with function that sets up color pickers throughout Godot to respect editor's settings.
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-10[Command line export] return 0 exit code when export is finished with warnings.bruvzg
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