summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2021-10-15Merge pull request #53822 from vnen/gdscript-await-issuesRémi Verschelde
Fix a few issues with await in GDScript
2021-10-14GDScript: Fix typing for await expressionGeorge Marques
Don't grab the type of the awaited value unless it's constant (which makes it synchronous) or call (which always use the proper return type).
2021-10-14GDScript: Remove error when coroutine is called without awaitGeorge Marques
In the case the call happens as a statement, since the return value isn't used in this case.
2021-10-14GDScript: Properly return value with await on non-coroutineGeorge Marques
If the keyword `await` is used without a coroutine, it should still return the value synchronally.
2021-10-14GDScript: Make sure calls don't use return when not neededGeorge Marques
2021-10-14Fix specific warnings issues by ClangK. S. Ernest (iFire) Lee
Found by `scons dev=yes` on llvm-mingw.
2021-10-14Merge pull request #53807 from vnen/dont-share-arrays-and-dictsRémi Verschelde
2021-10-14Zero Dictionary and Array variants when changing type with resetGeorge Marques
So they don't reference to the old values anymore and instead refer to a new value.
2021-10-14Merge pull request #53726 from briansemrau/gd-outer-classGeorge Marques
GDScript 2.0: Access outer scope classes
2021-10-13GDScript: Access outer scope classesBrian Semrau
2021-10-13Restore gltf animation export after split.K. S. Ernest (iFire) Lee
2021-10-13Remove REST transform influence in skeleton bonesreduz
* Animations and Skeletons are now pose-only. * Rest transform is kept as reference (when it exists) and for IK * Improves 3D model compatibility (non uniform transforms will properly work, as well as all animations coming from Autodesk products).
2021-10-13Merge pull request #53689 from reduz/remove-animation-transform3d-trackRémi Verschelde
2021-10-13Merge pull request #53744 from williamd67/GPULightmapper-prevent-endless-loopRémi Verschelde
2021-10-13Merge pull request #53743 from williamd67/GPULightmapper-process-rays-to-skyRémi Verschelde
2021-10-13Merge pull request #53322 from ↵Rémi Verschelde
williamd67/GPULightmapper-skip-smoothen-positions-flat-triangle
2021-10-12Remove animation 3D transform track, replace by loc/rot/scale tracks.reduz
* `Animation.TYPE_TRANSFORM3D` track is gone. * Added POSITION_3D, ROTATION_3D, SCALE_3D tracks. * GLTF2, Collada, FBX importers will only import the track types found. * Skeleton3D bone poses are now Pos/Rot/Scale, pose matrix removed. * AnimationPlayer and AnimationTree animate these tracks separately, only when found. * Removed BakeReset code, is useless with these changes. This is the first in a series of commits designed to make the animation system in Godot more useful, which includes: * Better compatibility with Autodesk products * Better reusability of animations across models (including retargeting). * Proper animation compression. * etc. *Note* GLTF2 animation saving went broken with this PR, needs to be fixed in a subsequent one.
2021-10-12GPULightmapper: prevent loop with max iterationsWilliam Deurwaarder
In case the calculation of the delta contained infinity values (division by zero), than later the calculation of the next cell failed as the infinity value was multiplied by zero which resulted in a nan. The nan-value caused that the next cell was equal to the current cell which resulted in an end-less loop, which only terminates by the maximum iterations protection. This is solved by replacing infinity with grid_size which acts as infinity.
2021-10-12GPULightmapper: process rays to sky in all bounces as activeWilliam Deurwaarder
Before this change only rays to the sky (RAY_MISS) in the first bounce were processed as active rays. This caused artifacts, areas were too light, when more than one bounce were processed. Now rays to the sky are processed as active rays for all bounces.
2021-10-12Merge pull request #53712 from CakHuri/nullptrRémi Verschelde
Replace NULL with nullptr
2021-10-12GPULightmapper: skip smoothen positions for flat trianglesWilliam Deurwaarder
Smoothening positions for flat, non-smoothened, triangles is unnecessary and caused positions to move outside their triangle which caused side-effects as rays from those positions intersected with triangles which could not be reached from the original triangle. This is solved by skipping smoothening of positions for flat triangles. A triangle is determined to be flas as its vertex normals are equal.
2021-10-12Merge pull request #53720 from vnen/gdscript-typed-array-custom-classRémi Verschelde
2021-10-12GDScript: Fix typed array with custom classesGeorge Marques
2021-10-12Replaced NULL with nullptrM. Huri
2021-10-12GDScript: Make setter parameter type same as variable typeGeorge Marques
2021-10-12Merge pull request #53697 from bruvzg/ts_string_namesRémi Verschelde
2021-10-12Move static feature set and number system `StringName`s to the singleton.bruvzg
Remove `hb_` prefix from the custom bitmap font functions to avoid potential conflicts with the HarfBuzz. Cleanup commented debug code. Update numbering system data to CLDR 39.
2021-10-12Merge pull request #52736 from aaronfranke/lgtm-multRémi Verschelde
Fix some LGTM errors of "Multiplication result converted to larger type"
2021-10-12Fix some LGTM errors of "Multiplication result converted to larger type"Aaron Franke
2021-10-12Fixed a typo in csg moduleM. Huri
2021-10-11Revert "Implement reverse playback and ping-pong loop in AnimationPlayer and ↵Juan Linietsky
NodeAnimation"
2021-10-11Merge pull request #48332 from TokageItLab/implement-ping-pongRémi Verschelde
2021-10-11Merge pull request #53681 from Paulb23/rejig-syntax-highligher-bindRémi Verschelde
Move add_syntax_highlighter bind to ScriptEditorBase
2021-10-11Merge pull request #53647 from Chaosus/gds_fix_builtin_functions_autocompletionYuri Roubinsky
2021-10-11Move add_syntax_highlighter bind to ScriptEditorBasePaulb23
2021-10-11Fix autocompletion of built-in functions in GDScriptYuri Roubinsky
2021-10-11Merge pull request #53430 from DavidSichma/typed_safe_setterGeorge Marques
Made typed member setters safe
2021-10-11Merge pull request #53103 from ZuBsPaCe/gdscript-analyze-properties-fixGeorge Marques
GDScript: Report property type errors
2021-10-11Remove redundant String operation from GDScript enum exportsYuri Sizov
2021-10-09implement ping-pong loop in animationTokage
Co-authored-by: Chaosus <chaosus89@gmail.com>
2021-10-09Enhance and cleanup stringify for Vectormashumafi
2021-10-09Fix missing argument names in bindingsRémi Verschelde
While at it, tweak some boolean setters to use `p_enabled` for the bool. Also renames `draw_minimap()` to `set_draw_minimap()`.
2021-10-08Only emit typed member setters if safe to do soDavid Sichma
Instructions are now only emitted if input type matches expected type. Otherwise usual setter fallback.
2021-10-08GDScript: Report property type errorsZuBsPaCe
Inline getters & setters are now FunctionNodes. Their names are set in the parser, not in the compiler. GDScript-Analyzer will now run through getter and setter. Also report wrong type or signature errors regarding getset properties. Added GDScript tests for getters and setters. #53102
2021-10-08Merge pull request #53536 from Faless/mp/4.x_rpc_configMax Hilbrunner
[Net] Add call_local argument to Node.rpc_config.
2021-10-08Merge pull request #53336 from briansemrau/gdscript-i'm-not-my-own-local-classGeorge Marques
[GDScript 2.0] fix script base class self-assignment
2021-10-08[Net] Rename RPCConfig.sync to call_local.Fabio Alessandrelli
For consistency with the other user facing changes.
2021-10-07GDScript: Use getter return type for the property typeGeorge Marques
The PropertyInfo hints are more relevant for the inspector. The getter return type is more reliable and less likely to be incorrect and it is what's going to be called in the end.
2021-10-07Merge pull request #53422 from KoBeWi/add_LUA_to_GodotRémi Verschelde
2021-10-07Merge pull request #53545 from vnen/gdscript-releaseRémi Verschelde