mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Fixed 3ds export colors.
This commit is contained in:
parent
a026b323bf
commit
bfe1abc094
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ void Export3DStudio()
|
|||
lcColor* Color = &gColorList[ColorIdx];
|
||||
|
||||
InitMaterial3ds(&matr);
|
||||
sprintf(matr->name, "Material_%s", Color->SafeName);
|
||||
sprintf(matr->name, "Material%03d", ColorIdx);
|
||||
|
||||
matr->ambient.r = matr->diffuse.r = Color->Value[0];
|
||||
matr->ambient.g = matr->diffuse.g = Color->Value[1];
|
||||
|
|
Loading…
Reference in a new issue