def getDazName in preset.py can't work for Genesis 9

Issue #1501 invalid
Rakete created an issue

I have not tested this actually because I don’t really use Genesis 9 yet, but this function:

def getDazName(self, pb):
        if isDrvBone(pb.name) or isFinal(pb.name):
            return None
        elif pb.name[-2:] == ".L":
            return "l%s%s" % (pb.name[0].upper(), pb.name[1:-2])
        elif pb.name[-2:] == ".R":
            return "r%s%s" % (pb.name[0].upper(), pb.name[1:-2])
        else:
            return pb.name

probably won’t work when exporting poses for a Genesis 9 rig, because the names of the bones should be like l_arm, r_thigh, etc. but this function creates the old lArm, rThigh style only.

Comments (4)

  1. Thomas Larsson repo owner

    Actually, it does work, because it is only used for face bones, and G9 doesn’t have much of those anyway. The Save Pose Preset tool generates several animations that work with all Genesis generations. E.g., an upper_arm.fk.L pose is stored both as a pose for lShldr (for G1 and G2), lShldrBend/lShldrTwist (for G3 and G8), and l_upperarm (for G9).

    However, when checking this another bug was unveiled, so it was useful anyway.

  2. Thomas Larsson repo owner
    • changed status to open

    Since yesterday new issues seems to flagged with "Needs review" and are not visible unless I am logged in. Anyone knows why this happens?

  3. Alessandro Padovani

    This happened right after you went to vacation and we though it was your setting. If not then it’s probably the new default of bitbucket. Personally I never logout so I didn’t notice the different visibility.

  4. Log in to comment