337 const QString& line, |
337 const QString& line, |
338 const QStringList& tokens) |
338 const QStringList& tokens) |
339 { |
339 { |
340 Q_UNUSED(line) |
340 Q_UNUSED(line) |
341 constexpr int colorPosition = 1; |
341 constexpr int colorPosition = 1; |
342 constexpr int transformPosition = 2; // 2..10 |
342 constexpr int positionPosition = 2; // 2..4 |
343 constexpr int positionPosition = 11; // 11..13 |
343 constexpr int transformPosition = 5; // 5..13 |
344 constexpr int namePosition = 14; |
344 constexpr int namePosition = 14; |
345 if (tokens.size() != 15) |
345 if (tokens.size() != 15) |
346 { |
346 { |
347 throw BodyParseError{"wrong amount of tokens in a type-1 line"}; |
347 throw BodyParseError{"wrong amount of tokens in a type-1 line"}; |
348 } |
348 } |