@galacean/engine-shaderlab 1.6.6 → 1.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5897,7 +5897,9 @@ var PpUtils = /*#__PURE__*/ function() {
5897
5897
  generatedIdx = generatedIdxEnd;
5898
5898
  }
5899
5899
  ret.push(source.slice(startIdx));
5900
- return ret.join("");
5900
+ var result = ret.join("");
5901
+ // Replace multiple consecutive newlines with a single newline to clean up the output
5902
+ return result.replace(/\n\s*\n+/g, "\n");
5901
5903
  };
5902
5904
  return PpUtils;
5903
5905
  }();
@@ -8842,7 +8844,7 @@ ShaderLab._shaderPositionPool = ShaderLabUtils.createObjectPool(ShaderPosition);
8842
8844
  ShaderLab._shaderRangePool = ShaderLabUtils.createObjectPool(ShaderRange);
8843
8845
 
8844
8846
  //@ts-ignore
8845
- var version = "1.6.6";
8847
+ var version = "1.6.7";
8846
8848
  var mode = "Release";
8847
8849
  mode = "Verbose";
8848
8850
  console.log("Galacean Engine ShaderLab Version: " + version + " | Mode: " + mode);