Aaron/fixdigitaltwins windows (#7672)
* Fix OSM2ODR build * Fixing UE4 DigitalTwins in Windows * Deal windows specific code until find workaround on saving files * Remove comments --------- Co-authored-by: LuisPoveda <101111439+LuisPoveda@users.noreply.github.com>
This commit is contained in:
parent
22fd085f67
commit
6886d25c13
Binary file not shown.
Binary file not shown.
|
@ -30,9 +30,10 @@ if os.name == "nt":
|
|||
editor_path = "%s/Engine/Binaries/%s/UE4Editor" % (ue4_path, sys_name)
|
||||
command = [editor_path, uproject_path, run]
|
||||
command.extend(arguments)
|
||||
full_command = editor_path + " " + uproject_path + " " + run + " " + arguments
|
||||
print("Commandlet:", command)
|
||||
print("Arguments:", arguments)
|
||||
subprocess.check_call(command, shell=True)
|
||||
subprocess.check_call(full_command, shell=True)
|
||||
elif os.name == "posix":
|
||||
sys_name = "Linux"
|
||||
editor_path = "%s/Engine/Binaries/%s/UE4Editor" % (ue4_path, sys_name)
|
||||
|
|
|
@ -293,11 +293,13 @@ AActor* UOpenDriveToMap::SpawnActorWithCheckNoCollisions(UClass* ActorClassToSpa
|
|||
void UOpenDriveToMap::GenerateTileStandalone(){
|
||||
UE_LOG(LogCarlaToolsMapGenerator, Log, TEXT("UOpenDriveToMap::GenerateTileStandalone Function called"));
|
||||
|
||||
#if PLATFORM_WINDOWS
|
||||
GenerateTile();
|
||||
#else
|
||||
ExecuteTileCommandlet();
|
||||
|
||||
#endif
|
||||
UEditorLoadingAndSavingUtils::SaveDirtyPackages(true, true);
|
||||
UEditorLevelLibrary::SaveCurrentLevel();
|
||||
|
||||
}
|
||||
|
||||
void UOpenDriveToMap::GenerateTile(){
|
||||
|
|
Loading…
Reference in New Issue