You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
#18051: Remove unnecessary variable assignments
This commit is contained in:
@@ -123,7 +123,6 @@ namespace Godot
|
||||
if (size.z > max_size)
|
||||
{
|
||||
axis = new Vector3(0f, 0f, 1f);
|
||||
max_size = size.z;
|
||||
}
|
||||
|
||||
return axis;
|
||||
@@ -143,7 +142,6 @@ namespace Godot
|
||||
if (size.z > max_size)
|
||||
{
|
||||
axis = Vector3.Axis.Z;
|
||||
max_size = size.z;
|
||||
}
|
||||
|
||||
return axis;
|
||||
@@ -176,7 +174,6 @@ namespace Godot
|
||||
if (size.z < max_size)
|
||||
{
|
||||
axis = new Vector3(0f, 0f, 1f);
|
||||
max_size = size.z;
|
||||
}
|
||||
|
||||
return axis;
|
||||
@@ -196,7 +193,6 @@ namespace Godot
|
||||
if (size.z < max_size)
|
||||
{
|
||||
axis = Vector3.Axis.Z;
|
||||
max_size = size.z;
|
||||
}
|
||||
|
||||
return axis;
|
||||
|
||||
Reference in New Issue
Block a user