From 14888f459e1c1175a61910c5e6f6e1f2f97a00fd Mon Sep 17 00:00:00 2001 From: Jeremy HU Date: Mon, 12 Dec 2022 22:35:58 +1100 Subject: [PATCH] Fix default texture color --- application/sources/uv_map_generator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/sources/uv_map_generator.cc b/application/sources/uv_map_generator.cc index 5e79c251..323daeb9 100644 --- a/application/sources/uv_map_generator.cc +++ b/application/sources/uv_map_generator.cc @@ -98,7 +98,7 @@ void UvMapGenerator::packUvs() for (const auto& partIt : m_snapshot->parts) { dust3d::Uuid imageId; - dust3d::Color color; + dust3d::Color color(1.0, 1.0, 1.0); double width = 1.0; double height = 1.0; const auto& colorIt = partIt.second.find("color");