by rvwsr » Mon Aug 19, 2019 9:57 pm
I have made some of my own custom modifications to the MHX2 importer (just for my own playing around) and was able to get Expressions to work in 2.80.
The code for the expression option is still there, but it is not being registered. Blender 2.80 changed the registration process, and it looks like it was left off of the list.
To get expressions working again, along with the related FaceUnits, you need to edit the __init__.py file and add FaceUnit and Expression to the list of registered classes (the list already contains VIsemes, FaceShape, etc.).
This should make expressions work, but Blender will complain that the class is not properly named. Proper class names are supposed to have a special prefix on them, and I noticed that the working classes are already renamed starting with "MHX_PT_", such as "MHX_PT_Visemes". Renaming "Expression" to "MHX_PT_Expression" (in both the code for the class and in the list mentioned above, and doing the same thing to the "FaceUnits" class, gets Blender to stop complaining.