Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.

Commit cc8a91c

Browse files
committed
Add defaults for wireframeLinejoin, wireframeLinecap, and correct data type of envMapIntensity
1 parent 8fcf7e2 commit cc8a91c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/app/data/material-shared.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export const envMap = {
138138

139139
export const envMapIntensity = {
140140
name: 'Environment Intensity',
141-
type: 'texture',
141+
type: 'number',
142142
prop: 'envMapIntensity',
143143
};
144144

@@ -240,10 +240,12 @@ export const wireframe = {
240240
name: 'Line Cap',
241241
type: 'string',
242242
prop: 'wireframeLinecap',
243+
default: 'round',
243244
}, {
244245
name: 'Line Join',
245246
type: 'string',
246247
prop: 'wireframeLinejoin',
248+
default: 'round',
247249
}]
248250
}
249251

0 commit comments

Comments
 (0)