summaryrefslogtreecommitdiff
path: root/editor/editor_node.h
AgeCommit message (Collapse)Author
2022-08-18Merge pull request #62298 from Diddykonga/select_current_saveYuri Sizov
[Editor]: Allow `Select Current` to Save Scenes
2022-07-31Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov
up editor includes
2022-07-26Split up editor export code into multiple filesAaron Franke
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-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-08Merge pull request #62405 from YeldhamDev/movie_maker_stuffRémi Verschelde
Clean and fix the Movie Maker button
2022-06-29Adding print_rich for printing with BBCodeVoylin
2022-06-25Clean and fix the Movie Maker buttonMichael Alexsander
2022-06-21[Editor]: Allow `Select Current` to Save ScenesDiddykonga
[Editor]: Change `Select Current` to Save scenes before attempting to Run them.
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-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
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-05Cache script icons in editorkobewi
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-27Merge pull request #59393 from techiepriyansh/move-gltf-export-under-scene-menuRémi Verschelde
2022-04-12move gltf export under scene menuPriyansh Rathi
2022-04-11Improvements to files_dropped signalkobewi
2022-04-06Fix some issues found by cppcheck.bruvzg
2022-04-05[Input] Add extra `shortcut_input` input processing step to process Unicode ↵bruvzg
character input with Alt / Ctrl modifiers, after processing of shortcuts.
2022-04-04Zero initialize all pointer class and struct membersRémi Verschelde
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
2022-03-30Cleanup EditorNode and EditorDataHendrik Brucker
Co-authored-by: Eric M <itsjusteza@gmail.com>
2022-03-29Merge pull request #59496 from KoBeWi/inspector_teleportRémi Verschelde
2022-03-27Made reload current project ask for confirmation with unsaved changesVitika9
2022-03-25Switch scene when editing foreign resourcekobewi
2022-03-12Initialize bools in the headers in editorAaron Franke
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-04Merge pull request #57086 from YeldhamDev/scene_tabs_fixRémi Verschelde
2022-02-01Fix buggy behavior of the "Add tab" button in the scene tabsMichael Alexsander
2022-02-01Minor fixes/refactoring of project and editor setting dialogsHendrik Brucker
2022-01-20Store panels and docks singletons in their own classestrollodel
2022-01-19[Editor] Move some animation specific keying logic out of inspector.Fabio Alessandrelli
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.
2022-01-18Merge pull request #56899 from touilleMan/fix-editor_node-set_exit_codeRémi Verschelde
2022-01-18Merge pull request #52597 from Jummit/scene_casing_settingRémi Verschelde
2022-01-18Replace use of `OS::set_exit_code()` by `SceneTree::quit()` in `EditorNode`Emmanuel Leblond
2022-01-17Add project setting to change scene file casingJummit
2022-01-17Merge pull request #56012 from bruvzg/wt🤎4Rémi Verschelde
2022-01-12Merge pull request #56289 from zacryol/clarify-user-dataRémi Verschelde
2022-01-04Merge pull request #52611 from KoBeWi/outsider_resourcesRémi Verschelde
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-28Reword "Open Project Data Folder" as "Open User Data Folder"zacryol
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
2021-12-18[Windows] Improve console handling and execute/create_process.bruvzg
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.
2021-11-12Allow creating .gitignore and .gitattributes when creating a new projectAaron Franke
Also allow creating these files later, and also allow disabling creating the default environment in editor settings.
2021-10-30Add GLES2 2D renderer + Linux display managerlawnjelly
First implementation with Linux display manager. - Add single-threaded mode for EditorResourcePreview (needed for OpenGL). Co-authored-by: clayjohn <claynjohn@gmail.com> Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
2021-10-26Save all 64 bits of get_ticks_msec() in more casesMax Hilbrunner
2021-10-21Remove unimplemented methodsMarcel Admiraal
2021-10-19Rename `Tabs` to `TabBar`Michael Alexsander