summaryrefslogtreecommitdiff
path: root/editor
AgeCommit message (Collapse)Author
2022-06-28Merge pull request #62468 from V-Sekai/core-const-expressionsRémi Verschelde
Add a const call mode to Object, Variant and Script.
2022-06-27Add a const call mode to Object, Variant and Script.K. S. Ernest (iFire) Lee
For this to work safely (user not call queue_free or something in the expression), a const call mode was added to Object and Variant (and optionally Script). This mode ensures only const functions can be called, making it safe to use from the editor. Co-Authored-By: reduz <reduzio@gmail.com>
2022-06-27Refactor bezier interpolation functionsHendrik Brucker
2022-06-27Merge pull request #61954 from KoBeWi/scene_factory🏭Rémi Verschelde
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-27Merge pull request #62185 from reduz/export-node-pointer-pathRémi Verschelde
Add ability to export Node pointers as NodePaths
2022-06-26Merge pull request #62221 from ConteZero/drag_and_drop_optionRémi Verschelde
Add an option to drag'n'drop selected text in ``TextEdit``
2022-06-26Add an option to drag'n'drop selected text in TextEditConteZero
2022-06-26Merge pull request #62248 from Calinou/editor-icons-add-multiplayer-nodesRémi Verschelde
Add editor icons for MultiplayerSpawner and MultiplayerSynchronizer
2022-06-26Merge pull request #62250 from Calinou/editor-icons-add-abstract-iconsRémi Verschelde
Add editor icons for abstract nodes that can now be added in the editor
2022-06-26Add editor icons for MultiplayerSpawner and MultiplayerSynchronizerHugo Locurcio
Co-authored-by: Hendrik Brucker <hendrik.brucker@mail.de>
2022-06-26Add editor icons for abstract nodes that can now be added in the editorHugo Locurcio
2022-06-25Merge pull request #62406 from YeldhamDev/custom_scene_fixRémi Verschelde
Fix error about transient window when running a custom scene
2022-06-25Fix error about transient window when running a custom sceneMichael Alexsander
2022-06-25Add ability to export Node pointers as NodePathsreduz
This PR implements: * A new hint: PROPERTY_HINT_NODE_TYPE for variant type OBJECT, which can take specific node types as hint string. * The editor will show it as a node path, but will set it as a pointer to a node from the current scene if you select a path. * When scene is saved, the node path is saved, then restored as a pointer. NOTE: This is a proof of concept and this approach will most likely not work. The reason if that, if the node referenced is deleted, then when trying to edit this the node will become invalid. Potential workarounds: Since this uses the Variant API, it should obtain the pointer from the Variant object ID. Yet, this would either only really work in GDScript or it would need to be implemented with workarounds in every language. Alternative ways to make this work: Nodes could export an additional property with a node path (like for which_node, it could be which_node_path). Another alternative: Path editing could happen as a hidden metadata (ignoring the pointer).
2022-06-25Merge pull request #62309 from reduz/remake-resource-thread-safetyRémi Verschelde
Remake ResourceCache thread safety code and API
2022-06-25Merge pull request #62372 from MarcusElg/nosliderrenameRémi Verschelde
Rename @export_range's noslider option to no_slider
2022-06-24Add MJPEG to the list of editor capitalizationsHugo Locurcio
2022-06-24Rename export_range's noslider option to no_sliderMarcus Elg
2022-06-24Merge pull request #61698 from raulsntos/icon_color-editor-themeRémi Verschelde
Add icon colors to editor theme
2022-06-23Merge pull request #62349 from KoBeWi/crash_patternRémi Verschelde
Fix crash when drawing invalid tiles
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-23Add icon colors to editor themeRaul Santos
Add `icon_normal_color`, `icon_pressed_color`, and `icon_disabled_color` to `Button`, `OptionButton`, `CheckButton`, and `CheckBox`.
2022-06-23Merge pull request #62323 from Maran23/window-title-changed-data-fixRémi Verschelde
2022-06-23Fix crash when drawing invalid tileskobewi
2022-06-23Merge pull request #61966 from Rindbee/fix-internal-nodes-ownedRémi Verschelde
Fix setting owner on internal nodes when save branch as scene
2022-06-23Merge pull request #61826 from guilhermefelipecgs/fix_leakRémi Verschelde
Fix ObjectDB instances leaked on state machine when editor closes
2022-06-23Add missing TTR in dialog titleHaoyu Qiu
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 #62262 from fire-forge/suffix2Rémi Verschelde
2022-06-21Rework scene creation dialogkobewi
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-21Avoid possibly showing two Dialogs at the same timeRindbee
Update editor/scene_tree_editor.cpp Add a comment to explain why Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
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-20Improve TileSet editor and add more suffixesFireForge
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-20Rename VideoPlayer editor icon to VideoStreamPlayerHugo Locurcio
The icon was previously unused.
2022-06-20Revert "Disable VRAM compression by default for small textures in Detect 3D"Juan Linietsky
2022-06-20Merge pull request #61459 from reduz/new-shader-editorRémi Verschelde
2022-06-20Clean up Hash Functionsreduz
Clean up and do fixes to hash functions and newly introduced murmur3 hashes in #61934 * Clean up usage of murmur3 * Fixed usages of binary murmur3 on floats (this is invalid) * Changed DJB2 to use xor (which seems to be better)
2022-06-20Merge pull request #62201 from Calinou/navigation-nodes-tweak-editor-iconsRémi Verschelde
2022-06-19Move definition of const int ERROR_CODE to be reachable by all functions.Georg Ziegler
2022-06-19i18n: Sync editor translations with WeblateRémi Verschelde
(cherry picked from commit 000499662bdb60e786ab6451c260e62a72ad595d)
2022-06-19Tweak editor icons for navigation nodes and SkeletonIK3DHugo Locurcio
This adds a partial 2D/3D color to each icon for easier visual grepping. The icons are not fully colored as these nodes don't inherit from Node2D or Node3D. This is similar in principle to how the WorldEnvironment editor icon is colored.
2022-06-19Automatically update the editor viewport when 3D scaling options are changedHugo Locurcio
This allows for previewing the effects of the various 3D scaling project settings without having to restart the editor.
2022-06-18Merge pull request #62151 from tdaven/tdaven/fix-62149Rémi Verschelde
Add missing new function parameter to fix button presses.
2022-06-17Merge pull request #62023 from Calinou/detect-3d-small-textures-no-vram-compressRémi Verschelde
Disable VRAM compression by default for small textures in Detect 3D