mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 23:46:29 +02:00
Merge pull request #16445 from hyperlogic/bug-fix/remove-last-legacy-blendshapes
Remove LipsUpperOpen and LipsLowerOpen, the last of the legacy blendshapes
This commit is contained in:
commit
668061e154
10 changed files with 5 additions and 18 deletions
|
@ -201,8 +201,6 @@
|
|||
{ "from": "Standard.LipsStretch_R", "to": "Actions.LipsStretch_R" },
|
||||
{ "from": "Standard.LipsUpperClose", "to": "Actions.LipsUpperClose" },
|
||||
{ "from": "Standard.LipsLowerClose", "to": "Actions.LipsLowerClose" },
|
||||
{ "from": "Standard.LipsUpperOpen", "to": "Actions.LipsUpperOpen" },
|
||||
{ "from": "Standard.LipsLowerOpen", "to": "Actions.LipsLowerOpen" },
|
||||
{ "from": "Standard.LipsFunnel", "to": "Actions.LipsFunnel" },
|
||||
{ "from": "Standard.LipsPucker", "to": "Actions.LipsPucker" },
|
||||
{ "from": "Standard.Puff", "to": "Actions.Puff" },
|
||||
|
|
|
@ -96,8 +96,6 @@
|
|||
{ "from": "Standard.LipsStretch_R", "to": "Actions.LipsStretch_R" },
|
||||
{ "from": "Standard.LipsUpperClose", "to": "Actions.LipsUpperClose" },
|
||||
{ "from": "Standard.LipsLowerClose", "to": "Actions.LipsLowerClose" },
|
||||
{ "from": "Standard.LipsUpperOpen", "to": "Actions.LipsUpperOpen" },
|
||||
{ "from": "Standard.LipsLowerOpen", "to": "Actions.LipsLowerOpen" },
|
||||
{ "from": "Standard.LipsFunnel", "to": "Actions.LipsFunnel" },
|
||||
{ "from": "Standard.LipsPucker", "to": "Actions.LipsPucker" },
|
||||
{ "from": "Standard.Puff", "to": "Actions.Puff" },
|
||||
|
|
|
@ -57,8 +57,6 @@ static controller::Action blendshapeActions[] = {
|
|||
controller::Action::LIPSSTRETCH_R,
|
||||
controller::Action::LIPSUPPERCLOSE,
|
||||
controller::Action::LIPSLOWERCLOSE,
|
||||
controller::Action::LIPSUPPEROPEN,
|
||||
controller::Action::LIPSLOWEROPEN,
|
||||
controller::Action::LIPSFUNNEL,
|
||||
controller::Action::LIPSPUCKER,
|
||||
controller::Action::PUFF,
|
||||
|
|
|
@ -386,8 +386,6 @@ namespace controller {
|
|||
makeAxisPair(Action::LIPSSTRETCH_R, "LipsStretch_R"),
|
||||
makeAxisPair(Action::LIPSUPPERCLOSE, "LipsUpperClose"),
|
||||
makeAxisPair(Action::LIPSLOWERCLOSE, "LipsLowerClose"),
|
||||
makeAxisPair(Action::LIPSUPPEROPEN, "LipsUpperOpen"),
|
||||
makeAxisPair(Action::LIPSLOWEROPEN, "LipsLowerOpen"),
|
||||
makeAxisPair(Action::LIPSFUNNEL, "LipsFunnel"),
|
||||
makeAxisPair(Action::LIPSPUCKER, "LipsPucker"),
|
||||
makeAxisPair(Action::PUFF, "Puff"),
|
||||
|
|
|
@ -220,8 +220,6 @@ enum class Action {
|
|||
LIPSSTRETCH_R,
|
||||
LIPSUPPERCLOSE,
|
||||
LIPSLOWERCLOSE,
|
||||
LIPSUPPEROPEN,
|
||||
LIPSLOWEROPEN,
|
||||
LIPSFUNNEL,
|
||||
LIPSPUCKER,
|
||||
PUFF,
|
||||
|
|
|
@ -392,8 +392,6 @@ Input::NamedVector StandardController::getAvailableInputs() const {
|
|||
makePair(LIPSSTRETCH_R, "LipsStretch_R"),
|
||||
makePair(LIPSUPPERCLOSE, "LipsUpperClose"),
|
||||
makePair(LIPSLOWERCLOSE, "LipsLowerClose"),
|
||||
makePair(LIPSUPPEROPEN, "LipsUpperOpen"),
|
||||
makePair(LIPSLOWEROPEN, "LipsLowerOpen"),
|
||||
makePair(LIPSFUNNEL, "LipsFunnel"),
|
||||
makePair(LIPSPUCKER, "LipsPucker"),
|
||||
makePair(PUFF, "Puff"),
|
||||
|
|
|
@ -127,8 +127,6 @@ namespace controller {
|
|||
LIPSSTRETCH_R,
|
||||
LIPSUPPERCLOSE,
|
||||
LIPSLOWERCLOSE,
|
||||
LIPSUPPEROPEN,
|
||||
LIPSLOWEROPEN,
|
||||
LIPSFUNNEL,
|
||||
LIPSPUCKER,
|
||||
PUFF,
|
||||
|
|
|
@ -82,6 +82,8 @@ static void fixUpLegacyBlendshapes(QVariantHash& properties) {
|
|||
removeBlendshape(bs, "JawChew");
|
||||
removeBlendshape(bs, "ChinLowerRaise");
|
||||
removeBlendshape(bs, "ChinUpperRaise");
|
||||
removeBlendshape(bs, "LipsUpperOpen");
|
||||
removeBlendshape(bs, "LipsLowerOpen");
|
||||
|
||||
// These blendshapes are split in ARKit, we replace them with their left and right sides with a weight of 1/2.
|
||||
splitBlendshapes(bs, "LipsUpperUp", "MouthUpperUp_L", "MouthUpperUp_R");
|
||||
|
|
|
@ -47,8 +47,6 @@ const char* FACESHIFT_BLENDSHAPES[] = {
|
|||
"LipsStretch_R",
|
||||
"LipsUpperClose",
|
||||
"LipsLowerClose",
|
||||
"LipsUpperOpen",
|
||||
"LipsLowerOpen",
|
||||
"LipsFunnel",
|
||||
"LipsPucker",
|
||||
"Puff",
|
||||
|
|
|
@ -51,8 +51,6 @@ enum class Blendshapes : int {
|
|||
LipsStretch_R,
|
||||
LipsUpperClose,
|
||||
LipsLowerClose,
|
||||
LipsUpperOpen,
|
||||
LipsLowerOpen,
|
||||
LipsFunnel,
|
||||
LipsPucker,
|
||||
Puff,
|
||||
|
@ -114,5 +112,8 @@ enum class LegacyBlendshpaes : int {
|
|||
// * Sneer (split in ARKit)
|
||||
// * ChinLowerRaise (not in ARKit)
|
||||
// * ChinUpperRaise (not in ARKit)
|
||||
// * LipsUpperOpen (not in ARKit)
|
||||
// * LipsLowerOpen (not in ARKit)
|
||||
|
||||
|
||||
#endif // hifi_BlendshapeConstants_h
|
||||
|
|
Loading…
Reference in a new issue