summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2021-09-07Merge pull request #52145 from LeaoLuciano/linkbutton-translation-4.0Max Hilbrunner
LinkButton's text now is automatically translated
2021-09-07Merge pull request #52339 from jmb462/fix-fold-function-with-comment-failMax Hilbrunner
Fix wrong folding behaviour of last block if containing comment
2021-09-07Merge pull request #52359 from williamd67/fix-autocomplete-mergeMax Hilbrunner
Fix incorrectly removing two characters by auto brace
2021-09-07Merge pull request #52436 from ↵Max Hilbrunner
daniel-mcclintock/fix-out-of-bounds-completion-crash Fix crash during completion lookback
2021-09-07Merge pull request #52442 from Faless/mp/4.x_rpc_managerMax Hilbrunner
[Net] Move multiplayer classes to own subfolder. Split RPC from MultiplayerAPI.
2021-09-07Merge pull request #52392 from Shatur/fix-readyMax Hilbrunner
Remove extra get_script_instance check
2021-09-07Merge pull request #52277 from groud/implement_array_property_hintJuan Linietsky
Implement properties arrays in the Inspector.
2021-09-07[Net] Move multiplayer to core subdir, split RPCManager.Fabio Alessandrelli
Move multiplayer classes to "core/multiplayer" subdir. Move the RPCConfig and enums (TransferMode, RPCMode) to a separate file (multiplayer.h), and bind them to the global namespace. Move the RPC handling code to its own class (RPCManager). Renames "get_rpc_sender_id" to "get_remote_sender_id".
2021-09-07Merge pull request #52050 from nobuyukinyuu/bind-get-tab-idx-at-point-40Gilles Roudière
Bind TabContainer::get_tab_idx_at_point() to ClassDB
2021-09-07Implement properties arrays in the Inspector.Gilles Roudière
2021-09-06Proper support for custom mass properties in 2D/3D physics bodiesPouleyKetchoupp
Changes: -Added support for custom inertia and center of mass in 3D -Added support for custom center of mass in 2D -Calculated center of mass from shapes in 2D (same as in 3D) -Fixed mass properties calculation with disabled shapes in 2D/3D -Removed first_integration which is not used in 2D and doesn't seem to make a lot of sense (prevents omit_force_integration to work during the first frame) -Support for custom inertia on different axes for RigidBody3D
2021-09-06Merge pull request #52286 from nekomatata/restore-kinematic-bodyCamille Mohr-Daurat
Add AnimatableBody inherited from StaticBody for moving platforms
2021-09-06Merge pull request #35859 from Calinou/minimap-add-hover-pressed-feedbackGilles Roudière
Add visual feedback when hovering or dragging the code minimap grabber
2021-09-06Fix crash during completion lookbackdaniel-mcclintock
2021-09-06Merge pull request #52435 from groud/fix_crash_in_tilemap_physicsGilles Roudière
Fix crash in TileMap physics
2021-09-06Fix crash in TileMap physicsGilles Roudière
2021-09-05Prevent editing properties managed by parent containerAwkor
2021-09-05Fix comment causes content of folded methods to not hidejmb462
2021-09-05Apply set_read_only() to child classes of EditorProperty elementsSilc 'Tokage' Renew
2021-09-04Remove extra get_script_instance checkHennadii Chernyshchyk
Otherwise, `_ready()` will not be called on classes that define this function and doesn't have a script attached.
2021-09-04Add visual feedback when hovering or dragging the code minimap grabberHugo Locurcio
This makes it more obvious that the minimap grabber can be dragged to scroll.
2021-09-03Fix incorrectly removing two characters by auto braceWilliam Deurwaarder
In some situations when there were no braces auto brace still removed two characters. This has been fixed by adding a test that a brace is found.
2021-09-02Changed Window current_screen parameter from string to intJestemStefan
2021-09-01Merge pull request #38722 from KoBeWi/propositionGilles Roudière
Add offset for TextureProgress progress texture
2021-09-01Add offset for TextureProgress progress texturekobewi
2021-09-01TabContainer Fix drawing current tab when it's disabledkleonc
2021-08-31Add AnimatableBody inherited from StaticBody for moving platformsPouleyKetchoupp
Instead of having a physics node named Static that can be either Static or Kinematic, AnimatableBody is added again as a separate node: -Inherited from StaticBody to make its usage clearer -Still separated from CharacterBody to make its usage more focused Properly implemented constant velocity for kinematic bodies in godot physics servers (induced velocity without actually moving). Also updated description for the different physics nodes to make their usage clearer.
2021-08-31Merge pull request #49471 from nekomatata/body-state-sync-callbackJuan Linietsky
Clean physics direct body state usage in 2D and 3D physics
2021-08-31Merge pull request #52279 from fabriceci/delta-doubleCamille Mohr-Daurat
Change delta type to double in Physics_body_2/3D
2021-08-31Merge pull request #51364 from bengtsts/masterCamille Mohr-Daurat
Expose soft body pin methods to GDScript
2021-08-31delta time as doublefabriceci
2021-08-31Change platform detection by allowing select layers by type (wall or floor)fabriceci
2021-08-30Merge pull request #52240 from Rubonnek/rename-rel-pathJuan Linietsky
Rename `String::is_rel_path` to `String::is_relative_path`
2021-08-30Expose soft body pin methods to GDScriptBengt Söderström
2021-08-30Revert " Improve collision generation usability in the new 3D scene import ↵Juan Linietsky
workflow."
2021-08-30Merge pull request #51985 from AndreaCatania/collCamille Mohr-Daurat
Improve collision generation usability in the new 3D scene import workflow.
2021-08-29Rename String::is_rel_path to String::is_relative_pathWilson E. Alvarez
2021-08-30[Net] Rename RPC "puppet" to "auth" (authority). Drop "master".Fabio Alessandrelli
This commit completely removes the RPC_MODE_MASTER ("master" keyword), and renames the RPC_MODE_PUPPET to RPC_MODE_AUTHORITY ("auth" keyword). This commit also renames the "Node.[get|set]_network_master" methods to "Node.[get|set]_network_authority". This commit also renames the RPC_MODE_REMOTE constant to RPC_MODE_ANY. RPC_MODE_MASTER in Godot 3.x meant that a given RPC would be callable by any puppet peer on the master, while RPC_MODE_PUPPET meant that it would be callable by the master on any puppet. Beside proving to be very confusing to the user (referring to where it could be called instead of who can call it) the RPC_MODE_MASTER is quite useless. It is almost the same as RPC_MODE_REMOTE (anyone can call) with the exception that the network master cannot. While this could be useful to check in some case, in such a function you would anyway need to check in code who is the caller via get_rpc_sender_id(), so adding the check there for those rare cases does not warrants a dedicated mode.
2021-08-29Merge pull request #30391 from KoBeWi/hiding_childrenJuan Linietsky
Add support for internal nodes
2021-08-29Revert "Display a matrix for Node2D and don't display a duplicate origin"Juan Linietsky
2021-08-29Display a matrix for Node2D and don't display a duplicate originAaron Franke
2021-08-29Bind TabContainer::get_tab_idx_at_point() to ClassDBnobuyuki_nyuu
2021-08-28Merge pull request #49664 from nekomatata/fix-editable-duplicatedMax Hilbrunner
Fix loading packed scene with editable children at runtime
2021-08-28Merge pull request #43573 from lewiji/masterMax Hilbrunner
sprite_3d.cpp: return _is_playing() from public is_playing() function
2021-08-28Merge pull request #51906 from requizm/fix/49077Michael Alexsander
Fix tooltips don't appear for PopupMenus
2021-08-28Improve collision generation usability in the new 3D scene import workflow.AndreaCatania
With this PR it's possible to add a collision during the Mesh import, directly in editor. To generate the shape is possible to chose between the following options: - Decompose Convex: The Mesh is decomposed in one or many Convex Shapes (Using the VHACD library). - Simple Convex: Is generated a convex shape that enclose the entire mesh. - Trimesh: Generate a trimesh shape using the Mesh faces. - Box: Add a primitive box shape, where you can tweak the `size`, `position`, `rotation`. - Sphere: Add a primitive sphere shape, where you can tweak the `radius`, `position`, `rotation`. - Cylinder: Add a primitive cylinder shape, where you can tweak the `height`, `radius`, `position`, `rotation`. - Capsule: Add a primitive capsule shape, where you can tweak the `height`, `radius`, `position`, `rotation`. It's also possible to chose the generated body, so you can create: - Rigid Body. - Static Body. - Area.
2021-08-28Add support for internal nodeskobewi
2021-08-27LinkButton's text now is automatically translatedLeaoLuciano
2021-08-27Fix loading packed scene with editable children at runtimePouleyKetchoupp
At runtime, packed scenes with nodes marked as editable instance where saved with node type tags, which prevented the scene to be then loaded as an instance, causing duplicated nodes in the tree. This change ensures nodes marked as editable instances and their owned children are properly set as instances. That doesn't make a difference in the editor, since such nodes where already set as instances based on their instance state, but it helps at runtime where instance states are disabled. Co-authored-by: latorril <latorril@gmail.com>
2021-08-27Merge pull request #52096 from kleonc/tree-item-drag-drop-drawingMax Hilbrunner
Tree Fix line rendering when drag and dropping TreeItem