summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
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-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.
2020-05-16Fix Android LineEdit editing bugsSkyJJ
2020-05-16Fixed text editor drawing if smooth scrolling is disabled.Marcus Brummer
Fixes #38778
2020-05-16Remove HQ2X and the `Image.expand_2x_hq2x()` methodHugo Locurcio
As of Godot 3.0, HQ2X is no longer used to upscale the editor theme and icons on hiDPI displays, which limited its effective uses. HQ2X was also used to upscale the project theme when the "Use Hidpi" project setting was enabled, but results were often less than ideal. The new StyleBoxFlat and SVG support also make HQ2X less important to have as a core feature. This decreases binary sizes slightly (-150 KB on most platforms, -212 KB on WebAssembly release). This partially addresses #12419.
2020-05-16Merge pull request #38463 from smartin015/3.2-fixgeditRémi Verschelde
Remove get_local_mouse_position() hack in GraphEdit
2020-05-16Remove get_local_mouse_position() hack in GraphEditsmartin015
2020-05-16Fix popup positions on multiple screens (with same scaling only).bruvzg
2020-05-15Replace 'add_child_below_node' with 'add_sibling' in NodeDominik 'dreamsComeTrue' Jasiński
Fixes: #19642
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14Style: Enforce separation line between function definitionsRémi Verschelde
I couldn't find a tool that enforces it, so I went the manual route: ``` find -name "thirdparty" -prune \ -o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \ -o -name "*.glsl" > files perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files) misc/scripts/fix_style.sh -c ``` This adds a newline after all `}` on the first column, unless they are followed by `#` (typically `#endif`). This leads to having lots of places with two lines between function/class definitions, but clang-format then fixes it as we enforce max one line of separation. This doesn't fix potential occurrences of function definitions which are indented (e.g. for a helper class defined in a .cpp), but it's better than nothing. Also can't be made to run easily on CI/hooks so we'll have to be careful with new code. Part of #33027.
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
2020-05-14Style: Fix missing/invalid copyright headersRémi Verschelde