summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2020-06-29VideoPlayer: fix possible race conditionMark Kuo
In set_stream() we write to 'playback' while accessing the same object in _mix_audio() in audio thread. Protect the 'write' part in set_stream() to avoid possible crash in _mix_audio() function.
2020-06-27Call Node3D::get_global_transform and Vector3::dot only once within ↵Adam Reichold
Camera3D::is_position_behind to avoid redundant work.
2020-06-26Addition of SDFGI for open world global illuminationJuan Linietsky
Move GI to a deferred pass
2020-06-24Merge pull request #39805 from RandomShaper/fix_gone_popup_crashRémi Verschelde
Handle gone TabContainer popup nicely
2020-06-24Handle gone TabContainer popup nicelyPedro J. Estébanez
2020-06-24Fix default editor/project Button styles after ToolButton removalHugo Locurcio
Before this fix, all Buttons made with the default project theme looked flat until hovered.
2020-06-21Merge pull request #39717 from hinlopen/empty-scroll-eats-inputRémi Verschelde
No longer scroll vertically when scrollbars are unavailable
2020-06-21Check for motion in cast_motion() before doing Bullet convexSweepTest().Marcel Admiraal
Also ensure that default closest_safe and closest_unsafe values are defined in cast_motion() and before cast_motion() is called.
2020-06-20No longer scroll vertically when scrollbars are unavailableStijn Hinlopen
2020-06-19Merge pull request #39053 from timoschwarzer/static-assert-variant-arg-maxRémi Verschelde
Add static_assert checks where code assumes VARIANT_ARG_MAX == 5
2020-06-19Remove ToolButton in favor of ButtonHugo Locurcio
ToolButton has no redeeming differences with Button; it's just a Button with the Flat property enabled by default. Removing it avoids some confusion when creating GUIs. Existing ToolButtons will be converted to Buttons, but the Flat property won't be enabled automatically. This closes https://github.com/godotengine/godot-proposals/issues/1081.
2020-06-19Merge pull request #38932 from Calinou/increase-light3d-shadow-biasRémi Verschelde
Increase the default DirectionalLight3D and OmniLight3D shadow biases
2020-06-19Added Texture2DArray support to visual shadersYuri Roubinsky
2020-06-19Merge pull request #39659 from asmaloney/macos-command-backspaceRémi Verschelde
[macOS] Command-backspace in line edit
2020-06-19Merge pull request #33235 from nekomatata/rich-text-label-fit-heightRémi Verschelde
Option in RichTextLabel for height to fit content
2020-06-18[macOS] Command-backspace in line editAndy Maloney
Make command-backspace in line edit work like other macOS applications. If there is a selection, command-backspace deletes the selection. If there isn't a selection, command-backspace deletes from the cursor to the beginning of the line edit. This addresses part of godotengine/godot#23548
2020-06-16Merge pull request #37903 from Xrayez/shape-2d-draw-bindRémi Verschelde
Bind Shape2D draw method
2020-06-16Merge pull request #36079 from madmiraal/fix-35744Rémi Verschelde
Normalise p_up_direction vector in move_and_slide()
2020-06-16Normalise p_up_direction vector in move_and_slide() andMarcel Admiraal
move_and_slide_with_snap() and fix tolerance in move_and_slide_with_snap() max floor angle.
2020-06-16Merge pull request #39572 from Chaosus/fix_vs_4.0Rémi Verschelde
Use path instead classname to prevent errors for exported visual shaders
2020-06-16Merge pull request #39126 from TwistedTwigleg/GSOC_2020_Working_BranchRémi Verschelde
Skeleton and Skeleton inspector low-level changes
2020-06-15Merge pull request #39544 from nathanfranke/canvas-item-parent-node-renameRémi Verschelde
Change "ParentNode" to "Inherit" in Texture Options
2020-06-15Made low level changes to the Skeleton3D class and Skeleton3D inspector. ↵TwistedTwigleg
Changes listed below: * Added helper functions to Skeleton3D for converting transforms from bone space to global space, and vice versa. * Updated the Skeleton3D class reference. * Changed the icon used for bones in the Skeleton3D inspector to use BoneAttachement3D's icon. * Changed the Skeleton3D inspector to use EditorPropertyTransform and EditorPropertyVector3 when possible. * Placed the Transform/Matrix for each bone in a sub-section, so it is visually similar to the Node3D inspector.
2020-06-15Use path instead classname to prevent errors for exported visual shadersYuri Roubinsky
2020-06-15Fix bad position in Camera2D offset and camera rotation if smothing enabled.Ranoller
Fix https://github.com/godotengine/godot/issues/16323 in master. Apply same solution of https://github.com/godotengine/godot/issues/2074 in rotation and offset.
2020-06-15Merge pull request #39485 from theoway/append_bbcode_animation_bugRémi Verschelde
Fixes the stopping of animation effects in bbcode text after appending
2020-06-15Merge pull request #39522 from noidexe/fix-tabcontainer-tabselected-misfireRémi Verschelde
Fix TabContainer emitting spurious tab_selected signals when a theme …
2020-06-15Merge pull request #39479 from akien-mga/classdb-default-property-uniqueRémi Verschelde
Object: Add usage hint to instantiate Object properties in editor
2020-06-14Change "ParentNode" to "Inherit" in Texture OptionsNathan Franke
2020-06-14Re-enable scroll follow on RichTextLabel clearTomasz Chabora
2020-06-13Fix TabContainer emitting spurious tab_selected signals when a theme is changedLisandro Lorea
- The repaint code was moved outside of set_current_tab() and to a "_repaint()" private function - _on_theme_changed() will now only call _repaint() and update() This means _on_theme_changed() will do only what it needs (repainting the TabContainer to account for the new theme) fixes #39498
2020-06-13Fixes the stopping of animation effects in bbcode after appendingUmang Kalra
2020-06-12Object: Add usage hint to instantiate Object properties in editorRémi Verschelde
Fixes #36372 as Path2D/Path3D's `curve` property no longer uses a Curve instance as default value, but instead it gets a (unique) default Curve instance when created through the editor (CreateDialog). ClassDB gets a sanity check to ensure that we don't do the same mistake for other properties in the future, but instead use the dedicated property usage hint. Fixes #36372. Fixes #36650. Supersedes #36644 and #36656. Co-authored-by: Thakee Nathees <thakeenathees@gmail.com> Co-authored-by: simpuid <utkarsh.email@yahoo.com>
2020-06-11Merge pull request #39337 from Cevantime/add-text-deletion-methods-to-line-editRémi Verschelde
Make text deletion methods public for LineEdit
2020-06-10Make text deletion methods public for LineEditThibault Truffert
2020-06-10Merge pull request #39350 from giulianob/improve-tree-redrawRémi Verschelde
Tree: Calling update in _gui_input less frequently
2020-06-09Fix signal duplication bug when duplicating node with instanced childrenMaganty Rushyendra
Change error checking in `duplicate_signals()` to check for path to `p_original`, thus adhering to the method used in `duplicate`, instead of checking for ownership.
2020-06-08Add generic file icon and its modulation to the 'FileDialog'Michael Alexsander
2020-06-08PackedScene: Prevent crash when root node has `parent` attributeRémi Verschelde
The crash happens further down when setting an invalid owner in `Node::_set_owner_nocheck` but I couldn't figure out how to fix it. But here the proper fix is to catch the invalid scene file early on and fail loading it. Part of #17372.
2020-06-06Tree: Calling update in _gui_input less frequentlyGiuliano Barberi
2020-06-05Restore capture caches when missingTomasz Chabora
2020-06-05Merge pull request #39293 from madmiraal/fix-27921Rémi Verschelde
Correct misspellings of damped spring.
2020-06-04Correct misspellings of damped spring.Marcel Admiraal
2020-06-04Set "shader_param/" prefix in Shader::has_param()Marcus Brummer
2020-06-03Merge pull request #39270 from Phischermen/fix-mesh-property-listRémi Verschelde
Update property hint from ArrayMesh to be consistent with other property hints
2020-06-03Merge pull request #39164 from theoway/richlabeltext_align_bugRémi Verschelde
Fixes the right and center alignment bug of rich text label
2020-06-03Made property hint consistent with other property hintsPhischermen
2020-06-03Allow scroll_to_line when scroll_active is 'false'Dominik 'dreamsComeTrue' Jasiński
Fix #36134
2020-06-03Fixes the right and center alignment bug of rich text labelUmang Kalra
2020-06-03Merge pull request #39113 from nekomatata/bbcode-image-colorRémi Verschelde
Add color option for img bbcode tag in RichTextLabel to tint images