@archvisioninc/canvas 2.5.1 → 2.5.2
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.
|
@@ -63,8 +63,10 @@ const tweakSceneForShaderball = () => {
|
|
|
63
63
|
if (yAxis) yAxis.isVisible = false;
|
|
64
64
|
if (zAxis) zAxis.isVisible = false;
|
|
65
65
|
if (ground) ground.isVisible = false;
|
|
66
|
-
const mainMaterial =
|
|
67
|
-
|
|
66
|
+
const mainMaterial = {
|
|
67
|
+
materialId: 'material'
|
|
68
|
+
};
|
|
69
|
+
newMetaDataEntry('selectedMaterials', [mainMaterial]);
|
|
68
70
|
prepareMaterialCamera();
|
|
69
71
|
props.clearNotifications?.();
|
|
70
72
|
};
|
package/package.json
CHANGED
|
@@ -111,9 +111,9 @@ const tweakSceneForShaderball = () => {
|
|
|
111
111
|
if (zAxis) zAxis.isVisible = false;
|
|
112
112
|
if (ground) ground.isVisible = false;
|
|
113
113
|
|
|
114
|
-
const mainMaterial =
|
|
114
|
+
const mainMaterial = { materialId: 'material' };
|
|
115
115
|
|
|
116
|
-
newMetaDataEntry('
|
|
116
|
+
newMetaDataEntry('selectedMaterials', [ mainMaterial ]);
|
|
117
117
|
prepareMaterialCamera();
|
|
118
118
|
props.clearNotifications?.();
|
|
119
119
|
};
|