Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion ReferenceProject/Assets/Build/ucrp_base_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ucrp-20240206
ucrp-20240222
2 changes: 1 addition & 1 deletion ReferenceProject/Assets/_Application/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using Unity.Cloud.Common;

[assembly: ApiSourceVersion("Unity Cloud Reference Project", "0.4.0")]
[assembly: ApiSourceVersion("Unity Cloud Reference Project", "0.4.1")]
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class TransformationWorkflowUIController : MonoBehaviour
[SerializeField]
bool m_HideNonSourceDatasets = true;

static readonly string k_SourceDatasetName = "Sources"; // This is a convention in the Asset Manager
static readonly string k_SourceDatasetName = "Source"; // This is a convention in the Asset Manager

TransformationWorkflowController m_TransformationWorkflowController;

Expand Down Expand Up @@ -206,7 +206,7 @@ public void ShowDialog(IAsset asset)
{
m_DatasetDropdown.SetEnabled(true);
m_DatasetDropdown.sourceItems = m_HideNonSourceDatasets ?
datasets.Where(d => d.Name == k_SourceDatasetName).ToList() : datasets;
datasets.Where(d => d.Name != null && d.Name.Contains(k_SourceDatasetName)).ToList() : datasets;

if (datasets.Count > 0)
{
Expand Down Expand Up @@ -269,9 +269,8 @@ async Task RefreshTransformationsState(IAsset asset)
{
foreach (var t in assetTransformations)
{
if (t.IsRunning() && m_Dialog.isPrimaryActionDisabled)
if (t.IsRunning())
{
m_Dialog.isPrimaryActionDisabled = false;
isRunning = true;
}

Expand All @@ -282,6 +281,8 @@ async Task RefreshTransformationsState(IAsset asset)
{
m_Transformations.Add(new Heading("@AssetList:NoTransformation") { size = HeadingSize.XXS });
}

m_Dialog.isPrimaryActionDisabled = isRunning;

if (isRunning)
{
Expand Down
2 changes: 1 addition & 1 deletion ReferenceProject/ProjectSettings/ProjectSettings.asset

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.