@archvisioninc/canvas 2.5.6 → 2.5.8

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.
@@ -233,7 +233,7 @@ export const updateMaterial = inboundData => {
233
233
  }
234
234
 
235
235
  // Normal/Bump
236
- if (bumpIntensity !== undefined) {
236
+ if (bumpIntensity !== undefined && !_.isEmpty(material.bumpTexture?.url)) {
237
237
  material.bumpTexture.level = bumpIntensity;
238
238
  }
239
239
  if (!_.isEmpty(bumpTexture)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archvisioninc/canvas",
3
- "version": "2.5.6",
3
+ "version": "2.5.8",
4
4
  "private": false,
5
5
  "main": "dist/Canvas.js",
6
6
  "module": "dist/Canvas.js",
@@ -266,7 +266,7 @@ export const updateMaterial = inboundData => {
266
266
  }
267
267
 
268
268
  // Normal/Bump
269
- if (bumpIntensity !== undefined) {
269
+ if (bumpIntensity !== undefined && !_.isEmpty(material.bumpTexture?.url)) {
270
270
  material.bumpTexture.level = bumpIntensity;
271
271
  }
272
272