From 09cfe771fe8a66e1cecb4f9675cd6387ad081b3d Mon Sep 17 00:00:00 2001 From: kylemann16 Date: Wed, 17 Feb 2021 09:31:47 -0600 Subject: [PATCH] added comment --- plugins/draco/io/DracoWriter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/draco/io/DracoWriter.cpp b/plugins/draco/io/DracoWriter.cpp index f52cd53def..5666e93cae 100644 --- a/plugins/draco/io/DracoWriter.cpp +++ b/plugins/draco/io/DracoWriter.cpp @@ -238,7 +238,9 @@ void DracoWriter::parseDimensions(BasePointTable &table) } } - //add dimensions that should be there with zero fill + //add dimensions that should be there (eg POSITION = X, Y, Z) with zero fill + //If a dimension isn't specified, but is necessary for multi-dimensional + //Geometry Attributes, fill it with zeros for (auto &dimInfo: m_dims) { int numDims = dimInfo.pdalDims.size(); auto idList = getDimensions(dimInfo.dracoAtt);