From 16521dcde8c0a1151eaecd662f41b72eafcea532 Mon Sep 17 00:00:00 2001 From: StayTalm Date: Thu, 10 Sep 2020 14:42:01 -0700 Subject: [PATCH 1/5] Implement new ListView interface requirements --- Runtime/Scripts/Data/AssetData.cs | 2 ++ Runtime/Workspaces/PolyWorkspace/Scripts/PolyGridAsset.cs | 1 + 2 files changed, 3 insertions(+) diff --git a/Runtime/Scripts/Data/AssetData.cs b/Runtime/Scripts/Data/AssetData.cs index c46d066eb..4f8053eec 100644 --- a/Runtime/Scripts/Data/AssetData.cs +++ b/Runtime/Scripts/Data/AssetData.cs @@ -20,6 +20,8 @@ sealed class AssetData : IListViewItemData public string type { get; private set; } public GameObject preview { get; set; } + public bool selected => false; + public Object asset { get { return m_Asset; } diff --git a/Runtime/Workspaces/PolyWorkspace/Scripts/PolyGridAsset.cs b/Runtime/Workspaces/PolyWorkspace/Scripts/PolyGridAsset.cs index 313f8f999..dea650ff7 100644 --- a/Runtime/Workspaces/PolyWorkspace/Scripts/PolyGridAsset.cs +++ b/Runtime/Workspaces/PolyWorkspace/Scripts/PolyGridAsset.cs @@ -34,6 +34,7 @@ class PolyGridAsset : IListViewItemData, IUsesWeb public string template { get { return k_TemplateName; } } public string index { get; private set; } + public bool selected => false; public PolyAsset asset { get { return m_Asset; } } public GameObject prefab { get { return m_Prefab; } } public Texture2D thumbnail { get { return m_Thumbnail; } } From 4b680a995e350b3743438b6518d8a186bdbd8d9e Mon Sep 17 00:00:00 2001 From: StayTalm Date: Thu, 10 Sep 2020 16:15:53 -0700 Subject: [PATCH 2/5] Submodule Update --- Runtime/libs/input-prototype | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/libs/input-prototype b/Runtime/libs/input-prototype index 7579a34c1..499cead2d 160000 --- a/Runtime/libs/input-prototype +++ b/Runtime/libs/input-prototype @@ -1 +1 @@ -Subproject commit 7579a34c1ae91a7661b6d41c7ee6a40f48576da2 +Subproject commit 499cead2db7137c6ec2e35d14e8fdee89041345e From 4f2d5724ca5d219a0001a3acd251e4756c098cc9 Mon Sep 17 00:00:00 2001 From: StayTalm Date: Thu, 10 Sep 2020 17:25:48 -0700 Subject: [PATCH 3/5] Submodule Update --- Runtime/libs/input-prototype | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/libs/input-prototype b/Runtime/libs/input-prototype index 499cead2d..7579a34c1 160000 --- a/Runtime/libs/input-prototype +++ b/Runtime/libs/input-prototype @@ -1 +1 @@ -Subproject commit 499cead2db7137c6ec2e35d14e8fdee89041345e +Subproject commit 7579a34c1ae91a7661b6d41c7ee6a40f48576da2 From 21e46b63fb6c4f3dfd9a9336ea385ab5f6e6895f Mon Sep 17 00:00:00 2001 From: Matt Schoen Date: Fri, 11 Sep 2020 05:02:17 -0700 Subject: [PATCH 4/5] Update List View Framework dependency --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2a6ff4d2e..71163ef12 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "dependencies": { "com.unity.xrtools.utils": "1.1.1", "com.unity.xrtools.module-loader": "1.1.1", - "com.unity.list-view-framework": "1.1.4-preview", + "com.unity.list-view-framework": "1.1.5-preview", "com.unity.xrtools.spatial-hash": "0.1.3-preview", "com.unity.xr.legacyinputhelpers": "2.0.6", "com.unity.xr-line-renderer": "0.1.2-preview", From 44e7f03ee918ac7a95a3bf7f186d2c6810ee6c8c Mon Sep 17 00:00:00 2001 From: Matt Schoen Date: Fri, 11 Sep 2020 05:24:24 -0700 Subject: [PATCH 5/5] Update changelog --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef3adc253..45b75c59e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,8 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## [0.4.12-preview] - 1212-12-12 +## [0.4.12-preview] - 2020-09-11 +- Update List View Framework with multi-select changes ## [0.4.11-preview] - 2020-09-02 - Update List View Framework dependency version