Skip to content

Commit

Permalink
AnimUtils.copyAnimTracks(): replace the exception with a warning message
Browse files Browse the repository at this point in the history
... when the joint is not found in the target Armature
  • Loading branch information
capdevon committed Sep 4, 2023
1 parent 18d2d27 commit d748fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devtools/src/main/java/mygame/devtool/AnimUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private static AnimTrack[] copyAnimTracks(AnimClip sourceClip, Armature targetAr
tracks.add(newTrack);

} else {
throw new IllegalStateException("Joint not found in the target Armature: " + tt.getTarget());
logger.log(Level.WARNING, "Joint not found in the target Armature: {0}", tt.getTarget());
}
}

Expand Down

0 comments on commit d748fcb

Please sign in to comment.