Fix three bugs in WingVariables
This commit is contained in:
@@ -421,7 +421,7 @@ bool WingVariables::Modify(WingOut Errors)
|
||||
bool WingVariables::ModifyBlueprint(WingOut Errors)
|
||||
{
|
||||
if (!CheckBlueprint(Errors)) return false;
|
||||
if (LinkBlueprintVariables(Errors)) return false;
|
||||
if (!LinkBlueprintVariables(Errors)) return false;
|
||||
for (Var &V : BlueprintVariables.Variables)
|
||||
{
|
||||
V.BPVar->VarType = V.Type;
|
||||
@@ -623,10 +623,10 @@ bool WingVariables::CreateBlueprint(WingOut Errors)
|
||||
}
|
||||
}
|
||||
|
||||
if (LinkBlueprintVariables(Errors)) return false;
|
||||
if (!LinkBlueprintVariables(Errors)) return false;
|
||||
for (Var &V : BlueprintVariables.Variables) ModifyBlueprintVariableFlags(V);
|
||||
if (!ModifyBlueprintDefaults(Errors)) return false;
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool WingVariables::CreateGraph(WingOut Errors)
|
||||
|
||||
Reference in New Issue
Block a user