small data fix
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit

This commit is contained in:
austin 2024-07-26 23:20:44 -04:00
parent 57f2befc0e
commit 1df8a89b3e
4 changed files with 8 additions and 6 deletions

View File

@ -202,7 +202,7 @@
{ {
"followsView" : false, "followsView" : false,
"followsBone" : true, "followsBone" : true,
"parentBone" : "myTorsoBone", "parentBone" : "Bone",
"allowedMarginYaw" : 0.2 "allowedMarginYaw" : 0.2
} }
] ]
@ -213,7 +213,7 @@
{ {
"followsView" : false, "followsView" : false,
"followsBone" : true, "followsBone" : true,
"parentBone" : "myTorsoBone", "parentBone" : "Bone",
"allowedMarginYaw" : 0.2 "allowedMarginYaw" : 0.2
} }
] ]

View File

@ -220,7 +220,7 @@
{ {
"followsView" : false, "followsView" : false,
"followsBone" : true, "followsBone" : true,
"parentBone" : "myTorsoBone", "parentBone" : "Bone",
"allowedMarginYaw" : 0.2 "allowedMarginYaw" : 0.2
} }
] ]
@ -231,7 +231,7 @@
{ {
"followsView" : false, "followsView" : false,
"followsBone" : true, "followsBone" : true,
"parentBone" : "myTorsoBone", "parentBone" : "Bone",
"allowedMarginYaw" : 0.2 "allowedMarginYaw" : 0.2
} }
] ]

View File

@ -10,4 +10,4 @@
fix rendering pipelines (black when looking at character from angle with item, shadows are not darker color, etc) fix rendering pipelines (black when looking at character from angle with item, shadows are not darker color, etc)
+ bug fixes + bug fixes
fix client-attached models drawing on previous frame fix client-attached models to viewmodel drawing on previous frame

View File

@ -309,7 +309,9 @@ public class Actor {
Quaterniond rotation = new Quaterniond(axisAngle); Quaterniond rotation = new Quaterniond(axisAngle);
rVal.set(rotation); rVal.set(rotation);
} else { } else {
throw new IllegalArgumentException("Trying to get rotation of bone that does not exist on model!"); String message = "Trying to get rotation of bone that does not exist on model!\n" +
"boneName: " + boneName;
throw new IllegalArgumentException(message);
} }
} }
if(!Double.isFinite(rVal.x)){ if(!Double.isFinite(rVal.x)){