summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
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-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`)
2021-02-18Modernize atomicsPedro J. Estébanez
- Based on C++11's `atomic` - Reworked `SafeRefCount` (based on the rewrite by @hpvb) - Replaced free atomic functions by the new `SafeNumeric<T>` - Replaced wrong cases of `volatile bool` by the new `SafeFlag` - Platform-specific implementations no longer needed Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2021-02-18Reorganize Project Settingsreduz
-Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
2021-02-14[CTL] Add missing font outline drawing routines and theme constants.bruvzg
2021-02-12Merge pull request #34892 from KoBeWi/copy-pasta_v7Rémi Verschelde
Yet another node copy-paste PR
2021-02-12Duplicate resources pasted to other sceneskobewi
2021-02-11Fix `Node::rpc_config` return errorMarvinFF
Fix StringName type checks in other `_rpc*_bind` methods.
2021-02-10Removed _change_notifyreduz
-For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap. -For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed() -Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.