Skip to content

Commit 7d43b0e

Browse files
authored
Fix reflection verification
1 parent 5c4bd96 commit 7d43b0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SharpGLTF.Core/Reflection/FieldInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static void Verify(IReflectionObject reflectionObject, string path)
2828
if (path.Contains("/extras/", StringComparison.Ordinal)) return;
2929

3030
var backingField = From(reflectionObject, path);
31-
if (!backingField.IsEmpty) throw new ArgumentException($"{path} not found in the current model, add objects before animations, or disable verification.", nameof(path));
31+
if (backingField.IsEmpty) throw new ArgumentException($"{path} not found in the current model, add objects before animations, or disable verification.", nameof(path));
3232
}
3333

3434
#endregion

0 commit comments

Comments
 (0)