Skip to content

Commit

Permalink
FTV-759 Update Alembic namespace (#341)
Browse files Browse the repository at this point in the history
* More yamato unity versions

Yamato trunk version fix.

* FTV-759: change namespace for AlembicImporter
  • Loading branch information
clusty authored Jun 30, 2020
1 parent a00d789 commit e41f2e0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
5 changes: 4 additions & 1 deletion .yamato/upm-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
editors:
- version: 2019.4
- version: 2019.4
- version: 2020.1
- version: trunk

platforms:
- name: win
type: Unity::VM
Expand Down
12 changes: 5 additions & 7 deletions com.unity.formats.alembic/Editor/Importer/AlembicImporter.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#if UNITY_2017_1_OR_NEWER

using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using UnityEditor;
using UnityEngine;
using UnityEditor.Experimental.AssetImporters;
using UnityEngine.Formats.Alembic.Importer;
using UnityEngine.Formats.Alembic.Sdk;
using Object = UnityEngine.Object;
#if UNITY_2020_2_OR_NEWER
using UnityEditor.AssetImporters;
#else
using UnityEditor.Experimental.AssetImporters;
#endif

namespace UnityEditor.Formats.Alembic.Importer
{
Expand Down Expand Up @@ -398,5 +398,3 @@ bool AddFrameEvents(AnimationClip clip, aiTimeSampling ts)
}
}
}

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
using UnityEditor;
using UnityEngine;
using UnityEngine.Formats.Alembic.Sdk;
#if UNITY_2020_2_OR_NEWER
using UnityEditor.AssetImporters;
#else
using UnityEditor.Experimental.AssetImporters;
#endif

namespace UnityEditor.Formats.Alembic.Importer
{
Expand Down

0 comments on commit e41f2e0

Please sign in to comment.