Skip to content

Commit

Permalink
Merge pull request #163 from balazs151/update-default-mtl-diffuse-color
Browse files Browse the repository at this point in the history
Update default diffuse color used when reading mtl files
  • Loading branch information
ponchio authored Oct 30, 2023
2 parents 0d9f474 + c6cf873 commit 2fad359
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/nxsbuild/objloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ void ObjLoader::readMTL() {
if (str.startsWith("newmtl", Qt::CaseInsensitive)){
QString mtltag = str.section(" ", 1);
QString txtfname;
qint32 R = 0;
qint32 G = 0;
qint32 B = 0;
qint32 R = 0xff000000;
qint32 G = 0x00ff0000;
qint32 B = 0x0000ff00;
qint32 A = 255;

do {
Expand Down

0 comments on commit 2fad359

Please sign in to comment.