Make Skeleton3D::add_bone return the new bone index right away, instead of requiring an additional call to get_bone_count.
This commit is contained in:
@ -215,3 +215,12 @@ Renamed to EditorSceneFormatImporterFBX2GLTF.
|
||||
The compat breakage was deemed necessary as this is a class most users wouldn't
|
||||
use directly, and the name needs to be disambiguated with the new
|
||||
EditorSceneFormatImporterUFBX.
|
||||
|
||||
|
||||
GH-88791
|
||||
--------
|
||||
Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/Skeleton3D/methods/add_bone': return_value
|
||||
|
||||
Added a return value for add_bone.
|
||||
Should not affect existing regular use - the return value would just be unused.
|
||||
Compatibility method registered.
|
||||
|
||||
Reference in New Issue
Block a user