Created
April 23, 2011 09:31
-
-
Save iRi-E/938499 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/QMA/QMALipSyncLoader.cc b/QMA/QMALipSyncLoader.cc | |
index 48bcdf4..b71f95a 100644 | |
--- a/QMA/QMALipSyncLoader.cc | |
+++ b/QMA/QMALipSyncLoader.cc | |
@@ -43,6 +43,7 @@ | |
#include <QStringList> | |
#include <QTextCodec> | |
#include <QTextStream> | |
+#include <QDebug> | |
QMALipSyncLoader::QMALipSyncLoader(const char *filename) | |
: m_expressionNames(0), | |
@@ -59,6 +60,9 @@ QMALipSyncLoader::QMALipSyncLoader(const char *filename) | |
m_file = new QFile(path); | |
else | |
m_file = new QFile("MMDAIUserData:/" + path); | |
+ if (!m_file->exists()) | |
+ m_file->setFileName("MMDAIResources:AppData/lip.txt"); | |
+ qDebug().nospace() << "LipSync config file: " << m_file->fileName(); | |
} | |
QMALipSyncLoader::~QMALipSyncLoader() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment