We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e43e527 commit 259248aCopy full SHA for 259248a
1 file changed
refactoring/module/tools/tag/mmd_bone.cpp
@@ -647,13 +647,15 @@ case PMX_BONE_LAYER:
647
break;
648
}
649
case PMX_BONE_IS_IK:
650
+ {
651
is_IK = bc->GetBool(PMX_BONE_IS_IK);
652
const auto state = reinterpret_cast<BaseList2D*>(Get())->GetDescIDState(ConstDescID(DescLevel(PMX_BONE_IK_GRP)), true);
653
if (is_IK)
654
reinterpret_cast<BaseList2D*>(Get())->SetDescIDState(ConstDescID(DescLevel(PMX_BONE_IK_GRP)), ~DESCIDSTATE::HIDDEN & state);
655
else
656
reinterpret_cast<BaseList2D*>(Get())->SetDescIDState(ConstDescID(DescLevel(PMX_BONE_IK_GRP)), DESCIDSTATE::HIDDEN | state);
657
[[fallthrough]];
658
+ }
659
case PMX_BONE_IS_FIXED_AXIS: [[fallthrough]];
660
case PMX_BONE_INHERIT_ROTATION: [[fallthrough]];
661
case PMX_BONE_INHERIT_TRANSLATION:
0 commit comments