summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-02Remove leftovers from the DirectionalLight3D Optimized shadow depth rangeHugo Locurcio
The Optimized shadow depth range was removed in late 2020 in favor of the Stable shadow depth range, but it still had a (broken) property that allowed to enable it.
2021-07-02Merge pull request #50081 from Calinou/doc-randomnumbergeneratorRémi Verschelde
Improve and clarify documentation for RandomNumberGenerator
2021-07-02Improve and clarify documentation for RandomNumberGeneratorHugo Locurcio
2021-07-02Merge pull request #50078 from madmiraal/android-remove-unused-importsRémi Verschelde
2021-07-02Merge pull request #50077 from thebestnom/fix/initialize_mouse_modeRémi Verschelde
Android: Initialize mouse mode
2021-07-02Android: Initialize mouse modethebestnom
2021-07-02Remove unused imports from Android Java codeMarcel Admiraal
2021-07-02Merge pull request #50074 from madmiraal/android-replace-c-arrayRémi Verschelde
Use Java array declarations not C-style declarations in Android Java code
2021-07-02Merge pull request #50072 from madmiraal/android-remove-interface-modifiersRémi Verschelde
Remove redundant interface modifiers from Android Java code
2021-07-02Use Java array declarations not C-style declarations in Android Java codeMarcel Admiraal
2021-07-02Merge pull request #50071 from madmiraal/android-remove-semicolonsRémi Verschelde
Remove unnecessary semicolons from Android Java code
2021-07-02Merge pull request #50065 from SirQuartz/patch-1Rémi Verschelde
Add `action_get_deadzone()` method to `InputMap`
2021-07-02Remove redundant interface modifiers from Android Java codeMarcel Admiraal
2021-07-02Remove unnecessary semicolons from Android Java codeMarcel Admiraal
2021-07-02Add `get_dead_zone()` method to `InputMap`Nick H
This commit adds a new method to the `InputMap`, allowing the user to get the value of an action's dead zone as a float.
2021-07-01Merge pull request #50058 from reduz/fix-surface-from-arraysJuan Linietsky
Fix surface from array creation
2021-07-01Merge pull request #50057 from reduz/force-string-in-dictionaryRémi Verschelde
Force String as Dictionary key instead of StringName
2021-07-01Fix surface from array creationreduz
* The debug check was not updated to the new format. * Bug introduced by #50037
2021-07-01Merge pull request #50041 from aaronfranke/prop-usage-flagsRémi Verschelde
Use `PROPERTY_USAGE_NONE` instead of `0` for no property usage
2021-07-01Force String as Dictionary key instead of StringNamereduz
* Lua table syntax uses named indexing: `{ mykey = myvalue }` * Python style syntax uses string indexing: `{ "mykey" : myvalue }` * Both are incompatible since a StringName key wont fetch a String key, hence confusing. * This PR proposes always using String for indexing at a very minimal performance cost. Always indexing with StringNames will be faster, but they are considerably more expensive to create.
2021-07-01Use PROPERTY_USAGE_NONE instead of 0 for no property usageAaron Franke
Also use const more often.
2021-07-01Merge pull request #50052 from Valeryn4/Valeryn4-Fix-GridMapRémi Verschelde
2021-07-02Fix GridMap erase OctansPitanov V.V
2021-07-01Merge pull request #50040 from reduz/fix-renderingserver-bindingsRémi Verschelde
Clean up RenderingServer and its bindings
2021-07-01Clean up RenderingServer and its bindingsreduz
* Rewrote bindings for RenderingServer. * They are now all up to date. * Several unused methods and deprecated features were cleaned up.
2021-07-01Merge pull request #50044 from akien-mga/localvector-find-noerrorRémi Verschelde
LocalVector: Don't error if `from` >= `count`
2021-07-01Merge pull request #50026 from lyuma/callable_is_validRémi Verschelde
Add Callable.is_valid() analogous to FuncRef.is_valid() from 3.x
2021-07-01LocalVector: Don't error if `from` >= `count`Rémi Verschelde
Vector handles this silently by returning -1, and we should do the same here. Otherwise we get errors when calling `find()` on e.g. a LocalVector of size 0, while `find()` is expected to always work (if the parameters are invalid then it doesn't find anything, so -1). Fixup to #49925.
2021-07-01Merge pull request #50028 from akien-mga/android-isGame-attributeRémi Verschelde
Android: Add `isGame` application attribute, default to true
2021-07-01Add Callable.is_valid() analogous to FuncRef.is_valid() from 3.xLyuma
2021-07-01Android: Add `isGame` application attribute, default to trueRémi Verschelde
It can be turned off in the export preset with `package/classify_as_game`. Upstream definition: https://developer.android.com/guide/topics/manifest/application-element#isGame > `android:isGame` > > Whether or not the application is a game. The system may group together > applications classifed as games or display them separately from other > applications. Also fixes replacing `android:allowBackup` in custom builds.
2021-07-01Merge pull request #49994 from akien-mga/script-duplicate-selectionRémi Verschelde
Script editor: Rename 'Clone Down' to 'Duplicate Selection'
2021-07-01Merge pull request #50018 from fire/port-falseRémi Verschelde
Network port comparison is always false
2021-07-01Merge pull request #50038 from Calinou/editor-add-lock-group-shortcutsRémi Verschelde
Add keyboard shortcuts for grouping and locking nodes, change grid toggle
2021-07-01Merge pull request #50037 from reduz/move-color-to-8bitRémi Verschelde
Import mesh colors in 8BPC
2021-07-01Merge pull request #49409 from ekumlin/issue-32596Rémi Verschelde
Enable Camera2D smoothing on limit change
2021-06-30Import mesh colors in 8BPP.reduz
* Colors were imported as 16BPP (half float) * Far most common use cases only require 8BPP * If you need higher data precision, use a custom array, which are supported now. **WARNING**: 3D Scenes imported in 4.0 no longer compatible with this new format. You need to re-import them (erase them from .godot/import)
2021-06-30Enable Camera2D smoothing on limit changeEric
2021-07-01Merge pull request #50030 from bruvzg/rtl_editor_spinRémi Verschelde
Add right-to-left layout support for `EditorSpinSlider`.
2021-06-30Add keyboard shortcuts for grouping and locking nodes, change grid toggleHugo Locurcio
- Locking nodes can now be done by pressing Ctrl + L, and unlocking with Ctrl + Shift + L. - Grouping nodes is now done by pressing Ctrl + G, and ungrouping with Ctrl + Shift + G (similar to Inkscape). - Toggling the grid is now done by pressing the `#` key (also similar to Inkscape). This change was needed as Ctrl + G now groups selected nodes. Different shortcuts are used for the lock/unlock and group/ungroup actions, so that the shortcuts are idempotent.
2021-06-30Merge pull request #50033 from nekomatata/nodepath-code-style-fixRémi Verschelde
Coding style fix in editor NodePath update
2021-06-30Add right-to-left layout support for `EditorSpinSlider`.bruvzg
2021-06-30Coding style fix in editor NodePath updatePouleyKetchoupp
Added r_ prefix for reference arguments that can be modified.
2021-06-30Merge pull request #49834 from nekomatata/physics-disable-modesRémi Verschelde
Add support for controlling physics nodes' behavior when disabled
2021-06-30Merge pull request #50014 from reduz/remove-immediateRémi Verschelde
Deprecate ImmediateGeometry
2021-06-30Deprecate ImmediateGeometryreduz
* Removed entirely from RenderingServer. * Replaced by ImmediateMesh resource. * ImmediateMesh replaces ImmediateGeometry, but could use more optimization in the future. * Sprite3D and AnimatedSprite3D work again, ported from Godot 3.x (though a lot of work was needed to adapt them to Godot 4). * RootMotionView works again. * Polygon3D editor works again.
2021-06-30Merge pull request #50009 from reduz/fix-suffixes-and-degreesRémi Verschelde
Fix editor suffixes and degrees conversion
2021-06-30Add support for controlling physics nodes' behavior when disabledPouleyKetchoupp
New property disable_mode to set different behaviors: Remove: remove from physics simulation MakeStatic: change body mode to static (doesn't affect area and soft body) KeepActive: do nothing Extra change: Handle disable/enable node state with specific notifications, in order to differentiate global pause from disabled nodes.
2021-06-30Merge pull request #50024 from madmiraal/fix-android-unchecked-warningRémi Verschelde
Fix unchecked call to put() warning in GodotInputHandler.java
2021-06-30Fix editor suffixes and degrees conversionreduz
* Functions to convert to/from degrees are all gone. Conversion is done by the editor. * Use PROPERTY_HINT_ANGLE instead of PROPERTY_HINT_RANGE to edit radian angles in degrees. * Added possibility to add suffixes to range properties, use "min,max[,step][,suffix:<something>]" example "0,100,1,suffix:m" * In general, can add suffixes for EditorSpinSlider Not covered by this PR, will have to be addressed by future ones: * Ability to switch radians/degrees in the inspector for angle properties (if actually wanted). * Animations previously made will most likely break, need to add a way to make old ones compatible. * Only added a "px" suffix to 2D position and a "m" one to 3D position, someone needs to go through the rest of the engine and add all remaining suffixes. * Likely also need to track down usage of EditorSpinSlider outside properties to add suffixes to it too.