Fixed build error for platforms without a Python SDK available

#rb none

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 5238143 via CL 5240388 via CL 5240463
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5247766 by jamie dale in Dev-Anim branch]
This commit is contained in:
jamie dale
2019-02-28 17:24:32 -05:00
parent 84ea5faacb
commit ad75832a7a

View File

@@ -43,6 +43,7 @@ void UPythonScriptPluginSettings::PostEditChangeProperty(struct FPropertyChanged
{
Super::PostEditChangeProperty(PropertyChangedEvent);
#if WITH_PYTHON
if (PropertyChangedEvent.MemberProperty)
{
if (PropertyChangedEvent.MemberProperty->GetFName() == GET_MEMBER_NAME_CHECKED(UPythonScriptPluginSettings, bRemoteExecution) ||
@@ -56,6 +57,7 @@ void UPythonScriptPluginSettings::PostEditChangeProperty(struct FPropertyChanged
FPythonScriptPlugin::Get()->SyncRemoteExecutionToSettings();
}
}
#endif // WITH_PYTHON
}
FText UPythonScriptPluginSettings::GetSectionText() const