summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
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-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-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
2020-06-03Merge pull request #39130 from Calinou/dynamicfont-disable-outline-antialiasingRémi Verschelde
Disable antialiasing on the DynamicFont outline as well when requested
2020-06-03Merge pull request #39209 from Xrayez/ray-shape-indieRémi Verschelde
Move `RayShape2D` implementation into its own translation unit
2020-06-01Add performance hints to the DirectionalLight shadow mode property hintHugo Locurcio
This also clarifies some parts in the DirectionalLight documentation.
2020-06-01Move `RayShape2D` implementation into its own translation unitAndrii Doroshenko (Xrayez)
2020-05-30Add color option for img bbcode tag in RichTextLabel to tint imagesPouleyKetchoupp
2020-05-29Merge pull request #39051 from Xrayez/geometry-splitRémi Verschelde
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
2020-05-28Disable antialiasing on the DynamicFont outline as well when requestedHugo Locurcio
This partially addresses https://github.com/godotengine/godot-proposals/issues/943.
2020-05-27Split `Geometry` singleton into `Geometry2D` and `Geometry3D`Andrii Doroshenko (Xrayez)
Extra `_2d` suffixes are removed from 2D methods accoringly.
2020-05-27Expose `get_char_size()` from Font instead of BitmapFontMaganty Rushyendra
`get_char_size()` is a public virtual function defined in the `Font` class. Implementations exist for both `BitmapFont` and `Dynamic Font`. However, it was only exposed to the GDScript API through the Bitmap Font, and not for Dynamic Font. This commit exposes the function through `Font` instead. Fixes #23967
2020-05-27Merge pull request #36409 from fire/skeleton-custom-inspectorRémi Verschelde
Custom Skeleton3DEditorPlugin
2020-05-26colorpicker margin bug fixedThakee Nathees
2020-05-25Merge pull request #38978 from nekomatata/remote-inspector-res-previewFabio Alessandrelli
Fix resource preview in remote inspector
2020-05-23Merge pull request #38396 from nekomatata/unexpose-sort-childrenRémi Verschelde
Fix Container sorting not working when overriding _sort_children in gdscript
2020-05-23Fix resource preview in remote inspectorPouleyKetchoupp
The specific case for object reference seems unnecessary, as `RES res = var` already does the work. The case where REF is invalid is never hit in the case of already freed objects. The assignment `res = *r` was causing the resource to be always invalidated on the 3.2 branch.
2020-05-22Custom Skeleton3DEditorPluginK. S. Ernest (iFire) Lee
Co-authored-by: Marios Staikopoulos <marios@staik.net>
2020-05-21Clarifies 'icon_separation' in TabContainer (instead of 'hseparation')Dominik 'dreamsComeTrue' Jasiński
Fixes: #38911
2020-05-20Merge pull request #38794 from nekomatata/text-edit-search-resultRémi Verschelde
TextEdit search returns Dictionary instead of Vector
2020-05-20Merge pull request #38309 from SkyLucilfer/AndroidLineEditRémi Verschelde
Fix Android LineEdit editing bugs
2020-05-19Fixed kinematic body axis lockAndrea Catania
2020-05-19Style: Fix unnecessary semicolons that confused clang-formatRémi Verschelde
2020-05-18Merge pull request #38791 from clayjohn/physical-sky-updateRémi Verschelde
Add night sky to PhysicalSkyMaterial
2020-05-17Allow searching with keyboard input by default in PopupMenuHugo Locurcio
See discussion in https://github.com/godotengine/godot-proposals/issues/43.
2020-05-17Merge pull request #38695 from dreamsComeTrue/node-swap-order-argumentsRémi Verschelde
Replace 'add_child_below_node' with 'add_sibling' in Node
2020-05-16TextEdit search returns a dictionary instead of VectorPouleyKetchoupp
Easier to use than accessing elements in a Vector using indices given by an enum. Breaks compatibility on existing scripts using this functionality.
2020-05-17Fix popup window size calculation in popup_centered_ratio by using Rect2unknown
2020-05-16Add night sky to PhysicalSkyMaterialclayjohn
2020-05-16Merge pull request #38782 from mbrlabs/text-editor-fixRémi Verschelde
Fixed text editor drawing if smooth scrolling is disabled.
2020-05-16Fix Container sorting not working when overriding _sort_children in gdscriptPouleyKetchoupp
Remove _sort_children from script bindings: _sort_children is an internal method which shouldn't be exposed to scripts. Added support for non-bound methods in MessageQueue: So we can use deferred calls without exposing internal methods to scripts. Added debug checks in CallableCustomMethodPointer: Adding method pointer callables to the message queue was causing crashes in case an object was destroyed and the same memory was allocated for another one. The new object had a valid object id but the call was erroneous. Release will be fixed later, along with Variant which has the same problem and is also fixed for debug only.