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