summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2022-08-30Merge pull request #63003 from Geometror/msaa-2dRémi Verschelde
2022-08-30Merge pull request #64377 from Mickeon/rename-canvas-redrawRémi Verschelde
Rename `CanvasItem.update()` to `queue_redraw()`
2022-08-30Merge pull request #64701 from Geometror/fix-atlastexture-gpuparticles-2dRémi Verschelde
Fix GPUParticles2D ignoring AtlasTexture region
2022-08-30Merge pull request #63902 from dalexeev/string-casesRémi Verschelde
2022-08-30Merge pull request #65039 from Mickeon/rename-treeitem-tooltipRémi Verschelde
2022-08-30Merge pull request #64410 from MewPurPur/rename-notification-instancedRémi Verschelde
2022-08-30Add `String.to_{camel,pascal,snake}_case` methodsDanil Alexeev
2022-08-30Fix GPUParticles2D ignoring AtlasTexture regionHendrik Brucker
2022-08-30Rename TreeItem's `set_tooltip` to `set_tooltip_text`Micky
`set_tooltip` -> `set_tooltip_text` `get_tooltip` -> `get_tooltip_text` For consistency: `get_button_tooltip` -> `get_button_tooltip_text` And the `tooltip` parameter in `add_button` was renamed to `tooltip_text`
2022-08-30Merge pull request #65066 from aaronfranke/str-path-joinRémi Verschelde
2022-08-30Merge pull request #61883 from ↵Rémi Verschelde
Calinou/material-tweak-default-alpha-scissor-threshold Improve documentation for BaseMaterial3D's alpha scissor threshold
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-29Rename `CanvasItem.update()` to `queue_redraw()`Micky
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
2022-08-29Improve documentation for BaseMaterial3D's alpha scissor thresholdHugo Locurcio
2022-08-29Expose input interaction virtual functions in CollisionObjectrafallus
2022-08-29Merge pull request #64119 from YuriSizov/theme-init-databaseRémi Verschelde
2022-08-29Merge pull request #64980 from TokageItLab/fix-animedit-draw-and-find-keyRémi Verschelde
2022-08-29Revert "Remove NOTIFICATION_ENTER_TREE when paired with ↵Rémi Verschelde
NOTIFICATION_THEME_CHANGED" This reverts commit 4b817a565cab8af648c88cfc7ab6481e86ee3625. Fixes #64988. Fixes #64997. This caused several regressions (#64988, #64997, https://github.com/godotengine/godot/issues/64997#issuecomment-1229970605) which point at a flaw in the current logic: - `Control::NOTIFICATION_ENTER_TREE` triggers a *deferred* notification with `NOTIFCATION_THEME_CHANGED` as introduced in #62845. - Some classes use their `THEME_CHANGED` to cache theme items in member variables (e.g. `style_normal`, etc.), and use those member variables in `ENTER_TREE`, `READY`, `DRAW`, etc. Since the `THEME_CHANGE` notification is now deferred, they end up accessing invalid state and this can lead to not applying theme properly (e.g. for EditorHelp) or crashing (e.g. for EditorLog or CodeEdit). So we need to go back to the drawing board and see if `THEME_CHANGED` can be called earlier so that the previous logic still works? Or can we refactor all engine code to make sure that: - `ENTER_TREE` and similar do not depend on theme properties cached in member variables. - Or `THEME_CHANGE` does trigger a general UI update to make sure that any bad theme handling in `ENTER_TREE` and co. gets fixed when `THEME_CHANGE` does arrive for the first time. But that means having a temporary invalid (and possibly still crashing) state, and doing some computations twice which might be heavy (e.g. `EditorHelp::_update_doc()`).
2022-08-29Merge pull request #64964 from MewPurPur/reorganize-label-propertiesRémi Verschelde
Reorganize Label and RichTextLabel properties
2022-08-29Improve documentation for `get_animation()`Haoyu Qiu
2022-08-29Merge pull request #64960 from YeldhamDev/more_hl_stuffRémi Verschelde
2022-08-29Merge pull request #64967 from YeldhamDev/pm_up_fixRémi Verschelde
2022-08-29Merge pull request #64972 from YeldhamDev/you_too_menubarRémi Verschelde
2022-08-29Fixed AnimationTrackEditor redraw/deselect timing and find key compearationSilc Renew
2022-08-28Merge pull request #64999 from Chaosus/fix_packed_scene_crashRémi Verschelde
2022-08-28Prevent crash at loading some scenesYuri Rubinsky
2022-08-28Make local-to-scene resources behavior consistent in child scenesPedro J. Estébanez
2022-08-28Merge pull request #64885 from Mickeon/rename-tooltip-hintRémi Verschelde
Rename `hint_tooltip` to `tooltip_text` & setter getter
2022-08-28Merge pull request #64526 from Rindbee/improve-packed-scene-instantiateRémi Verschelde
Improve PackedScene instantiate
2022-08-28Improve PackedScene instantiateRindbee
Make `resource_local_to_scene` behave as described in the documentation. (If I understand correctly, the following **instance** refers to **the instance of the sub-scene**.) https://github.com/godotengine/godot/blob/2e24b76535dceb9cf18ab8ece3304ed92948c1b5/doc/classes/Resource.xml#L70-L72 If the resources of the sub-scene are modified in the main scene, the modified resources will be recorded in the `tscn` file of the main scene. And the root node of the sub-scene will be set twice. 1. In the main scene, when encountering a sub-scene, the sub-scene will be initialized first; 2. Then use the resources in the main scene to reset the root node of the sub-scene. This may make `resource_local_to_scene` not work as expected. The resources cannot be shared between the sub-scene root node and other ordinary nodes in the sub-scene. Yes, if the resources have `resource_local_to_scene` enabled, this patch treats the modified resources of the sub-scene root node as resources in the sub-scene, not in the main scene. Although the modifications are recorded in the `tscn` file of the main scene.
2022-08-28Reorganized Label and RichTextLabel propertiesVolTer
2022-08-28Merge pull request #64248 from paddy-exe/built-in-shader-functionsYuri Rubinsky
2022-08-28Add item auto-highlighting to `MenuBar`Michael Alexsander
2022-08-28Fix some corner cases in the `Menu/OptionButton` item auto-highlightMichael Alexsander
2022-08-27Fix crash when pressing up on an empty `PopupMenu`Michael Alexsander
2022-08-27Implement custom non-trivial shader functionsPatrick Exner
2022-08-27Merge pull request #62846 from ↵Rémi Verschelde
AaronRecord/remove_redundant_theme_updates_in_enter_tree Remove `NOTIFICATION_ENTER_TREE` when paired with `NOTIFICATION_THEME_CHANGED`
2022-08-27Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGEDAaron Record
2022-08-27Merge pull request #64951 from TokageItLab/value-track-optimizerRémi Verschelde
Fix optimizer miscalculation and add optimization for `Animation::ValueTrack`
2022-08-27Add optimization for Animation::ValueTrackSilc Renew
2022-08-27Merge pull request #63249 from V-Sekai/animation_tree_editor_read_onlyRémi Verschelde
Add read-only mode to AnimationTreeEditor plugins
2022-08-27Rename `hint_tooltip` to `tooltip_text` & setgetMicky
`hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
2022-08-27Add linear/cubic angle interpolation to Animation interpolation typeSilc Renew
2022-08-26Merge pull request #64928 from YuriSizov/editor-tooltip-or-not-tooltipRémi Verschelde
Remove Inspector tooltip hack that never actually worked
2022-08-26Merge pull request #64367 from Mickeon/rename-var-to-strRémi Verschelde
Rename `str2var` to `str_to_var` and similar
2022-08-26Merge pull request #64777 from bruvzg/extend_to_titleRémi Verschelde
[macOS] Extend editor contents to the window title bar for better space usage.
2022-08-26Add ThemeDB, expose previously static Theme methodsYuri Sizov
2022-08-26Remove Inspector tooltip hack that never actually workedYuri Sizov
2022-08-26Merge pull request #64894 from fabriceci/remove-dynamic-bodies-nameRémi Verschelde
2022-08-26Merge pull request #54546 from KoBeWi/➖Rémi Verschelde