Age | Commit message (Collapse) | Author |
|
|
|
Provide NativeScript properties in definition order
|
|
|
|
|
|
|
|
Remove NULL check from Object::cast_to()
|
|
added StringBuilder class
|
|
After discussing this with @reduz on IRC we agreed to remove these
checks. We now consider cast_to() to be NULL safe
|
|
-Fixed get_scale functions (and added set_scale) to make it more coherent when decomposing and composing (fixes bugs in transform interpolation)
|
|
Fixes language overridden external editors
|
|
|
|
-Fixed refactoring tools to work with imported scenes (properly move .import files)
|
|
Fixes order of default arguments in MethodInfo
|
|
This time for real
|
|
|
|
The second in my quest to make Godot 3.x compile with -Werror on GCC7
|
|
Fix signed and unsigned comparisons
|
|
Fixes reversed order of default arguments in MethodInfo
|
|
When doing large string concatenations the default push_back on the
String class can slow down things quite a bit. This is because it
has to constantly reallocate the memory and copy the contents. This
StringBuilder class delays the concatenation until the size of the
resulting string is known.
|
|
|
|
|
|
Implement OrderedHashMap
|
|
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.
|
|
The first in my quest to make Godot 3.x compile with -Werror on GCC7
|
|
|
|
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().
|
|
|