summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
2021-04-11Use Array for node configuration warningsNathan Franke
Previously, the warnings were passed as a string and delimitation of which were hard coded at each implementation.
2021-04-08Merge pull request #44456 from univeous/allow_input_echo_in_ui_focusRémi Verschelde
allow input echo when changing ui focus
2021-04-05Style: Apply clang-tidy's `readability-braces-around-statements`Rémi Verschelde
2021-04-05Style: Apply clang-tidy's `modernize-use-nullptr`Rémi Verschelde
2021-04-05Fix crashes in *_input functionsRafał Mikrut
2021-04-01Merge pull request #46991 from madmiraal/rename-invert-reverseRémi Verschelde
Rename Array.invert() to Array.reverse()
2021-03-28Rename Texture.get_data() to get_image()Marcel Admiraal
2021-03-23Rename ButtonList enum and members to MouseButtonAaron Franke
2021-03-23Merge pull request #45571 from aaronfranke/node2d-real_tRémi Verschelde
Use real_t in 2D nodes
2021-03-23Merge pull request #46735 from fabriceci/fix-dialog-translationRémi Verschelde
Fix translations update in window & Dialogs (AcceptDialog/ConfirmationDialog/FileDialog) (Fix 39320, 39258 & 45887)
2021-03-22Improved 3D Scene ImporterJuan Linietsky
* Added option for importers to show an Advanced settings dialog * Created advanced settings dialog for Scene Importer * Cleaned up importers (remove many old/unused options) * Added the ability to customize every node, material, mesh and animation individually * Saving to animations and meshes to files is now a manual process, making it more predictable * Added the ability for materials to be replaced by external files (or to be made external, up to you). * When doubleclicking an impoted scene in the filesystem dock, it automatically shows the import settings instead of asking to open it. WARNING: Lightmap UV unwrap is not working, it needs to be re-made.
2021-03-21Rename Array.invert() to Array.reverse()Marcel Admiraal
Does the same internally for List and Vector<>, which includes all PackedArray types.
2021-03-20Add Root Null CheckNathan Franke
2021-03-19Use real_t in non-physics 2D nodesAaron Franke
2021-03-15Allow Navigation to be more flexibleGilles Roudière
2021-03-12fix translation not updating in ConfirmationDialog (and Window by inheritance)fabriceci
2021-03-12Fixes small typos and grammar correctionAnshul7sp1
2021-03-11Merge pull request #46510 from hilfazer/nested_scene_duplication_4_0Rémi Verschelde
Support for duplication of nested instanced scenes
2021-03-11Support for duplication of nested instanced sceneshilfazer
2021-03-09Merge pull request #45545 from abaire/relaxes_gltf_name_sanitizationRémi Verschelde
Relaxes node name sanitization in gltf documents.
2021-03-07Merge pull request #46643 from YeldhamDev/hide_all_the_thingsRémi Verschelde
Hide more options of disabled properties
2021-03-05Merge pull request #46516 from HaSa1002/scrollcontainer-embedRémi Verschelde
Fix Window returning `INVALID_WINDOW_ID` when being embedded
2021-03-03Hide more options of disabled propertiesMichael Alexsander
2021-03-02Merge pull request #36202 from YeldhamDev/sprite_region_hideRémi Verschelde
Hide extra options from various nodes if they're not enabled
2021-03-02Hide extra options from various nodes if they're not enabledMichael Alexsander
2021-03-02Merge pull request #35246 from zaksnet/disconnect-while-downloadingFabio Alessandrelli
Disconnect while downloading
2021-03-02Update scene/main/http_request.cppZak Stam
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-03-01Fix Window.get_window_id() returning -1 when embeddedJohannes
2021-02-28SceneTreeDock: Changed "Save Branch as Scene" to make use of ↵Oliver Dick
Node::duplicate_from_editor, which is also used by "Duplicate" function of the SceneTreeDock - Removed Node::duplicate_and_reown method as it is not used anymore
2021-02-28Merge pull request #45201 from EricEzaM/PR/popup-menu-fixRémi Verschelde
Fixed popup not calculating size correctly before adjusting its rect.
2021-02-27[Net] Better EOF handling in HTTPRequest.Fabio Alessandrelli
This fix request_completed being emitted two times, the first with the result, the second as a failure when retrieving responses served with read-until-EOF.
2021-02-26Merge pull request #46452 from hilfazer/click_mesh_instance_crash_40Rémi Verschelde
Prevent crash when clicking Mesh in MeshInstance when is scene root
2021-02-26Prevent crash when clicking Mesh in MeshInstance when is scene roothilfazer
2021-02-25Remove GDScript bindings for OS.get/set_exit_code, ↵Emmanuel Leblond
SceneTree.quit(<exit_code>) should be used instead
2021-02-25Fix Godot returned status code on unexpected errorEmmanuel Leblond
2021-02-25Merge pull request #46416 from nekomatata/draw-collision-outline-optionRémi Verschelde
Added option in project settings to draw Shape2D outlines
2021-02-25Added option in project settings to draw Shape2D outlinesPouleyKetchoupp
Disabling collision outlines can be useful for performance when the game is running and many collision shapes are displayed.
2021-02-24Fix crash during drag if user freed the drag previewDelf Neumärker
2021-02-24Relaxes Node naming constraints in glTF documents to match the Editor.abaire
2021-02-22Add preview Sun and Environmentreduz
* Adds both a preview sun and preview environment to the 3D editor. * They are valid as long as a DirectionalLight3D and WorldEnvironment are not in the scene. * If any is added to the scene, the respective preview is disabled. * Changed WorldEnvironment to better handle multiple node versions. * Added a function in SceneTree to get the first node in a group. * Fixed button minimum size to also consider font height if no text is there, this broke with the TextSever PR.
2021-02-22Merge pull request #46243 from Calinou/improve-get-node-error-messageRémi Verschelde
Improve the `get_node()` error message to be more descriptive
2021-02-22Improve the `get_node()` error message to be more descriptiveHugo Locurcio
- Mention the origin of the `get_node()` call. - Mention whether the attempted path is absolute or relative. See #46214.
2021-02-21Prevent selecting hidden nodes in 3D and Canvas Item editorshilfazer
2021-02-20Draw an outline for 2D debug collision shapesHugo Locurcio
This makes them easier to distinguish, especially when used in a TileMap. The default color's opacity has been slightly decreased to account for the new outline.
2021-02-19Update documentation for the new ProcessModeAaron Franke
2021-02-19doc: Sync classref with current sourceRémi Verschelde
And fix various bogus bindings following previous PRs.
2021-02-19Merge pull request #46191 from reduz/refactor-process-modeRémi Verschelde
Refactor Process Mode
2021-02-19New ActionMapEditor to replace InputMapEditor. Used in ProjectSettings.Eric M
Renamed to ActionMapEditor as it is more generic and can be used for more than just the InputMapEditor if required. This also includes a new Event Configuration dialog (previously "Press A key...") which can be used to create and edit InputEvents for any use - like the Project Settings input map, or the Editor Settings shortcuts.
2021-02-18Refactor Process Modereduz
Implements https://github.com/godotengine/godot-proposals/issues/1835#issuecomment-727186192 * PauseMode is now ProcessMode, containing the following states: ``` PROCESS_MODE_INHERIT, // same as parent node PROCESS_MODE_NORMAL, // process only if not paused PROCESS_MODE_PAUSE_ONLY, // process only if paused PROCESS_MODE_ALWAYS, // process always PROCESS_MODE_DISABLED, // never process ``` * NOTIFICATION_PAUSED and NOTIFICATION_UNPAUSED are received effectively when the node is paused and unpaused (not any longer when pause mode is set in SceneTree). * Renamed some nodes that used ProcessMode/process_mode to specify a callback type to ProcessCallback to avoid clashes.
2021-02-18Merge pull request #45617 from RandomShaper/modernize_atomicsRémi Verschelde
Modernize atomics (and fix `volatile`)