summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-01Fix 'in' operator to check if an object member existsJulien Nguyen
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.
2021-06-30Fix unchecked call to put() warning in GodotInputHandler.javaMarcel Admiraal
2021-06-30Merge pull request #50016 from fire/gdscript-shadowRémi Verschelde
Remove singleton variable shadowing.
2021-06-30Network port comparison is always falseK. S. Ernest (iFire) Lee
error: comparison is always false due to limited range of data type [-Werror=type-limits] ERR_FAIL_COND_V_MSG(p_port < 0 || p_port > 65535, ERR_INVALID_PARAMETER, "The local port number must be between 0 and 65535 (inclusive).");
2021-06-30Remove singleton variable shadowing.K. S. Ernest (iFire) Lee
2021-06-30Merge pull request #50017 from fire/vulkan-errorRémi Verschelde
Enum constant in boolean context
2021-06-30Merge pull request #50015 from fire/protocol-shadowRémi Verschelde
Protocol shadows a variable.
2021-06-30Enum constant in boolean contextK. S. Ernest (iFire) Lee
error: enum constant in boolean context [-Werror=int-in-bool-context]
2021-06-30Protocol shadows a variable.K. S. Ernest (iFire) Lee
2021-06-30Merge pull request #49844 from nekomatata/physics-disabled-shapesRémi Verschelde
Fix and clean disabled shapes handling in godot physics servers
2021-06-30Merge pull request #50010 from akien-mga/rename-gdnavigationRémi Verschelde
Rename `GdNavigationServer` to `GodotNavigationServer`
2021-06-30Merge pull request #49901 from nekomatata/move-and-collide-fix-slideRémi Verschelde
Fix move_and_collide causing sliding on slopes
2021-06-30Merge pull request #50012 from YeldhamDev/script_diag_fixRémi Verschelde
Make contents of "Create Script" dialog expand with the window size
2021-06-29Make contents of "Create Script" dialog expand with the window sizeMichael Alexsander
2021-06-30Rename `GdNavigationServer` to `GodotNavigationServer`Rémi Verschelde
And rename `gdnavigation` module to simply `navigation`.
2021-06-29Merge pull request #50007 from reduz/fix-2d-viewportRémi Verschelde
Fixes to 2D viewport
2021-06-29Fixes to 2D viewportreduz
* Editor 2D viewport now uses embedded subwindows (windows no longer pop up) * Restored the ability to disable 3D on the 2D viewport (makes 3D not display on 2D when there is a camera on the scene)
2021-06-29Merge pull request #50000 from reduz/improve-rid-owner-memory-usageRémi Verschelde
Improve RID_Owner memory usage
2021-06-29Improve RID_Owner memory usagereduz
* Ability to allocate empty objects in RID_Owner, so RID_PtrOwner is not needed in most cases. * Improves cache usage, as objects are now allocated together * Should improve performance in 2D rendering
2021-06-29Merge pull request #50004 from reduz/fix-non-unoform-scaleRémi Verschelde
Fix non uniform scaling normals in 3D objects
2021-06-29Merge pull request #49295 from foxydevloper/fix-focus-filterRémi Verschelde
Fix "Filter Files" shortcut by merging duplicate functions
2021-06-29Fix non uniform scaling in 3D objectsreduz
* Flag was there, but not implemented. * Fixed issue with base flags not being initialized.
2021-06-29Merge pull request #50003 from Calinou/tweak-2d-game-camera-override-tooltipsRémi Verschelde
Tweak the 2D game camera override tooltips to match 3D