summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-30Harmonize default value for collision mask in ray/shape queriesPouleyKetchoupp
The default mask for queries was 0, 0x7FFFFFFF or 0xFFFFFFFF depending on the cases. Now always using 0xFFFFFFFF (in the form of UINT32_MAX to make it clear) in order to use all layers by default.
2021-08-30Merge pull request #52254 from godotengine/revert-51985-collJuan Linietsky
Revert " Improve collision generation usability in the new 3D scene import workflow."
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-30Merge pull request #52245 from AndreaCatania/AndreaCatania-patch-4Juan Linietsky
EditorPropertyText, pass changing variable false.
2021-08-30Update editor_properties.cppAndrea Catania
2021-08-30EditorPropertyText, pass changing variable false.Andrea Catania
When the `EditorPropertyText` change is triggered, it pass the `changing` as true, while there is an early return that blocks such event to be emitted when the Editor is updating. This commit aligns the early return with the passes parameter.
2021-08-30Merge pull request #50365 from timothyqiu/ip-candidatesFabio Alessandrelli
Try other resolved IPs if one fails to connect
2021-08-30Try other resolved IPs if one fails to connectHaoyu Qiu
2021-08-30Merge pull request #51481 from Faless/mp/4.x_no_pupFabio Alessandrelli
[Net] Rename RPC "puppet" to "auth", drop "master".
2021-08-30[GDScript] [Net] Allow mixing rpc annotation paramters.Fabio Alessandrelli
The strings no longer needs to be in order. The last parameter (channel), still requires all the other parameters to be present.
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-30Merge pull request #51788 from Faless/mp/4.x_replicator_syncFabio Alessandrelli
[Net] MultiplayerReplicator state sync.
2021-08-29Merge pull request #30391 from KoBeWi/hiding_childrenJuan Linietsky
Add support for internal nodes
2021-08-29Merge pull request #52235 from godotengine/revert-47635-node2d3d-transformJuan Linietsky
Revert "Display a matrix for Node2D and don't display a duplicate origin"
2021-08-29Revert "Display a matrix for Node2D and don't display a duplicate origin"Juan Linietsky
2021-08-29Merge pull request #47635 from aaronfranke/node2d3d-transformAaron Franke
Display a matrix for Node2D and don't display a duplicate origin
2021-08-29Display a matrix for Node2D and don't display a duplicate originAaron Franke
2021-08-28Merge pull request #52180 from timothyqiu/config-file-propHugo Locurcio
Quote and escape ConfigFile keys when necessary
2021-08-28Merge pull request #52198 from mhilbrunner/fix-array-docHugo Locurcio
2021-08-28Merge pull request #52085 from williamd67/fix-await-without-argumentHugo Locurcio
Print error message when await is not followed by signal or coroutine
2021-08-28Fix Array class docs after #47406Max Hilbrunner
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 #47406 from mashumafi/master-Array-insert-rcMax Hilbrunner
Array::insert consistent with Pool*Array::insert
2021-08-28Merge pull request #52164 from mhilbrunner/gd-style-fixupMax Hilbrunner
GDScript test style fix
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 #43522 from qarmin/divide_by_zero_in_vectoriMax Hilbrunner
Fix crash when dividing by 0 in Vector2/3i
2021-08-28Merge pull request #52176 from BastiaanOlij/fix_gl_size_paramMax Hilbrunner
Fix double named size parameter
2021-08-28Merge pull request #51906 from requizm/fix/49077Michael Alexsander
Fix tooltips don't appear for PopupMenus
2021-08-28Print error message when await is not followed by signal or coroutineWilliam Deurwaarder
When await was not followed by a signal or coroutine the GDScript parser would crash. This fix will check if await is followed by a signal or coroutine in case that isn't true (element == nullptr) then an error message is printed.
2021-08-28Quote and escape ConfigFile keys when necessaryHaoyu Qiu
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-28Fix double named size parameterBastiaan Olij
2021-08-28Merge pull request #52070 from nekomatata/area-point-gravity-fixFabio Alessandrelli
Fix point gravity calculation
2021-08-28Add support for internal nodeskobewi
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 #52122 from V-Sekai/autoload_listK. S. Ernest (iFire) Lee
Use sorted map for autoloads in ProjectSettings to preserve order.
2021-08-27Merge pull request #51962 from LoipesMas/zoom_fixMax Hilbrunner
Clamp EditorZoomWidget zoom
2021-08-27GDScript test style fixMax Hilbrunner
2021-08-27Merge pull request #52090 from balloonpopper/bug52060Max Hilbrunner
Correct null and boolean values being capitalised by the str command
2021-08-27Merge pull request #52096 from kleonc/tree-item-drag-drop-drawingMax Hilbrunner
Tree Fix line rendering when drag and dropping TreeItem
2021-08-27Merge pull request #51296 from ellenhp/mix_in_audio_serverJuan Linietsky
Move mixing out of the AudioStreamPlayback* nodes
2021-08-27Merge pull request #52135 from fabriceci/fix-transmission-velocity-on-wall-4Camille Mohr-Daurat
Remove velocity transmission on_wall when collider is CharacterBody.
2021-08-27Merge pull request #48550 from nekomatata/concave-shape-optimizationCamille Mohr-Daurat
Optimize area detection and intersect_shape queries with concave shapes
2021-08-27Do all audio mixing in the AudioServerEllen Poe
2021-08-27Merge pull request #52105 from ldmnt/masterHugo Locurcio
2021-08-27Require AudioStream::mix to return the number of frames successfully mixedEllen Poe
2021-08-27Add a SafeList data structure for future audio server usage.Ellen Poe
2021-08-27Optimize area detection and intersect_shape queries with concave shapesPouleyKetchoupp
Whenever contact points are not needed, collision checks with concave shapes (triangle mesh and heightmap) stop at the first colliding triangle.
2021-08-27Merge pull request #51908 from bruvzg/msdf_fonts2K. S. Ernest (iFire) Lee
Make FontData importable resource. Add multi-channel SDF font rendering.