summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
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-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-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
2020-05-14Merge pull request #38718 from neikeq/fix-bindings-after-lightmapperIgnacio Roldán Etcheverry
Fix C# bindings after lightmapper changes
2020-05-14Remove redundant void argument listsRémi Verschelde
Using clang-tidy's `modernize-redundant-void-arg`. https://clang.llvm.org/extra/clang-tidy/checks/modernize-redundant-void-arg.html
2020-05-14Enforce use of bool literals instead of integersRémi Verschelde
Using clang-tidy's `modernize-use-bool-literals`. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-bool-literals.html
2020-05-14Modernize remaining uses of 0/NULL instead of nullptr (C++11)Rémi Verschelde
Using clang-tidy's `modernize-use-nullptr`. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2020-05-14Port member initialization from constructor to declaration (C++11)Rémi Verschelde
Using `clang-tidy`'s `modernize-use-default-member-init` check and manual review of the changes, and some extra manual changes that `clang-tidy` failed to do. Also went manually through all of `core` to find occurrences that `clang-tidy` couldn't handle, especially all initializations done in a constructor without using initializer lists.
2020-05-13Fix C# bindings after lightmapper changesIgnacio Etcheverry
2020-05-12Merge pull request #38655 from ↵Rémi Verschelde
ice-blaze/minimap-shifted-selection-by-one-line#38532 Fix minimap selection offset
2020-05-12doc: Sync classref with current sourceRémi Verschelde
Adds API changes from the new GPU lightmapper.
2020-05-11Merge pull request #38635 from Calinou/tilemap-rename-ysort-indexRémi Verschelde
Rename various TileMap methods/properties for clarity and consistency
2020-05-11thirdparty: Cleanup after #38386, document provenance and copyrightRémi Verschelde
Also renamed `delaunay.h` to `delaunay_2d.h` to match the class name.
2020-05-11Merge pull request #38386 from reduz/new-lightmapperRémi Verschelde
New GPU lightmapper
2020-05-11Merge pull request #38491 from eduardonunesp/input-line-osx-selectionRémi Verschelde
Using the common behaviour when use command+shift on text line for osx
2020-05-11Merge pull request #31938 from KoBeWi/a_welcome_lagRémi Verschelde
Fix VisibilityEnabler2D behavior on start
2020-05-11Using the common behaviour when use command+shift on text line for osxEduardo Nunes Pereira
* On press left+command+shift or right+command+shift it should behave like shift+home or shift+end and select the text * Using home and end events as reference
2020-05-11Fix minimap selection offsetetienne.frank
The minimap selection was shifted of 1 line too late.
2020-05-10New lightmapperJuan Linietsky
-Added LocalVector (needed it) -Added stb_rect_pack (It's pretty cool, we could probably use it for other stuff too) -Fixes and changes all around the place -Added library for 128 bits fixed point (required for Delaunay3D)
2020-05-10Rename various TileMap methods/properties for clarity and consistencyHugo Locurcio
The YSort renames were tracked in https://github.com/godotengine/godot/issues/16863. This closes https://github.com/godotengine/godot-proposals/issues/814.
2020-05-10Revert "Renamed plane's d to distance"Rémi Verschelde
This reverts commit ec7b481170dcd6a7b4cf0e6c1221e204ff7945f3. This was wrong, `d` is not a distance but the `d` constant in the parametric equation `ax + by + cz = d` describing the plane.
2020-05-10Style: clang-format: Disable AllowShortCaseLabelsOnASingleLineRémi Verschelde
Part of #33027.
2020-05-10Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde
Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
2020-05-10Style: Add missing copyright headersRémi Verschelde
2020-05-10Merge pull request #38613 from MCrafterzz/planeRémi Verschelde
Renamed plane's d to distance
2020-05-10Prevent CapsuleShape2D height from being less than zero.Marcel Admiraal
2020-05-10Renamed plane's d to distanceMarcus Elg
2020-05-09Rename Lineshapes d to distanceMarcus Elg
2020-05-08Turn the anisotropic filtering setting into an enumHugo Locurcio
Since it only accepts power-of-two values, exposing it as an enum makes more sense. This also allows for adding property hints to indicate the performance cost of each value. This also improves property hints for MSAA and FXAA.
2020-05-08Fix VisibilityEnabler2D behavior on startTomasz Chabora
2020-05-07GUI: Touch screen button click area now is synced with its drawMateo Kuruk Miccino
(cherry picked from commit 1cba7fb1804c35917c075e323b6d303f5a900df6)
2020-05-07Merge pull request #31086 from volzhs/underlineRémi Verschelde
Use underline position and thickness value in font file
2020-05-07Merge pull request #38226 from Calinou/increase-camera3d-fovRémi Verschelde
Increase the default Camera3D field of view to 75
2020-05-07Merge pull request #38385 from ThakeeNathees/method-bind-text_edit-set_lineRémi Verschelde
method bind TextEdit::set_line() added
2020-05-07Merge pull request #38524 from hoontee/masterRémi Verschelde
Fix bug with AudioStreamPlayer3D audio position
2020-05-07Fix bug with AudioStreamPlayer3D audio positionhoontee
Applies https://github.com/godotengine/godot/commit/0c78a58b6472f704d473e0307c9ea83dfbde1811 to `AudioStreamPlayer3D::play`.
2020-05-06PopupMenu.get_current_index() bound to ClassDBnobuyuki_nyuu