@needle-tools/materialx 1.0.6 → 1.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@needle-tools/materialx",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
6
  "exports": {
@@ -160,8 +160,7 @@ export class MaterialXMaterial extends ShaderMaterial {
160
160
 
161
161
  this._context = init.context;
162
162
 
163
- // if (debug)
164
- {
163
+ if (debug) {
165
164
  // Get lighting and environment data from MaterialX environment
166
165
  console.group("[MaterialX]: ", this.name);
167
166
  console.log(`Vertex shader length: ${vertexShader.length}\n`, vertexShader);