hugoattal / ElectronicNodes

Wiring style for blueprint and material editors in the Unreal Engine
99 stars 10 forks source link

Compilation does not work on 4.18 #6

Closed hugoattal closed 4 years ago

hugoattal commented 4 years ago
E0135   class "FString" Not have "ToString" Member  MZEducation E:\new_Work2\Plugins\ElectronicNodes\Source\ElectronicNodes\Private\ENConnectionDrawingPolicy.cpp   67
C2039   “ToString”: Not have “FString” Member   MZEducation E:\new_Work2\Plugins\ElectronicNodes\Source\ElectronicNodes\Private\ENConnectionDrawingPolicy.cpp   67
on 65-75:
if (ElectronicNodesSettings.OverwriteExecWireStyle)
{
    if (((Params.AssociatedPin1 != nullptr) && Params.AssociatedPin1->PinType.PinCategory.ToString() == "exec") ||
    ((Params.AssociatedPin2 != nullptr) && Params.AssociatedPin2->PinType.PinCategory.ToString() == "exec"))
    {
        if (ElectronicNodesSettings.WireStyleForExec != EWireStyle::Default)
        {
            WireStyle = ElectronicNodesSettings.WireStyleForExec;
        }
    }
}
hugoattal commented 4 years ago

Solved on the FAQ: https://github.com/TheHerobrine/ElectronicNodes/wiki/FAQ#the-compilation-of-the-plugin-fail-with-class-fstring-not-have-tostring-member