Skip to content

Commit b9930ff

Browse files
committed
remove unnecessary member
1 parent 173f013 commit b9930ff

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Assets/FbxExporters/Editor/UnitTests/FbxAnimationTest.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,12 @@ namespace FbxExporters.UnitTests
1212

1313
public class AnimationTestDataClass
1414
{
15-
public static IEnumerable<string> m_transformPropertyNames { get {
16-
var goAnim = new GameObject ();
17-
return (from b in AnimationUtility.GetAnimatableBindings (goAnim, goAnim) select b.propertyName);
18-
}}
19-
2015
// TODO: remove items that become supported by exporter
2116
public static IEnumerable<System.Type> m_exceptionTypes = new List<System.Type> ()
2217
{
2318
typeof(MeshFilter),
2419
typeof(SkinnedMeshRenderer),
25-
typeof(Camera),
20+
typeof(Camera), // TODO: uncomment this to add unit tests
2621
typeof(Transform), // NOTE: has it's own special tests
2722
};
2823

@@ -325,7 +320,7 @@ public int ComponentSingleAnimTest (System.Type componentType)
325320

326321
string [] propertyNames =
327322
(from b in AnimationUtility.GetAnimatableBindings (targetObject, targetObject)
328-
select b.propertyName).Except(AnimationTestDataClass.m_transformPropertyNames).ToArray();
323+
where b.type==componentType select b.propertyName).ToArray();
329324

330325
if (propertyNames.Length == 0)
331326
{

0 commit comments

Comments
 (0)