summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2021-07-24Merge pull request #50757 from aaronfranke/simple-cs-editorconfigIgnacio Roldán Etcheverry
Add a simple C# `.editorconfig`
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-23Add a simple C# .editorconfigAaron Franke
2021-07-23Merge pull request #50748 from JFonS/gizmo_reworkRémi Verschelde
Node3D gizmo improvements
2021-07-23Merge pull request #50779 from DavidCambre/Revert-unnecessary-changesRémi Verschelde
Revert unnecessary changes to VisualScriptEmitSignal
2021-07-23Node3D gizmo improvementsjfons
* Clean-up of node_3d_editor_plugin.{h,cpp}: removed unused code, fixed some bugs. * Moved node_3d_editor_gizmos.{h,cpp} to editor/plugins. * Added support for multiple gizmos per node. This means custom gizmos will no longer override the built-in ones and that multiple gizmos can be used in more complex nodes. * Added support for handle IDs. When adding handles to a gizmo, an ID can be specified for each one, making it easier to work with gizmos that have a variable number of handles. * Added support for subgizmos, selectable elements that can be transformed without needing a node of their own. By overriding _subgizmo_intersect_frustum() and/or _subgizmo_intersect_ray() gizmos can define which subgizmos should be selected on a region or click selection. Subgizmo transformations are applied using get/set/commit virtual methods, similar to how handles work.
2021-07-23Revert unnecessary changes to VisualScriptEmitSignalDavid Cambré
Revert unnecessary changes to VisualScriptEmitSignal, commit 2032b56005b2f6add6b105a00f04c05f9b292eec
2021-07-23Fix GLTF crash when the material is not set.Andrea Catania
Sometimes there are meshes that doesn't have materials, so make sure to check this case before extracting the name.
2021-07-22Merge pull request #50704 from dsnopek/webrtc-gdnative-versionRémi Verschelde
Update GDNative API version for changes from #50659
2021-07-22Improve documentation for GDScript constantsHugo Locurcio
2021-07-21Update GDNative API version for changes from #50659David Snopek
2021-07-21Merge pull request #50688 from AndreaCatania/AndreaCatania-patch-4Rémi Verschelde
Set the surface name when GLTF file is imported.
2021-07-21Merge pull request #48972 from ↵Rémi Verschelde
DavidCambre/Expose_VisualScriptCustomNode_TypeHints_m
2021-07-21Merge pull request #50686 from Calinou/use-standard-inf-nan-constantsRémi Verschelde
Use the standard C `INFINITY` and `NAN` constants directly
2021-07-21Set the surface name when GLTF file is imported.Andrea Catania
2021-07-21Merge pull request #49749 from ↵Rémi Verschelde
DavidCambre/VisualScriptFunction_Call_Set_Get_Improvement-2 VisualScriptFunctionNodes Improvements
2021-07-21Merge pull request #50521 from aaronfranke/iseqapproxRémi Verschelde
Use `is_equal_approx` in more places
2021-07-21expose type hints for VisualScriptCustomNodeDavid Cambré
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
2021-07-21Use the standard C `INFINITY` and `NAN` constants directlyHugo Locurcio
The `Math_INF` and `Math_NAN` defines were just aliases for those constants, so we might as well use them directly. Some portions of the code were already using `INFINITY` directly.
2021-07-21Improve and streamline VisualScriptFuncNodes Call Set GetDavid Cambré
This PR improves and streamlines the workflow for VisualScriptFunctionNodes Call Set Get Uniform design. Drag in set-get from tree is now working. Removes redundant method_select popup.
2021-07-21WebXR: Fix build after SNAME additionRémi Verschelde
Was missed as WebXR build was disabled prior to #50563.
2021-07-21Merge pull request #50563 from dsnopek/webxr-enable-ciRémi Verschelde
Re-enable building WebXR in GitHub Actions
2021-07-21Use is_equal_approx in more placesAaron Franke
2021-07-21Merge pull request #50658 from dsnopek/webrtc-get-buffered-amountFabio Alessandrelli
Add get_buffered_amount() to WebRTCDataChannel
2021-07-20Fix visual script iconsNick Huelin
This pull request fixes an issue where the visual script icons weren't representative of their data.
2021-07-20Add get_buffered_amount() to WebRTCDataChannelDavid Snopek
2021-07-20Merge pull request #49882 from Faless/mp/4.x_rpc_gdFabio Alessandrelli
[Net] New `@rpc` annotation, "sync" is no longer part of mode.
2021-07-20Merge pull request #50581 from DavidCambre/VisualScript-Drop-Custom-NodesRémi Verschelde
Allow dropping custom node scripts in VisualScript editor
2021-07-20[Net] Single `rpc` annotation. "sync" no longer part of mode.Fabio Alessandrelli
- Move the "sync" property for RPCs to RPCConfig. - Unify GDScript annotations into a single one: - `@rpc(master)` # default - `@rpc(puppet)` - `@rpc(any)` # former `@remote` - Implement three additional `@rpc` options: - The second parameter is the "sync" option (which also calls the function locally when RPCing). One of "sync", "nosync". - The third parameter is the transfer mode (reliable, unreliable, ordered). - The third parameter is the channel (unused for now).
2021-07-19Ensure KinematicBodies only interact with other Bodies with matching mask.Marcel Admiraal
2021-07-19Merge pull request #50566 from reduz/optimize-stringname-usageRémi Verschelde
Optimize StringName usage
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
2021-07-18Prevents some warnings from appearing in visual scriptsYuri Roubinsky
2021-07-18VisualScript-Drop-Custom-NodesDavid Cambré
Allows to drop custom node scripts directly in VisualScript
2021-07-17Fix "IDHandler.get_prop is not a function" error when calling some methods ↵David Snopek
on WebRTCDataChannel
2021-07-17Re-enable building WebXR in GitHub ActionsDavid Snopek
2021-07-17Expose the resource name the client used to the websocket serverMeriipu
This information is exposed to the websocket server through the client_connected-signal. example.com/chat?id=10 gives the resource name "/chat?id=10"
2021-07-16Enable range coder compression by default in NetworkedMultiplayerENetHugo Locurcio
From empirical testing, this seems to provide the best compression compared to other compression algorithms when used in the Multiplayer Bomber demo. Other algorithms may provide better compression ratios for more complex games, but some compression is probably better than no compression. Zstandard was also not very efficient in my testing, so I added a note in the documentation.
2021-07-15Merge pull request #50480 from Faless/js/4.x_ciRémi Verschelde
2021-07-15[HTML5] Fix build (with module_webxr_enabled=no).Fabio Alessandrelli
The XR API changed a bit, and it's not just a rename, though probably an easy update for someone who is qualified :).
2021-07-15Mono: Remove info dialog discouraging use in productionRémi Verschelde
While there are still various bugs to solve and features to implement, the C# support as of Godot 3.4 is fairly mature and already used by a number of users in production. Now that we default to dotnet CLI as build tool, it also seems to be more reliable than MSBuild. The documentation can (and does for the most part) point out some caveats that users should be aware of, but this info dialog has outlived its intended purpose.
2021-07-15Misc cleanup of header includesRémi Verschelde
Was looking for misuse of module headers without checking that the module is actually enabled and got carried away...
2021-07-13Document remaining Visual Script classesTomasz Chabora
2021-07-13Merge pull request #47604 from christinoleo/masterRémi Verschelde
Separate underscore from grapheme punctuation to enable doubleclick and caret jump over snakecase variables in editor
2021-07-13Merge pull request #50381 from reduz/implement-disable-classesRémi Verschelde
Implement the ability to disable classes
2021-07-13Separate underscore from grapheme punctuation to enable doubleclick and ↵Leonardo Christino
caret jump over snakecase variables in editor
2021-07-13Implement the ability to disable classesreduz
* This PR adds the ability to disable classes when building. * For now it's only possible to do this via command like: `scons disable_classes=RayCast2D,Area3D` * Eventually, a proper UI will be implemented to create a build config file to do this at large scale, as well as detect what is used in the project.
2021-07-13Merge pull request #50086 from Geometror/label-improve-layout-optionsRémi Verschelde
Improvements to Label's layout options
2021-07-12Merge pull request #50262 from nekomatata/convex-hull-simplificationRémi Verschelde
Options to clean/simplify convex hull generated from mesh
2021-07-12[Net] Rename WebRTCMultiplayer to WebRTCMultiplayerPeer.Fabio Alessandrelli