Readability from Skeleton2D calculate_length_and_rotation()
function
#7472
Labels
Milestone
calculate_length_and_rotation()
function
#7472
Describe the project you are working on
Reading
skeleton_2d.cpp
to understand the problems with scaling Bone2D and IK (godotengine/godot#80252, godotengine/godot#76087).Describe the problem or limitation you are having in your project
No problem, the propose will only affect readability of Godot code
Describe the feature / enhancement and how it helps to overcome the problem or limitation
No enhancement, just change the readability from
calculate_length_and_rotation()
function (https://github.com/godotengine/godot/blob/013e8e3afb982d4b230f0039b6dc248b48794ab9/scene/2d/skeleton_2d.cpp#L431)Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Remove local variable
calculated
and return as soon it finish calculating.If this enhancement will not be used often, can it be worked around with a few lines of script?
No
Is there a reason why this should be core and not an add-on in the asset library?
Can't be an add-on
The text was updated successfully, but these errors were encountered: