@archvisioninc/canvas 3.2.0 → 3.2.1

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.
@@ -1181,7 +1181,7 @@ export const updateLighting = inboundData => {
1181
1181
  light.setDirectionToTarget(target);
1182
1182
  }
1183
1183
  if (enable !== undefined) {
1184
- light.isEnabled = enable;
1184
+ light.setEnabled(enable);
1185
1185
  }
1186
1186
  if (radius !== undefined) {
1187
1187
  light.radius = radius;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archvisioninc/canvas",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "private": false,
5
5
  "main": "dist/Canvas.js",
6
6
  "module": "dist/Canvas.js",
@@ -1184,7 +1184,7 @@ export const updateLighting = inboundData => {
1184
1184
  }
1185
1185
 
1186
1186
  if (enable !== undefined) {
1187
- light.isEnabled = enable;
1187
+ light.setEnabled(enable);
1188
1188
  }
1189
1189
 
1190
1190
  if (radius !== undefined) {