Skip to content

Commit 27b04ec

Browse files
committed
fix: RGB files were generated for packed clouds #21, #BUILD
1 parent d4d054d commit 27b04ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Writers/PCROOT.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ void IWriter.Save(int fileIndex)
279279
usedGrid[index] = true;
280280

281281
//if (i < 3) Console.WriteLine("px: " + px + " py: " + py + " pz: " + pz + " index: " + index + " packx: " + packx + " packy: " + packy + " packz: " + packz);
282-
283282
}
284283

285284
if (useLossyFiltering == true)
@@ -325,7 +324,8 @@ void IWriter.Save(int fileIndex)
325324
writerPoints.Close();
326325
bsPoints.Dispose();
327326

328-
if (importSettings.packColors == false || useLossyFiltering == false)
327+
// NOTE useLossyFiltering is for testing only
328+
if (importSettings.packColors == false && useLossyFiltering == false)
329329
{
330330
// save separate RGB
331331
BufferedStream bsColors;

0 commit comments

Comments
 (0)