mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 03:50:16 +02:00
coding standard: magic numbers
This commit is contained in:
parent
5d729b98d6
commit
59ed63027b
1 changed files with 1 additions and 1 deletions
|
@ -2114,7 +2114,7 @@ void GeometryReader::run() {
|
|||
// with separate material files, too.
|
||||
QString filename = _url.fileName();
|
||||
int extIndex = filename.lastIndexOf('.'); // by construction, this does not fail
|
||||
QString basename = filename.remove(extIndex + 1, 3);
|
||||
QString basename = filename.remove(extIndex + 1, sizeof("obj"));
|
||||
QByteArray defaultTexture = basename.toUtf8() + "jpg";
|
||||
//qCDebug(renderutils) << "basename for " << filename << " is " << basename << ", default:" << defaultTexture;
|
||||
QVector<FBXMeshPart> & meshParts = mesh.parts;
|
||||
|
|
Loading…
Reference in a new issue