Age | Commit message (Collapse) | Author |
|
c812c17633 introduces some extra gdscript bindings for signal discovery
and adds a binding for has_method() to Script objects. This method is
already provided by the ancestor Object.
This fixes the startup message:
ERROR: bind_methodfi: Class Script already has a method has_method
At: core/class_db.cpp:1178.
|
|
|
|
Light Theme
|
|
|
|
This new decomposition splits the basis into a rotation-reflection matrix and a positive scaling matrix, which is required for physics calculations.
|
|
Those functions were added in #8277 but they did more harm than good. They're subtle, don't do what people think and requires users to understand the non-uniqueness of polar decomposition. They ended up confusing people.
Until we store additional information enough to make a unique polar decomposition, these functions shouldn't be a part of Basis.
|
|
|
|
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.
|
|
|
|
|
|
-Fix getter in code completion being displayed when it shouldn't
-Clean up preview generation for editors and exposed it as editor plugin
|
|
- The Windows, UWP, Android (on Windows) and Linux builds are
tested with Scons 3.0 alpha using Python 3.
- OSX and iOS should hopefully work but are not tested since
I don't have a Mac.
- Builds using SCons 2.5 and Python 2 should not be impacted.
|
|
|
|
|
|
Some badly formatted code has managed to pass through our CI...
|
|
|
|
Fix Android build
|
|
|
|
|
|
Add handy get_size() method to Image class
|
|
Mostly in EditorNode, dropping some obsolete editor plugins and also a
cleanup of ProjectSettings/EditorSettings.
|
|
|
|
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/
|
|
This is to prepare to replace all instances of the member version of
cast_to().
|
|
|
|
|
|
-Disabled GDNative and GDNativeScript so build compiles again
|
|
now.
Also changed PropertyInfo to include informatino about class names.
|
|
|
|
Fix tokenization of doubles
|
|
p_screen param from get_screen_* funcs now default to the current screen
|
|
Removed unnecessary assignments
|
|
Added notification const NOTIFICATION_WM_ABOUT
|
|
ClassDB: Provide the enum name of integer constants
|
|
Fix incorrect workaround for pure Y (X) rotations in XYZ (YXZ) conven…
|
|
GDScript Built-in: add inverse_lerp & range_lerp
|
|
Fixes #9600.
|
|
SVG support
|
|
|
|
Fix deadlock in CommandQueueMT
|
|
|
|
Third take at making command-line arguments more UNIX-like + main.cpp and help cleanup
|
|
|
|
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping
- Cleanup obsolete code here and there
|
|
project.godot. Closes #9459
|
|
|
|
|
|
|