mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Fixed transform constraints.
This commit is contained in:
parent
3a7a4a642b
commit
f018d2451a
@ -157,7 +157,7 @@ namespace Spine {
|
||||
|
||||
String boneName = (String)transformMap["bone"];
|
||||
transformConstraintData.bone = skeletonData.FindBone(boneName);
|
||||
if (transformConstraintData.target == null) throw new Exception("Bone not found: " + boneName);
|
||||
if (transformConstraintData.bone == null) throw new Exception("Bone not found: " + boneName);
|
||||
|
||||
String targetName = (String)transformMap["target"];
|
||||
transformConstraintData.target = skeletonData.FindBone(targetName);
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user