summaryrefslogtreecommitdiff
path: root/editor/plugins
AgeCommit message (Collapse)Author
2022-08-29Merge pull request #64119 from YuriSizov/theme-init-databaseRémi Verschelde
2022-08-29Merge pull request #65023 from Faless/js/4.x_is_webRémi Verschelde
2022-08-29[Web] Rename JavaScript platform to Web.Fabio Alessandrelli
Also rename export name from "HTML5" to "Web".
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 #64386 from timothyqiu/anim-disableRémi Verschelde
Fix crash when loading Animation Library after reloading a scene
2022-08-28Merge pull request #64981 from Chaosus/vs_fixYuri Rubinsky
2022-08-28Merge pull request #64885 from Mickeon/rename-tooltip-hintRémi Verschelde
Rename `hint_tooltip` to `tooltip_text` & setter getter
2022-08-28Fix category of new added visual shader functionsYuri Rubinsky
2022-08-28Merge pull request #64248 from paddy-exe/built-in-shader-functionsYuri Rubinsky
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 #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-26Merge pull request #64367 from Mickeon/rename-var-to-strRémi Verschelde
Rename `str2var` to `str_to_var` and similar
2022-08-26Add ThemeDB, expose previously static Theme methodsYuri Sizov
2022-08-26Rename `str2var` to `str_to_var` and similarMicky
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict`
2022-08-26Restore RigidBody2/3D, SoftBody names in physicsfabriceci
2022-08-26Merge pull request #64601 from MinusKube/alternative-tile-popup-bugRémi Verschelde
Fix alternative tile popup menu not being openable
2022-08-26Merge pull request #64570 from KoBeWi/node🧳ingRémi Verschelde
Unify node casing adjustment
2022-08-26Merge pull request #64566 from Mickeon/rename-particle-materialRémi Verschelde
Rename ParticlesMaterial to ParticleProcessMaterial
2022-08-26Add drag and drop support to shader listkobewi
2022-08-26Rename ParticlesMaterial to ParticleProcessMaterialMicky
Also affects their file names, related classes and documentation.
2022-08-25Merge pull request #64597 from MinusKube/tileset-disappear-bugRémi Verschelde
2022-08-25Add read-only mode to AnimationTreeEditor pluginsSaracenOne
2022-08-25Fix alternative tile popup menu not being openableMinusKube
2022-08-25Fix tileset image and background sometimes disappearingMinusKube
2022-08-25Allow using integer varyings with `flat` interpolation modifierYuri Rubinsky
2022-08-24Remove VisualScript module for 4.0Rémi Verschelde
As announced in https://godotengine.org/article/godot-4-will-discontinue-visual-scripting, Godot maintainers have agreed to discontinue the current implementation of our VisualScript language. The way it had been designed was not user-friendly enough and we did not succeed in improving its usability to actually make it a good low-code solution for users who need one. So we prefer to remove it for Godot 4.0 and leave the door open for new, innovative ideas around visual scripting, to be developed as plugins or extensions now that Godot provides sufficient functionality for this (notably via GDExtension and the godot-cpp C++ bindings). The current module has been moved to a dedicated repository (with full Git history extracted with `git filter-branch`): https://github.com/godotengine/godot-visual-script It can still be compiled as a C++ module (for now, but will likely require work to be kept in sync with the engine repository), but our hope is that contributors will port it to GDExtension (which is quite compatibile with the existing C++ module code when using the godot-cpp C++ bindings).
2022-08-24Merge pull request #64730 from AlexHCC/fix-ruler-drawing-orderRémi Verschelde
Fix ruler lines rendering on top of text
2022-08-24Merge pull request #64370 from Mickeon/rename-marker-nodeRémi Verschelde
Rename Position* nodes to Marker*
2022-08-24Merge pull request #64009 from KoBeWi/arrayy_lmaoRémi Verschelde
Replace Array return types with TypedArray (part 2)
2022-08-23Replace Array return types with TypedArray 2kobewi
2022-08-24Fix ruler lines rendering on top of textAlexHCC
2022-08-23Merge pull request #64617 from Mickeon/editor-restore-mesh-dropRémi Verschelde
2022-08-23Rename Position* nodes to Marker*Micky
- Position2D -> Marker2D - Position3D -> Marker3D Also changes their respective file names.
2022-08-23Merge pull request #63854 from TokageItLab/auto-bone-mappingRémi Verschelde
2022-08-23Merge pull request #64587 from ↵Yuri Sizov
Calinou/editor-environment-defaults-decrease-shadow-max-distance Decrease editor shadow maximum distance to match DirectionalLight3D default
2022-08-23Merge pull request #61493 from Calinou/editor-align-transform-rotate-decalYuri Sizov
Rotate Decal nodes when using Align Transform/Rotation With View
2022-08-23Add simple auto mapping to BoneMapperSilc Renew
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2022-08-22Replace Array return types with TypedArraykobewi
2022-08-22Add per-scene UndoRedokobewi
2022-08-22Merge pull request #63486 from TokageItLab/init-posesRémi Verschelde
2022-08-20Restore ability to drag 'n' drop Mesh to ViewportMicky
2022-08-19Merge pull request #64334 from YuriSizov/core-bind-property-revert-methodsYuri Sizov
Make `property_*_revert` methods multilevel and expose them for scripting
2022-08-19Merge pull request #63950 from bruvzg/menu_bar3Max Hilbrunner
Implement MenuBar control to wrap Popup menus or native menu, use native menu for editor.
2022-08-19Merge pull request #63358 from YuriSizov/control-simplify-enhance-toolbarYuri Sizov
Improve editor toolbar for `Control` nodes
2022-08-18Decrease editor shadow maximum distance to match DirectionalLight3D defaultHugo Locurcio
This improves shadow texel density, leading to improved visual quality (and higher performance in large scenes, as fewer objects will be included in the shadow map).
2022-08-18Implement `MenuBar` control to wrap `PopupMenu`s or native menu, use native ↵bruvzg
menu for editor.
2022-08-18Unify node casing adjustmentkobewi