PIValueTree save issue

This commit is contained in:
2023-04-10 13:16:59 +03:00
parent 254649aa10
commit dea469d85e

View File

@@ -139,11 +139,11 @@ BINARY_STREAM_READ(PIValueTree) {
PIChunkStream cs(csba);
while (!cs.atEnd()) {
switch (cs.read()) {
case 1: cs.get(v._name);
case 2: cs.get(v._comment);
case 3: cs.get(v._attributes);
case 4: cs.get(v._value);
case 5: cs.get(v._children);
case 1: cs.get(v._name); break;
case 2: cs.get(v._comment); break;
case 3: cs.get(v._attributes); break;
case 4: cs.get(v._value); break;
case 5: cs.get(v._children); break;
}
}
return s;