summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2021-08-18Hide TextFile from the APIPaulb23
2021-08-18Adjust the material key bit size for ParticlesMaterialYuri Sizov
2021-08-18[Net] MultiplayerReplicator with initial state.Fabio Alessandrelli
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.
2021-08-18Merge pull request #50752 from Phischermen/indeterminate_checkmark_apiRémi Verschelde
Added icons and API for indeterminate checkmarks for the Tree class.
2021-08-17Fixed magnet vector not working correctly in SkeletonModification2DFABRIKTwistedTwigleg
2021-08-18Merge pull request #51798 from nekomatata/fix-skeleton-child-bonesRémi Verschelde
2021-08-17Merge pull request #51775 from timothyqiu/disable-undo-redoRémi Verschelde
Improve Undo/Redo menu items
2021-08-17Fix Skeleton3D regression when bones are not sorted from root to leavesPouleyKetchoupp
Tentative fix for missing bones when bones are not sorted as expected. For example, if the root comes last, all child bones are removed and the skeleton ends up with just the root.
2021-08-17Fix 3D character snap on moving platformsPouleyKetchoupp
Applying the platform velocity when leaving the platform floor should be done after snapping to keep things consistent, like it's done in 2D.
2021-08-17Improve Undo/Redo menu itemsHaoyu Qiu
* 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.
2021-08-17Merge pull request #51651 from pycbouh/editor-merge-custom-themeRémi Verschelde
Add support for partial custom editor themes
2021-08-17Merge pull request #51742 from fabriceci/jitter-fix-and-cleaningRémi Verschelde
Correct jitter in move and slide 2D
2021-08-17Merge pull request #51760 from requizm/fix/deleteallselectionRémi Verschelde
Deletion occurs when all text is selected
2021-08-17fix bug on window notification propagationJihyun Yu
2021-08-17We can delete all text on TextEditrequizm
While all text of TextEdit was selected, deletion with backspace did not occur. It can now be deleted.
2021-08-16Added icons and API for indeterminate checkmarks for the Tree class.Kevin Fischer
2021-08-16Merge pull request #51698 from Paulb23/text-editor-settingsRémi Verschelde
Reorganise text editor settings
2021-08-16Reorganise text editor settingsPaulb23
2021-08-16Correct jitter and clean codefabriceci
2021-08-16Merge pull request #51645 from fabriceci/improve-physics-apiRémi Verschelde
API improvement on the physics (CharacterBody and related classes)
2021-08-16Merge pull request #51731 from timothyqiu/menu-button-signalRémi Verschelde
Fix `MenuButton` not emitting `about_to_popup` signal
2021-08-16Merge pull request #51368 from ↵Rémi Verschelde
TwistedTwigleg/GSOC_2020_Working_Branch_IK_SQUASHED New and improved IK system for Skeleton3D - Squashed!
2021-08-16Fix MenuButton not emitting about_to_popup signalHaoyu Qiu
2021-08-16Merge pull request #51673 from Vignesh1-art/masterRémi Verschelde
Fixed crash executing TextEdit.new().set_draw_control_chars(true)
2021-08-16Fix incorrect inheritance of `VisualShaderNodeParticleAccelerator`Yuri Roubinsky
2021-08-16Merge pull request #50159 from Calinou/standardmaterial3d-add-shader-commentRémi Verschelde
Add a comment at the top of generated shaders
2021-08-16Merge pull request #51608 from clayjohn/Vulkan-Panorama-sky-hintRémi Verschelde
Use hint_albedo in SkyMaterials
2021-08-16Fixed crash executing TextEdit.new().set_draw_control_chars(true)Vignesh1-art
Fixes #51613.
2021-08-16Merge pull request #51701 from theoway/updates_node_arranger_iconRémi Verschelde
Changes the icon of node arranger in GraphEdit & editor
2021-08-16Merge pull request #51249 from kleonc/tab_container-fix-disconnecting-errorsRémi Verschelde
TabContainer: Fix error on removing top-level Control child, Remove _get_tab method
2021-08-16Changes the icon of node arranger in GraphEdit/VisualScript/VisualShaderUmang Kalra
2021-08-16Add a comment at the top of generated shadersHugo Locurcio
This comment is useful to determine the origin of ShaderMaterials converted from built-in material types (such as CanvasItemMaterial or StandardMaterial3D). The Godot version is also included in case the shader needs to be regenerated with a newer engine version.
2021-08-15Added missed limiters for Visual Shader node enumsYuri Roubinsky
2021-08-15Merge pull request #51512 from Bhu1-V/PR/cmd-fixRémi Verschelde
command palette improvements
2021-08-15API improvement on physics, mainly CharacterBodyfabriceci
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.
2021-08-15command palette improvementsBhuvan Vemula
2021-08-14New and improved IK system for Skeleton3DTwistedTwigleg
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
2021-08-14Merge pull request #51660 from AnilBK/use-short-functionsRémi Verschelde
Use get_global_* functions instead of using transforms.
2021-08-14Merge pull request #50147 from aaronfranke/disable-node3dRémi Verschelde
Disable Node3D when compiling without 3D and fix disable_3d option
2021-08-14Use get_global_* functions instead of using transforms.Anilforextra
2021-08-14Merge pull request #51636 from Calinou/rename-lineshape2dRémi Verschelde
Rename LineShape2D to WorldMarginShape2D
2021-08-14Rename LineShape2D to WorldMarginShape2DHugo Locurcio
The new name makes it more obvious that it acts as an infinite plane, and is consistent with its 3D counterpart (WorldMarginShape3D).
2021-08-14Add support for partial custom editor themesYuri Sizov
2021-08-13Merge pull request #51642 from akien-mga/cleanup-use_single_quotesRémi Verschelde
2021-08-13Merge pull request #51585 from Paulb23/theme-update-optimisationRémi Verschelde
2021-08-13Merge pull request #50609 from bruvzg/te_block_caretRémi Verschelde
[TextEdit] Improve block/insert caret drawing.
2021-08-13Style: Cleanup code using `text_editor/completion/use_single_quotes`Rémi Verschelde
2021-08-13Merge pull request #51630 from Chaosus/fix_completion_popup_sizeYuri Roubinsky
2021-08-13Only update TextEdit text cache when dirtyPaulb23
2021-08-13Move CodeEdit theme overrides into EditorThemePaulb23