Skip to content

Commit

Permalink
Merge pull request #19 from yoshivb/InterfacesGeneratorCrash
Browse files Browse the repository at this point in the history
Fix invalid code generation for interfaces
  • Loading branch information
herr-edgy authored Oct 25, 2019
2 parents b97085a + 63ba310 commit 05c695d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ void InterfacesGenerator::GenerateCode(const UArticyImportData* Data)
CodeFileGenerator(CodeGenerator::GetGeneratedInterfacesFilename(Data)+".h", true, [&](CodeFileGenerator* header)
{
header->Line("#include \"CoreUObject.h\"");
header->Line("#include \"" + CodeGenerator::GetGeneratedInterfacesFilename(Data) + ".generated.h\"");
if(Data->GetObjectDefs().GetFeatures().Num() > 0)
header->Line("#include \"" + CodeGenerator::GetGeneratedInterfacesFilename(Data) + ".generated.h\"");
header->Line();

for (auto pair : Data->GetObjectDefs().GetFeatures())
Expand Down

0 comments on commit 05c695d

Please sign in to comment.