mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-13 22:09:53 -05:00
Merge pull request #2383 from ousttrue/fix/no_vrm1
fix VRM10SpringBoneJointEditor
This commit is contained in:
commit
1fe6d0f780
|
|
@ -23,6 +23,7 @@ namespace UniVRM10
|
|||
{
|
||||
return;
|
||||
}
|
||||
m_target = (VRM10SpringBoneJoint)target;
|
||||
|
||||
m_stiffnessForceProp = serializedObject.FindProperty(nameof(VRM10SpringBoneJoint.m_stiffnessForce));
|
||||
m_gravityPowerProp = serializedObject.FindProperty(nameof(VRM10SpringBoneJoint.m_gravityPower));
|
||||
|
|
@ -31,10 +32,7 @@ namespace UniVRM10
|
|||
m_jointRadiusProp = serializedObject.FindProperty(nameof(VRM10SpringBoneJoint.m_jointRadius));
|
||||
m_drawColliderProp = serializedObject.FindProperty(nameof(VRM10SpringBoneJoint.m_drawCollider));
|
||||
|
||||
if (m_target != null)
|
||||
{
|
||||
m_root = m_target.GetComponentInParent<Vrm10Instance>();
|
||||
}
|
||||
m_root = m_target.GetComponentInParent<Vrm10Instance>();
|
||||
}
|
||||
|
||||
static bool m_showJoints;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user