Skip to content

Commit

Permalink
mvs: fix color save
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcseacave authored Dec 24, 2019
1 parent 64e276a commit 6180ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/MVS/Scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ bool Scene::SaveInterface(const String & fileName) const
vertexNormal.n = normal;
}
}
if (!pointcloud.normals.IsEmpty()) {
if (!pointcloud.colors.IsEmpty()) {
obj.verticesColor.resize(pointcloud.colors.GetSize());
FOREACH(i, pointcloud.colors) {
const PointCloud::Color& color = pointcloud.colors[i];
Expand Down

0 comments on commit 6180ce1

Please sign in to comment.