summaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #51866 from requizm/fix/49455Hugo Locurcio2021-08-201-1/+1
|\ | | | | Fix `line_separation` working incorrectly in `RichTextLabel`
| * Fix line_separation constant working incorrectly in RichTextLabelrequizm2021-08-201-1/+1
| |
* | add motion mode to handle TPSfabriceci2021-08-201-0/+13
| |
* | Improve documentation for `String.get_extension()`Hugo Locurcio2021-08-201-1/+11
| |
* | Improvements to SpotLight3D and OmniLight3D's shadowsjfons2021-08-192-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OmniLight3D: * Fixed lack of precision in cube map mode by scaling the projection's znear. * Fixed aliasing issues by making the paraboloids use two square regions instead of two half squares. * Fixed shadowmap atlas bleeding by adding padding. * Fixed sihadow blur's inconsistent radius and unclamped sampling. SpotLight3D: * Fixed lack of precision by scaling the projection's znear. * Fixed normal biasing. Both: * Tweaked biasing to make sure it works out of the box in most situations.
* | Improve the docs for the float typeAaron Franke2021-08-182-1/+9
| |
* | Merge pull request #51627 from mhilbrunner/todo-for-neikeqRémi Verschelde2021-08-181-3/+0
|\ \
| * | Remove underscore hacksMax Hilbrunner2021-08-171-3/+0
| | | | | | | | | | | | | | | | | | Way less cruft. :) Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
* | | Hide TextFile from the APIPaulb232021-08-181-13/+0
| | |
* | | [Net] MultiplayerReplicator with initial state.Fabio Alessandrelli2021-08-182-89/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the former "spawnables" functions to a dedicated MultiplayerReplicator class. Support custom overrides in replicator. Spawn/despawn messages can now contain a state. The state can be automatically encoded/decoded by passing the desired object properties to `spawnable_config`. You can use script properties to optimize the state representation. 2 Callables can be also specified to completely override the default implementation for sending and receiving the spawn/despawn event. (9 bytes overhead, and there's room for improvement here). When using a custom implementation `spawn` and `despawn` can be called with any Object, `send_spawn`/`send_despawn` can receive any Variant as a state, and the path is not required. Two new functions, `spawn` and `despawn`, convey the implementation independent method for requesting a spawn/despawn of an Object, while `send_spawn` and `send_despawn` represent the more low-level send event for a Variant to be used by the custom implementations.
* | | Merge pull request #50752 from Phischermen/indeterminate_checkmark_apiRémi Verschelde2021-08-182-1/+20
|\ \ \ | | | | | | | | Added icons and API for indeterminate checkmarks for the Tree class.
| * | | Added icons and API for indeterminate checkmarks for the Tree class.Kevin Fischer2021-08-162-1/+20
| | | |
* | | | Merge pull request #51787 from akien-mga/string-num-fix-default-decimalsRémi Verschelde2021-08-181-0/+15
|\ \ \ \ | | | | | | | | | | String: Fix default decimals truncation in num and num_real
| * | | | String: Fix default decimals truncation in num and num_realRémi Verschelde2021-08-181-0/+15
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes undefined behavior, and fixes the logic for negative powers of ten. Fixes #51764. Adds tests to validate the changes and prevent regressions. Adds docs for `String.num`.
* | | | Merge pull request #51768 from reduz/fixes-to-mobile-renderer-2Rémi Verschelde2021-08-171-1/+3
|\ \ \ \ | | | | | | | | | | Fixes to mobile renderer
| * | | | Fixes to mobile rendererreduz2021-08-171-1/+3
| | |_|/ | |/| | | | | | | | | | | | | | | | | | * Make sure shaders are named, to aid in debug in case of failure * SceneRenderRD was being wrongly initialized (virtual functions being called when derivative class not initialized). * Fixed some bugs resulting on the above being corrected.
* | | | Merge pull request #51775 from timothyqiu/disable-undo-redoRémi Verschelde2021-08-172-2/+14
|\ \ \ \ | |/ / / |/| | | Improve Undo/Redo menu items
| * | | Improve Undo/Redo menu itemsHaoyu Qiu2021-08-172-2/+14
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make Undo/Redo menu items disabled when clicking it does nothing. * Context menu of `TextEdit` * Context menu of `LineEdit` * Editor's Scene menu * Script editor's Edit menu and context menu (for Script and Text) * Make editor undo/redo log messages translatable. * Mark `UndoRedo`'s `has_{un,re}do()` methods as `const`. * Expose `TextEdit`'s `has_{un,re}do()` to scripts since `{un,re}do()` are already available.
* | | Merge pull request #51793 from KoBeWi/direnamRémi Verschelde2021-08-171-1/+1
|\ \ \ | |/ / |/| | Fix renaming directories
| * | Fix renaming directorieskobewi2021-08-171-1/+1
| | |
* | | Merge pull request #50360 from m4gr3d/address_external_dir_access_masterRémi Verschelde2021-08-171-6/+2
|\ \ \ | |/ / |/| | Add support for Android scoped storage
| * | Add partial support for Android scoped storage.ne0fhyk2021-08-161-6/+2
| |/ | | | | | | | | This is done by providing API access to app specific directories which don't have any limitations and allows us to bump the target sdk version to 30. In addition, we're also bumping the min sdk version to 19 as version 18 is no longer supported by Google Play Services and only account of 0.3% of Android devices.
* | Merge pull request #51651 from pycbouh/editor-merge-custom-themeRémi Verschelde2021-08-171-13/+8
|\ \ | |/ |/| Add support for partial custom editor themes
| * Add support for partial custom editor themesYuri Sizov2021-08-141-13/+8
| |
* | Merge pull request #51645 from fabriceci/improve-physics-apiRémi Verschelde2021-08-166-27/+87
|\ \ | | | | | | API improvement on the physics (CharacterBody and related classes)
| * | API improvement on physics, mainly CharacterBodyfabriceci2021-08-156-27/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: - Rename few methods/property and group them in the editor when it's possible - Make MotionResult API consistency with KinematicCollision - Return a boolean in move_and_slide if there was a collision - New methods: - get_floor_angle on CharacterBody to get the floor angle. - get_angle on KinematicCollision to get the collision angle. - get_last_slide_collision to quickly get the latest collision of move_and_slide.
* | | Merge pull request #51368 from ↵Rémi Verschelde2021-08-1610-14/+1157
|\ \ \ | | | | | | | | | | | | | | | | TwistedTwigleg/GSOC_2020_Working_Branch_IK_SQUASHED New and improved IK system for Skeleton3D - Squashed!
| * | | New and improved IK system for Skeleton3DTwistedTwigleg2021-08-1410-14/+1157
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR and commit adds a new IK system for 3D with the Skeleton3D node that adds several new IK solvers, as well as additional changes and functionality for making bone manipulation in Godot easier. This work was sponsored by GSoC 2020 and TwistedTwigleg Full list of changes: * Adds a SkeletonModification3D resource * This resource is the base where all IK code is written and executed * Adds a SkeletonModificationStack3D resource * This node oversees the execution of the modifications and acts as a bridge of sorts for the modifications to the Skeleton3D node * Adds SkeletonModification3D resources for LookAt, CCDIK, FABRIK, Jiggle, and TwoBoneIK * Each modification is in it's own file * Several changes to Skeletons, listed below: * Added local_pose_override, which acts just like global_pose_override but keeps bone-child relationships intract * So if you move a bone using local_pose_override, all of the bones that are children will also be moved. This is different than global_pose_override, which only affects the individual bone * Internally bones keep track of their children. This removes the need of a processing list, makes it possible to update just a few select bones at a time, and makes it easier to traverse down the bone chain * Additional functions added for converting from world transform to global poses, global poses to local poses, and all the same changes but backwards (local to global, global to world). This makes it much easier to work with bone transforms without needing to think too much about how to convert them. * New signal added, bone_pose_changed, that can be used to tell if a specific bone changed its transform. Needed for BoneAttachment3D * Added functions for getting the forward position of a bone * BoneAttachment3D node refactored heavily * BoneAttachment3D node is now completely standalone in its functionality. * This makes the code easier and less interconnected, as well as allowing them to function properly without being direct children of Skeleton3D nodes * BoneAttachment3D now can be set either using the index or the bone name. * BoneAttachment3D nodes can now set the bone transform instead of just following it. This is disabled by default for compatibility * BoneAttachment3D now shows a warning when not configured correctly * Added rotate_to_align function in Basis * Added class reference documentation for all changes
* | | Fix incorrect inheritance of `VisualShaderNodeParticleAccelerator`Yuri Roubinsky2021-08-161-1/+1
| | |
* | | Added missed limiters for Visual Shader node enumsYuri Roubinsky2021-08-1524-1/+81
|/ /
* | Merge pull request #51636 from Calinou/rename-lineshape2dRémi Verschelde2021-08-142-9/+9
|\ \ | |/ |/| Rename LineShape2D to WorldMarginShape2D
| * Rename LineShape2D to WorldMarginShape2DHugo Locurcio2021-08-142-9/+9
| | | | | | | | | | The new name makes it more obvious that it acts as an infinite plane, and is consistent with its 3D counterpart (WorldMarginShape3D).
* | Merge pull request #51321 from pycbouh/docs-makerst-codestyleRémi Verschelde2021-08-131-1/+2
|\ \ | | | | | | Fix minor code style issues in the RST generator
| * | Fix minor code style issues in the RST generatorYuri Sizov2021-08-061-1/+2
| | |
* | | Merge pull request #51585 from Paulb23/theme-update-optimisationRémi Verschelde2021-08-131-0/+12
|\ \ \ | |_|/ |/| |
| * | Add bulk theme overrides to ControlPaulb232021-08-131-0/+12
| | |
* | | Merge pull request #51025 from reduz/fix-directional-shadow-biasRémi Verschelde2021-08-132-3/+1
|\ \ \ | | | | | | | | Fix directional shadow bias
| * | | Fix directional shadow biasreduz2021-07-292-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Simplified code a lot, bias based on normalized cascade size. * Lets scale cascades, max distance, etc. without creating acne. * Fixed normal biasing in directional shadows. I removed normal biasing in both omni and spot shadows, since the technique can't be easily implemented there. Will need to be replaced by something else.
* | | | Merge pull request #51519 from Chaosus/vs_transform_operatorRémi Verschelde2021-08-132-32/+50
|\ \ \ \ | | | | | | | | | | Changed `TransformMult` node to `TransformOp` in visual shaders
| * | | | Changed `TransformMult` node to `TransformOp` in visual shadersYuri Roubinsky2021-08-112-32/+50
| | | | |
* | | | | Merge pull request #51587 from Calinou/use-unicode-multiplication-symbolRémi Verschelde2021-08-131-5/+5
|\ \ \ \ \ | | | | | | | | | | | | Use the Unicode multiplication symbol where relevant
| * | | | | Use the Unicode multiplication symbol where relevantHugo Locurcio2021-08-121-5/+5
| | |_|/ / | |/| | |
* | | | | Add project setting for agile input event flushingPedro J. Estébanez2021-08-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If enabled, key/touch/joystick events will be flushed just before every idle and physics frame. Enabling this can greatly improve the responsiveness to input, specially in devices that need to run multiple physics frames per each idle frame, because of not being powerful enough to run at the target frame rate. This will only work for platforms using input buffering (regardless event accumulation). Currenly, only Android does so, but could be implemented for iOS in an upcoming PR.
* | | | | Merge pull request #51581 from bruvzg/camera_feed_portRémi Verschelde2021-08-121-0/+53
|\ \ \ \ \ | |/ / / / |/| | | | Port camera feed to the new RenderingServer API.
| * | | | Port camera feed to the new RenderingServer API.bruvzg2021-08-121-0/+53
| | | | |
* | | | | Merge pull request #51579 from Calinou/doc-editorfilesystem-get-file-typeRémi Verschelde2021-08-122-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Fix incorrect descriptions for EditorFileSystem's `get_file_type()`
| * | | | | Fix incorrect descriptions for EditorFileSystem's `get_file_type()`Hugo Locurcio2021-08-122-2/+2
| |/ / / /
* | | | | Merge pull request #50372 from Paulb23/code_edit_breakpoint_fixesRémi Verschelde2021-08-121-0/+5
|\ \ \ \ \ | |/ / / / |/| | | | Fix breakpoint toggle signal not firing when expected
| * | | | Fix breakpoint toggle signal not firing when expectedPaulb232021-08-121-0/+5
| | | | |
* | | | | Merge pull request #51532 from nekomatata/layer-mask-accessorsRémi Verschelde2021-08-1215-115/+108
|\ \ \ \ \ | |/ / / / |/| | | | Uniformize layer names, script methods and documentation