Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Changing the default for GUID regen to FALSE #717

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions XRTK-Core/Packages/com.xrtk.core/Editor/PackageInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static class PackageInstaller
/// <param name="destinationPath">The destination path, typically inside the projects "Assets" directory.</param>
/// <param name="regenerateGuids">Should the guids for the copied assets be regenerated?</param>
/// <returns>Returns true if the profiles were successfully copies, installed, and added to the <see cref="MixedRealityToolkitRootProfile"/>.</returns>
public static bool TryInstallAssets(string sourcePath, string destinationPath, bool regenerateGuids = true)
public static bool TryInstallAssets(string sourcePath, string destinationPath, bool regenerateGuids = false)
{
return TryInstallAssets(new Dictionary<string, string> { { sourcePath, destinationPath } }, regenerateGuids);
}
Expand All @@ -38,7 +38,7 @@ public static bool TryInstallAssets(string sourcePath, string destinationPath, b
/// <param name="installationPaths">The assets paths to be installed. Key is the source path of the assets to be installed. This should typically be from a hidden upm package folder marked with a "~". Value is the destination.</param>
/// <param name="regenerateGuids">Should the guids for the copied assets be regenerated?</param>
/// <returns>Returns true if the profiles were successfully copies, installed, and added to the <see cref="MixedRealityToolkitRootProfile"/>.</returns>
public static bool TryInstallAssets(Dictionary<string, string> installationPaths, bool regenerateGuids = true)
public static bool TryInstallAssets(Dictionary<string, string> installationPaths, bool regenerateGuids = false)
{
var anyFail = false;
var newInstall = true;
Expand Down