summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2022-10-08Fix Label text length mismatch after localizationHaoyu Qiu
2022-10-08Merge pull request #65983 from Mickeon/rename-audio-player-volume-dbRémi Verschelde
Rename AudioStreamPlayer3D's `unit_db` to `volume_db`
2022-10-08Merge pull request #67062 from timothyqiu/enum-spaceRémi Verschelde
Remove leading spaces from enumerator name hints
2022-10-08Remove leading spaces from enumerator name hintsHaoyu Qiu
For `PROPERTY_HINT_ENUM` properties, enumerator names can be provided as a comma separated list. There're a few properties that add leading spaces to the names (e.g. `First, Second, Third`). These spaces are included in the Inspector dropdown, which is unexpected. It's better to leave the surrounding spaces untouched because it could be part of the resulting string value (the variable is a string enum). And most other enum hints don't contain surrounding whitespaces. This PR removes the spaces and documents this `PROPERTY_HINT_ENUM` behavior.
2022-10-07declare "_validate_property" as protectedArthur J
In other classes, the function _validate_property is declared as protected (in the case of Area2D), but in Area3D it's declared as private, which causes compile errors when trying to extend the class in a C++ module for example.
2022-10-07Merge pull request #67020 from GuilhermeGSousa/remove-transition-expression-nodeRémi Verschelde
Remove expression base node for transitions
2022-10-07Remove expression base node for transitionsGuilherme Sousa
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-07Merge pull request #62910 from Vitika9/gsoc-colorpicker-uxRémi Verschelde
ColorPicker UX
2022-10-07Add split caret direction markers. Fix block/overtype caret size.bruvzg
2022-10-06Fix TileMap occluders having a wrong transformGilles Roudière
2022-10-06Merge pull request #66954 from Nidjo123/sample-baked-up-vectorRémi Verschelde
Handle last baked vector index early
2022-10-06Merge pull request #66961 from Rindbee/fix-set_custom_colorRémi Verschelde
Fix wrong condition used in `set_custom_color`
2022-10-06Merge pull request #66951 from rburing/restore_recovery_as_collisionRémi Verschelde
Revert "Turn on recovery as collisions only for floor snapping"
2022-10-06Merge pull request #61902 from Paulb23/multi-caretRémi Verschelde
Add Multi-caret support to TextEdit
2022-10-06Fix wrong condition used in `set_custom_color`Rindbee
2022-10-06Handle last baked vector index earlyNikola Bunjevac
2022-10-05Revert "Turn on recovery as collisions only for floor snapping as this leads ↵Ricardo Buring
to unwanted behaviour for other surface than the floor." This reverts commit 10395f5df2a1cac6ed83e674c084e62a88fcdde9.
2022-10-05Add multi caret support to CodeEditPaulb23
2022-10-05Add mutliple Caret support to TextEditPaulb23
2022-10-05Merge pull request #66560 from MisterMX/fix/tileset-move-custom-data-layerRémi Verschelde
fix(tileset): Move custom data layer
2022-10-05Merge pull request #66720 from qarmin/unintialized_memoryRémi Verschelde
Remove usage of unitialized variables
2022-10-05Merge pull request #66839 from aaronfranke/editor-prop-hide-sliderRémi Verschelde
Fix `hide_slider` vs `no_slider` inconsistency in editor property code
2022-10-05Merge pull request #66770 from EricEzaM/search-by-eventRémi Verschelde
Add searching by event in Editor Settings shortcuts and Project Settings input map.
2022-10-05Merge pull request #66911 from clayjohn/imagetexture3dRémi Verschelde
Properly assign texture RID when creating ImageTexture3D
2022-10-05Merge pull request #66509 from Mickeon/yesRémi Verschelde
Support chaining AtlasTextures inside other AtlasTextures
2022-10-04Properly assign texture RID when creating ImageTexture3Dclayjohn
2022-10-04Add rotation smoothing to Camera2DLuis Lopez
Camera2D has follow smoothing to interpolate towards a target position, but no rotation smoothing to align with the target rotation. This adds rotation smoothing directly into the Camera2D API by having two new properties: - `rotation_smoothing_enabled` - `rotation_smoothing_speed`
2022-10-04Support nesting AtlasTextures inside other AtlasTexturesMicky
Connects AtlasTexture to its `atlas`'s "changed" signal, allowing it to detect property changes to `atlas` and update accordingly, when the project is running and in the editor, as well.
2022-10-04Merge pull request #66869 from Sauermann/fix-transform-det-0-spamRémi Verschelde
Fix Transform2D det == 0 spam for SubViewports
2022-10-04Merge pull request #39072 from dalexeev/cs2d_debug_colorRémi Verschelde
Add debug_color property to CollisionShape2D
2022-10-04Fix Transform2D det == 0 spam for SubViewportsMarkus Sauermann
2022-10-04Merge pull request #66712 from Cykyrios/fix-invalid-popup-positionRémi Verschelde
Fix invalid popup position for embedded popups
2022-10-04Merge pull request #66859 from Rindbee/reset-gui_parentRémi Verschelde
Make sure to reset the tooltip of its gui_parent when the viewport is removed
2022-10-04Merge pull request #66559 from zaevi/fix_ScrollContainer_touch_scrollRémi Verschelde
Fix ScrollContainer touch-scrolling not working.
2022-10-04Merge pull request #62188 from MaeIsBad/MaeIsBad/masterRémi Verschelde
Move "Create Debug Tangents" on MeshInstance3D into an editor plugin
2022-10-04Merge pull request #66807 from ↵Rémi Verschelde
akien-mga/core-unix-remove-NO_FCNTL-and-NO_STATVFS Unix: Remove now unnecessary I/O defines, cleanup
2022-10-04Make sure to reset the tooltip of its gui_parent when the viewport is removedRindbee
2022-10-03Move "Create Debug Tangents" into an editor pluginbad
Instead of exporting the "create_debug_tangents" function via METHOD_FLAG_EDITOR it gets executed by an editor plugin. This moves it from the "Manage object properties" menu into a mesh menu. It also adds undo/redo functionality to the create debug tangents option.
2022-10-03Fix invalid popup position for embedded popupsCykyrios
2022-10-03Fix hide_slider vs no_slider inconsistency in editor property codeAaron Franke
2022-10-03Fix boolean connection to ports of other types in visual shaderYuri Rubinsky
2022-10-03Move selecion into caretPaulb23
2022-10-03Merge pull request #66748 from EricEzaM/66308-66403-menubutton-improvementsRémi Verschelde
Improve MenuButton and OptionButton
2022-10-03Unix: Remove now unnecessary I/O defines, cleanupRémi Verschelde
- `LIBC_FILEIO_ENABLED` wasn't defined anywhere, even in _other platforms_. - `NO_NETWORK` is also never defined. It probably isn't enough anyway to disable network APIs in the current codebase. - `UNIX_SOCKET_UNAVAILABLE` is never defined in this code but used by some other platforms, clarify that. - `NO_STATVFS` can be removed as Android supports it since API level 19, which is our current min SDK level. It's also only used for `DirAccessUnix::get_space_left()` which is anyway overridden by `DirAccessJAndroid::get_space_left()` so it shouldn't make a difference. * Fixed documentation for `DirAccess.get_space_left()`. - `NO_FCNTL` is likely also a remnant of early Android days, in current NDK r23 it seems to be available. Also cleaned up unused `fcntl.h` includes. - `NO_ALLOCA` is never defined, and we use alloca in many places now.
2022-10-03Improve MenuButton and OptionButtonEricEzaM
* MenuButton + OptionButton: Add method `show_popup()` which performs required popup setup before showing (prefer use of this over `get_popup()->popup()`, otherwise GH #66308 occurs) * MenuButton: Ensure that the menu can be opened with a shortcut, if one is set for the button. (GH #66403). Ensure that popupmenu item shortcuts are checked first before the MenuButton shortcut.
2022-10-03Add searching by event for Editor Settings shortcuts and Project Settings ↵EricEzaM
input map. * Focus into the LineEdit, then perform input to search the list of events by the events assigned. * New specialised editor-only control for this: EventListenerLineEdit. Line edit is a good candidate for such a control because you can focus it, override it's input handling, and show the event all in one control. Update InputEventConfigurationDialog to use event listener line edit rather than the separate tabs. * Cleaner look - no need for tabs. * Simpler code.
2022-10-03Remove NO_THREADS fallback code, Godot 4 requires thread supportRémi Verschelde
This also removes `OS::can_use_threads` from the public API since it's always true.
2022-10-02Allow shortcut input to be JoypadButton.EricEzaM
2022-10-01Remove usage of unitialized variablesRafał Mikrut