Skip to content

Commit

Permalink
Fixed "Generate Visual Studio Project" (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
boudrey authored Aug 29, 2022
1 parent df8c73f commit 811e47d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,17 @@
public class MayaUnrealLiveLinkPlugin : ModuleRules
{
string MayaVersion;
public MayaUnrealLiveLinkPlugin(ReadOnlyTargetRules Target, string pMayaVersion="") : base(Target)
public MayaUnrealLiveLinkPlugin(ReadOnlyTargetRules Target) : base(Target)
{
Init(Target);
}

public MayaUnrealLiveLinkPlugin(ReadOnlyTargetRules Target, string pMayaVersion) : base(Target)
{
Init(Target, pMayaVersion);
}

private void Init(ReadOnlyTargetRules Target, string pMayaVersion="")
{
MayaVersion = pMayaVersion;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,17 @@ string GetCallerFilePath([CallerFilePath] string CallerFilePath = "")
return CallerFilePath;
}

public MayaUnrealLiveLinkPluginTarget(TargetInfo Target) : base(Target)
{
Init(Target, "");
}

public MayaUnrealLiveLinkPluginTarget(TargetInfo Target, string InMayaVersionString) : base(Target)
{
Init(Target, InMayaVersionString);
}

private void Init(TargetInfo Target, string InMayaVersionString)
{
Type = TargetType.Program;

Expand Down

0 comments on commit 811e47d

Please sign in to comment.