summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement distance fade and transparencyJFonS2021-10-2521-92/+371
| | | | | | | | | | | | | | | | | | | | | The built-in ALPHA in spatial shaders comes pre-set with a per-instance transparency value. Multiply by it if you want to keep it. The transparency value of any given GeometryInstance3D is affected by: - Its new "transparency" property. - Its own visiblity range when the new "visibility_range_fade_mode" property is set to "Self". - Its parent visibility range when the parent's fade mode is set to "Dependencies". The "Self" mode will fade-out the instance when reaching the visibility range limits, while the "Dependencies" mode will fade-in its dependencies. Per-instance transparency is only implemented in the forward clustered renderer, support for mobile should be added in the future. Co-authored-by: reduz <reduzio@gmail.com>
* Fix state inconsistencies in visibility dependencies.jfons2021-10-252-60/+46
|
* Merge pull request #54206 from akien-mga/clang-format-no-error-unknownRémi Verschelde2021-10-253-5/+5
|\
| * clang-format: Enable `--Wno-error=unknown` for compat with older versionsRémi Verschelde2021-10-253-5/+5
| | | | | | | | | | | | | | | | | | | | This prevents errors when encountering options which have been defined in newer versions of clang-format, and are invalid in the YAML for the old version. Bump minimum supported clang-format version to 12 (where `--Wno-error=unknown` was added). Use clang-format 12 on CI (13 is not available yet on the Ubuntu 20.04 images).
* | Merge pull request #54203 from object71/fix-collections-modules-pyRémi Verschelde2021-10-251-2/+2
|\ \
| * | Fix import for collections Mapping Hristo Stamenov2021-10-251-2/+2
| | | | | | | | | | | | Mapping and other "abstract base classes" were moved after python 3.3 from collections to collections.abc Python 3.3 is long gone and a newer version of python won't support this code.
* | | Merge pull request #53707 from Calinou/action-editor-default-enable-physicalRémi Verschelde2021-10-241-2/+8
|\ \ \ | |/ / |/| |
| * | Create key inputs as physical by default in the input action editorHugo Locurcio2021-10-121-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Physical Key should be used for most game inputs as it allows keys to work on non-QWERTY layouts out of the box. This is especially important for WASD movement layouts. In contrast, remapped (non-physical) keys are mainly useful in non-game applications, where shortcuts are expected to match a precise letter rather than a location on the keyboard.
* | | Merge pull request #53820 from Calinou/3d-editor-add-quick-fov-adjustRémi Verschelde2021-10-242-9/+56
|\ \ \ | |_|/ |/| |
| * | Implement Alt + Mouse wheel to adjust FOV in the 3D editor viewportHugo Locurcio2021-10-232-9/+56
| | | | | | | | | | | | This allows for quicker FOV adjustments compared to using the View menu.
* | | Merge pull request #54193 from ↵Rémi Verschelde2021-10-241-0/+1
|\ \ \ | | | | | | | | | | | | | | | | object71/fix-changing-particle-amount-is-not-reflected Fix changing particle amount is not reflected
| * | | Setting the visible multimesh instance to -1 so that they are updated ↵Hristo Stamenov2021-10-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | correctly on set_amount. When emitting stops CPUParticles3D::_set_redraw(bool p_redraw) will set that value to 0 so when you change the amount after that it will actually not update correclty. This fixes an issue where if it was not emitting when the scene loaded and it start after that the amount is not reflected correclty. This also happened when you checked out the box for emitting in the editor, changed the value of amount and then checked on the box for emitting. With this change if it is emitting during the change it does interrupt the previous particles when you change. The amount and the emit starts from beginning but that is to be expected on an amount of particles change.
* | | | Merge pull request #54130 from raulsntos/csharp-exportsRémi Verschelde2021-10-242-10/+10
|\ \ \ \ | |/ / / |/| | | Keep order for C# exported members
| * | | Keep order for C# exported membersRaul Santos2021-10-222-10/+10
| | | |
* | | | Merge pull request #54189 from Rubonnek/fix-argcount-spinboxRémi Verschelde2021-10-241-2/+4
|\ \ \ \
| * | | | Fix max argument count on AnimationTrackEdit spinboxWilson E. Alvarez2021-10-241-2/+4
|/ / / /
* | | | Merge pull request #53885 from TokageItLab/fix-bone-animation-insertionRémi Verschelde2021-10-2412-161/+255
|\ \ \ \ | | | | | | | | | | Fixed Pos/Rot/Scl 3D Tracks insertion in `SkeletonEditor`
| * | | | Fixed animation insertion in SkeletonEditorSilc 'Tokage' Renew2021-10-2312-161/+255
| | | | |
* | | | | Merge pull request #54045 from ConteZero/primary_clipboard_linux_fix_warningRémi Verschelde2021-10-237-11/+24
|\ \ \ \ \
| * | | | | Fix primary clipboard warningConteZero2021-10-237-11/+24
| | | | | |
* | | | | | Merge pull request #54120 from zaevi/fix_null-ref_crashesRémi Verschelde2021-10-234-3/+13
|\ \ \ \ \ \
| * | | | | | Fix unexpected crashes in `notification`Zae2021-10-234-3/+13
| | | | | | |
* | | | | | | Merge pull request #54145 from zedutch/Fix-tree-notification-crashRémi Verschelde2021-10-231-1/+3
|\ \ \ \ \ \ \
| * | | | | | | Fix possible crash when calling Tree.notification from _readyRobin Arys2021-10-231-1/+3
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge pull request #54155 from madmiraal/fix-54091Rémi Verschelde2021-10-231-7/+7
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix Gradle builds not excluding excluded tasks
| * | | | | | | Fix Gradle builds not excluding excluded tasksMarcel Admiraal2021-10-231-7/+7
|/ / / / / / /
* | | | | | | i18n: Sync editor translations with WeblateRémi Verschelde2021-10-2316-631/+595
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 4010bb9af051cfd2ad53f8e923c35d347d549319)
* | | | | | | Merge pull request #54144 from zedutch/fix-filesystem-sortRémi Verschelde2021-10-231-0/+2
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | |
| * | | | | | Fix newly created files not sorted correctlyRobin Arys2021-10-231-0/+2
| |/ / / / /
* | | | | | Merge pull request #54141 from timothyqiu/bbcode-parseRémi Verschelde2021-10-233-11/+9
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Make RichTextLabel's parse_bbcode and append_text return voidHaoyu Qiu2021-10-233-11/+9
|/ / / / /
* | | | | Merge pull request #54137 from zedutch/fix-quick-load-multi-base-typesRémi Verschelde2021-10-231-8/+15
|\ \ \ \ \
| * | | | | Fix support for multiple base types in the quick load dialogRobin Arys2021-10-221-8/+15
| | | | | |
* | | | | | Merge pull request #54067 from bruvzg/oidn_entRémi Verschelde2021-10-232-20/+10
|\ \ \ \ \ \
| * | | | | | [macOS] Add entitlements required by OIDN JIT for the editor build.bruvzg2021-10-212-20/+10
| | | | | | |
* | | | | | | Merge pull request #54138 from akien-mga/js-update-ansi-regex-5.0.1Rémi Verschelde2021-10-231-3/+3
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | JS: Bump ansi-regex version for linterRémi Verschelde2021-10-221-3/+3
|/ / / / / / | | | | | | | | | | | | | | | | | | Silences warning about a moderate security vulnerability (which doesn't affect us).
* | | | | | Merge pull request #54133 from akien-mga/clang-format-13-syncRémi Verschelde2021-10-222-20/+81
|\ \ \ \ \ \
| * | | | | | clang-format: Sync config with LLVM 13Rémi Verschelde2021-10-222-20/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable minimum amount of spaces in comment prefix for now, as it otherwise modifies the whole codebase. That's something we probably want to use as it matches our convention, but we should look into fully converting these comments to our style guide at the same time.
* | | | | | | Merge pull request #54124 from Uxeron/CenterOfMassRotationFixCamille Mohr-Daurat2021-10-221-8/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix physics body rotating incorrectly around it's center of mass
| * | | | | | | Fix physics body rotating incorrectly around it's center of massUxeron2021-10-221-8/+4
| | | | | | | |
* | | | | | | | Merge pull request #54132 from Duroxxigar/update-yield-call-examplesRémi Verschelde2021-10-223-4/+4
|\ \ \ \ \ \ \ \
| * | | | | | | | Replace remaining usages of yield with new await keywordDuroxxigar2021-10-223-4/+4
| | | | | | | | |
* | | | | | | | | Merge pull request #54131 from nekomatata/fix-2d-body-center-of-mass-autoRémi Verschelde2021-10-221-4/+4
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Fix RigidDynamicBody2D auto center of mass calculationPouleyKetchoupp2021-10-221-4/+4
| | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should be changing the local center of mass, which is then transformed into `center_of_mass`. It was causing the center of mass to be always in (0,0) by default with multiple shapes.
* | | | | | | | | Merge pull request #53508 from aaronfranke/riscvRémi Verschelde2021-10-227-4/+25
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | |
| * | | | | | | | Add support for the RISC-V architectureAaron Franke2021-10-227-4/+25
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Supports RV64GC (RISC-V 64-bit with general-purpose and compressed-instruction extensions)
* | | | | | | | Merge pull request #53992 from Calinou/hard-shadow-mapping-allow-ditheringRémi Verschelde2021-10-226-16/+41
|\ \ \ \ \ \ \ \
| * | | | | | | | Add Soft Very Low shadow quality mode for 3DHugo Locurcio2021-10-216-16/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be used to improve 3D shadow rendering quality at little performance cost. Unlike the existing Hard setting which is limited to variable shadow blur only, it works with both fixed blur and variable blur.
* | | | | | | | | Merge pull request #54081 from Rubonnek/add_bin_messages_masterRémi Verschelde2021-10-221-1/+1
|\ \ \ \ \ \ \ \ \