Now that we have gotten the Pre/Post rotation solved, there is a new one in the horizon.
Specifically Attachments, and Soft attachments.
I noticed that If I try attach a clothing that works with the Avatar Standard, it works nearly as is. Feel free to test it as well (only the upper body of the earlier avatar test) More we get this tested, the better.
Aside from the issues regarding not being able to hide / set material properties of anything yet. As soon as that is an ability, we can standardized so that we can define different transparencies settings for the created avatars for various clothing patterns (long, short shirts, shorts, long pants, skirts, etc) for easier hiding via script.
Here, you guys can just note that right now it only seems to work with Blender exporter avatars, simply attach it to your avatar, set it to your hips, and enable soft avatars: Creating these is now as simple as creating an avatar with the Standard.
If testing this on other avatars on the market, mainly the Maya ones, the attachment system begins to bug up:
First the Avatars on the market cause the soft attachment to scale oddly: Lengthwise they are correct, but they remain scaled as if the avatar it self are 100x larger so they are extremely thin. Same occurs when trying to attach the example soft attachment onto the blender avatar, but in reverse. This just might be something to do with getting the scaling correct for the avatar standard and shouldnt be an issue, until we figure out the actual scale required but regardless this causes the following bug:
After a few minutes of changing avatars from different suites, and fiddling around, all attachments will dissapear and the following error is thrown:
[WARNING] QQmlExpression: Expression file:///C:/Program Files/High Fidelity/resources/qml/hifi/dialogs/attachments/Attachment.qml:77:24 depends on non-NOTIFYable properties:
And this sticks with all avatars and breaks the entire attachment system, regardless of what you do until you clear all hifi appdata files.