You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
optional formal changes
This commit is contained in:
@@ -1257,7 +1257,8 @@ void SkeletonSpatialGizmo::redraw() {
|
||||
|
||||
//find closest axis
|
||||
int closest=-1;
|
||||
float closest_d;
|
||||
float closest_d = 0.0;
|
||||
|
||||
for(int j=0;j<3;j++) {
|
||||
float dp = Math::abs(grests[parent].basis[j].normalized().dot(d));
|
||||
if (j==0 || dp>closest_d)
|
||||
|
||||
Reference in New Issue
Block a user