Skip to content

Commit a98b476

Browse files
authored
Merge pull request vpenades#277 from mcooley/patch-1
Fix reflection verification
2 parents 5c4bd96 + 7d43b0e commit a98b476

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)