Fix ambiguous AnimationNode's parameter type in default value
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
This commit is contained in:
@@ -46,7 +46,7 @@ Variant AnimationNodeBlendSpace2D::get_parameter_default_value(const StringName
|
||||
}
|
||||
|
||||
if (p_parameter == closest) {
|
||||
return -1;
|
||||
return (int)-1;
|
||||
} else {
|
||||
return Vector2();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user