Age | Commit message (Collapse) | Author |
|
DocData and virtual method type hints fixes
|
|
- Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types
- Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string.
- PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void.
- Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
|
|
-Raised the SSAO limits, making the effect a lot more useful
-Still pending to enable tresholding to avoid some hollow places
|
|
-Fix to gridmap cell size (wrong property type)
|
|
Allow to disable shadow gradients in Light2D
|
|
-Fix getter in code completion being displayed when it shouldn't
-Clean up preview generation for editors and exposed it as editor plugin
|
|
Fixed offset view when removing text, issue 10529
|
|
|
|
-Got editor working again
-Added a current-floor marker on selection
|
|
|
|
|
|
Viewport: fix 'size' binding from Rect2 to Vector2
|
|
Bind missing ArrayMesh.ARRAY_MAX
|
|
|
|
|
|
Script editor: fixed no key repeat for CTRL+Y
|
|
Method to get ID of RPC calling peer
|
|
Added/Fixed null pointer checks
|
|
Added a cursor column check.
|
|
Tree: fix RMB click collapses next item
|
|
These Null checks were removed in #10581 but actually changed the
logic of the functions in this case.
This fixes #10654
|
|
|
|
Fixes glich, when cursor is on column 0 of and indented line and you
press return an extra indent is added.
|
|
|
|
Cleanup tons of obsolete commented out code
|
|
Use it to remove buggy add_child in EditorAudioBus
|
|
Mostly in EditorNode, dropping some obsolete editor plugins and also a
cleanup of ProjectSettings/EditorSettings.
|
|
-Make sure handles are always visible (on top)
-Fixed instanced scene selection (should work properly now)
-Added interpolated camera
-Customizable gizmo colors in editor settings
|
|
|
|
|
|
Currently the shadow gradient can't be disabled and always has a minimum value of 1.
I'm not sure why though, the default value seems to be 0 and the rasterizer checks for 0 [here](https://github.com/godotengine/godot/blob/8fc6bb8f771c520c15320c3b4be561abc648d65d/drivers/gles3/rasterizer_canvas_gles3.cpp#L1284) before enabling it.
Feels like a bug to me, but if there's a reason for that let me know.
As a side effect, this edit effectively changes the default value from 1 to 0 for new projects.
|
|
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.
This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.
It is explained in this article: https://www.viva64.com/en/b/0226/
|
|
|
|
-Disabled GDNative and GDNativeScript so build compiles again
|
|
|
|
Stops scrolling when the user issues another command
|
|
Add missing NULL check for the new show_about() call
|
|
Removed unnecessary returns and break statements
[ci skip]
|
|
|
|
|
|
The functionality was already there but hidden behind a bogus return statement.
Fixes #10485
|
|
|
|
|
|
The change in #10524 subtly changes the behavior of set_motion_scale()
and set_motion_offset() if the ParallaxLayer does not have a parent
node. Previously it would still set the corresponding property, but
after this change the property change would be discarded.
I'm not entirely sure if this actually matters as there doesn't appear
to be any code that picks up this change if the ParallaxLayer gets
re-parented later, but it's better to not change behavior regardless.
|
|
Add stretching to `TextureProgress`
|
|
Now `TextureProgress` has `nine_patch_stretch` flag. With this flag enabled,
it's being rendered as 9-path using `stretch_margin_*` properties as texture margins.
Stretching doesn't support `FILL_CLOCKWISE` and `FILL_COUNTER_CLOCKWISE` fill modes.
|
|
Remove addition border
|
|
This fixes #10515
|
|
|
|
Removed unnecessary assignments
|