Age | Commit message (Collapse) | Author |
|
If you somehow end up with a Singleton.gd that looks like this:
extends Node
class_name Singleton
func foo():
pass
You will get an error when using it in another file:
extends Node2D
func _init():
# Parser Error: Non-static function "foo" can only be called from an instance.
Singleton.foo()
This error is confusing. This patch ensures that an error on the class_name line will be produced:
Parse Error: The class "Singleton" conflicts with the AutoLoad singleton of the same name, and is therefore redundant. Remove the class_name declaration to fix this error.
Fixes #28187.
|
|
triggering completion.
Closes https://github.com/godotengine/godot/issues/25097
|
|
Check for exact equality before approximate equality
|
|
Re-allow indexing on objects and other non-builtin types
|
|
Solves ctrl+click on functions by ignoring the cursor
|
|
Fixes #25081
|
|
The PR did not use the ScriptCodeCompletionOption system introduced
later on, and somehow this did not generate a merge conflict even
though neighboring code was changed.
|
|
Added autoloads as a potential type.
|
|
Add ord() function to return Unicode code point of a string of length one
|
|
Obeyed CLANG format rules
Obeying CLANG format rules attempt 2
Obeying CLANG format rules attempt 3
Clean up
Fixed runaway while loop
Removed int initialization
|
|
|
|
FBX Importer
|
|
Issues fixed:
- Updated assimp to latest and backported fixes into godot.
- Fixed file scale being ignored from FBX file.
- Fixed bone removal
- Implemented proper armature binding
- Fixed recursion not always going through the entire path
- Implemented assimp global scaling system
- Fixed assimp global scale process to support unit conversion
- Implemented proper fbx scaling
- Fixed asserts caused by missing faces in some models which could crash
- Fixed valid bone removal
- Fixed root node being overwriten by assimp which caused data loss
- Fixed armature construction so that it works with multiple roots
- Implemented basic support for FBX standard materials
- Refactoring to improve code quality and improve function reuse.
- Simplified node creation from assimp scene into subsections: create_light, create_mesh, create_bone.
- Creating meshes is now done after hierarchy is created so that the skeleton is always available.
- Added support to assimp to support file scale in all formats which call SetFileScale.
- Many other fixes provided into assimp.
Known issues:
- FBX pivots from Maya do not currently work. (workaround: for now use blender import and export to remove pivot tracks)
- Hierarchy creates an extra node for each mesh - this was done intentionally but we intended to do a pass to remove these as they're a required node.
- When an animated mesh has not executed any animation the rest pose is wrong.
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
|
|
|
|
|
|
|
|
Fix GodotTools.ProjectEditor HintPaths for referenced packages
|
|
|
|
|
|
Mentioned the possibility to use stepify as a rounding function; +code examples
|
|
GDScript: Disable LSP if either jsonrpc or websocket are disabled
|
|
Remove check for class_name and extends order
|
|
[Mono] Various Color fixes and improvements
|
|
|
|
Tweak xatlas and import new version b4b5426
|
|
Fix yield check in GDScriptFunction
|
|
Support baking gridmap navmesh.
|
|
Follow-up to #29780.
|
|
Add Language Server Protocol for GDScript
|
|
Closes #31056
|
|
Fixes #31455
|
|
* Avoid xatlas crash
* Enable alignment and disable bruteforce for speedups
* Update xatlas to b4b5426
* Delete old patches
|
|
|
|
Fix the return type of NativeScript::new in API json
|
|
|
|
I also slid in a fix to C++ Vector3 > and >=
|
|
|
|
Improve writing style in GDScript error/warning messages
|
|
VarArg methods have the return type Object in the API json for GDNative. This
can cause undefined behavior in some language bindings due to lack of
documentation on VarArg methods' behavior.
This changes the MethodInfo of:
- CSharpScript::_new
- GDScript::_new
- PluginScript::_new
|
|
Fix 'android_mono_config.gen.cpp' not compiled first time it's generated
|
|
|
|
Mention Android support in the C# alpha dialog message
|
|
This will make it harder for someone to accidentally commit code that requires a newer version.
|
|
|
|
conflict)
|
|
This uses double quotes everywhere for consistency.
|
|
Add Vector2/3 sign and posmod functions, axis, docs, misc additions
|
|
Fix StreamPeerSSL connect_to_stream w/ custom cert.
|
|
|
|
Follow up on #29871.
Was checking the wrong parameter, causing the code to ignore provided
stream-specific SSL certificate.
|