animate1978 / MB-Lab

MB-Lab is a character creation tool for Blender 4.0 and above, based off ManuelBastioniLAB
Other
1.76k stars 308 forks source link

No shape keys in finalized character in 2.91 #325

Closed steveday4u closed 3 years ago

steveday4u commented 3 years ago

Describe the bug When using the plugin in blender 2.91 finalizing the character does not work

To Reproduce finalize a character. There are no post creation tools available. all shape keys are missing Expected behavior options should be available, facial keys should be present in finalized character

I tried 1.7.7b and 1.7.8. they are having the same problem. in 1.7.8 the ui seems also broken (all ui expansions are created at the bottom).

steveday4u commented 3 years ago

ok, fixed it myself:

in MB-Lab/algorithms.py -> apply_modifier

        try:
            if bpy.app.version >= (2, 91, 0):
                bpy.ops.object.modifier_apply(modifier=modifier_name)
            else:
                bpy.ops.object.modifier_apply(apply_as='DATA', modifier=modifier_name)
        except AttributeError:
            logger.warning("Problems in applying %s. Is the modifier disabled?", modifier_name)
animate1978 commented 3 years ago

Ahh yes this was fixed in the recent push to the repo.... it is the 'master' branch of MB-Lab

steveday4u commented 3 years ago

that whould have been a great opportunity for a bugfix release...