mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 04:43:31 +02:00
Fixed URLs not read properly
This commit is contained in:
parent
81fc0d3696
commit
c699726ae8
1 changed files with 5 additions and 1 deletions
|
@ -694,6 +694,7 @@ void writeRecordingToFile(RecordingPointer recording, QString filename) {
|
||||||
|
|
||||||
bool wantDebug = true;
|
bool wantDebug = true;
|
||||||
if (wantDebug) {
|
if (wantDebug) {
|
||||||
|
qDebug() << "[DEBUG] WRITE recording";
|
||||||
qDebug() << "Header:";
|
qDebug() << "Header:";
|
||||||
qDebug() << "File Format version:" << VERSION;
|
qDebug() << "File Format version:" << VERSION;
|
||||||
qDebug() << "Data length:" << dataLength;
|
qDebug() << "Data length:" << dataLength;
|
||||||
|
@ -846,7 +847,9 @@ RecordingPointer readRecordingFromFile(RecordingPointer recording, QString filen
|
||||||
for (int i = 0; i < numAttachments; ++i) {
|
for (int i = 0; i < numAttachments; ++i) {
|
||||||
AttachmentData data;
|
AttachmentData data;
|
||||||
// Model
|
// Model
|
||||||
fileStream >> data.modelURL;
|
QString modelURL;
|
||||||
|
fileStream >> modelURL;
|
||||||
|
data.modelURL = modelURL;
|
||||||
// Joint name
|
// Joint name
|
||||||
fileStream >> data.jointName;
|
fileStream >> data.jointName;
|
||||||
// Translation
|
// Translation
|
||||||
|
@ -939,6 +942,7 @@ RecordingPointer readRecordingFromFile(RecordingPointer recording, QString filen
|
||||||
|
|
||||||
bool wantDebug = true;
|
bool wantDebug = true;
|
||||||
if (wantDebug) {
|
if (wantDebug) {
|
||||||
|
qDebug() << "[DEBUG] READ recording";
|
||||||
qDebug() << "Header:";
|
qDebug() << "Header:";
|
||||||
qDebug() << "File Format version:" << VERSION;
|
qDebug() << "File Format version:" << VERSION;
|
||||||
qDebug() << "Data length:" << dataLength;
|
qDebug() << "Data length:" << dataLength;
|
||||||
|
|
Loading…
Reference in a new issue