summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
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
2021-10-07GDScript: Fix method ptrcall on releaseGeorge Marques
2021-10-07Replace references to VisualServer in code comments with RenderingServerHugo Locurcio
VisualServer no longer exists in the `master` branch.
2021-10-07Merge pull request #53494 from mhilbrunner/stop-drop-and-dont-lieRémi Verschelde
Fix outdated no_call_local, use call_remote
2021-10-06GDScript: Set status on parsing steps beforehandGeorge Marques
To avoid potential dependency cycles. If any happens it will not get into infinite recursion anymore and errors will cascade later on.
2021-10-06Fix outdated no_call_local, use call_remoteMax Hilbrunner
2021-10-06Merge pull request #45699 from TokageItLab/implement-skeleton-editor-gizmoRémi Verschelde
Implement Skeleton Editor Gizmo
2021-10-06Merge pull request #53479 from vnen/gdscript-subscript-object-selfRémi Verschelde
2021-10-06Merge pull request #53478 from vnen/gdscript-avoid-hard-inferenceRémi Verschelde
2021-10-07Implemented SkeletonEditorGizmoSilc Renew
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2021-10-06GDScript: Allow subscript on self and object typesGeorge Marques
2021-10-06GDScript: Avoid hard errors on inferred typesGeorge Marques
Since inference isn't always correct, they are now treated as unsafe instead of errors. This also removes inferred type when a variable is reassigned. Since it's not aware of branching, the types might become invalid in a later context.
2021-10-06GDScript: Make all warnings enabled in test generationGeorge Marques
The test generation doesn't initialize the language (since it's already initialized in main), but it still needs the warning enabled so it matches the actual tests.