Allow stair side clicks to target side materials
This commit is contained in:
@@ -108,6 +108,10 @@ function resolveStairMaterialTarget(
|
|||||||
return 'railing'
|
return 'railing'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (hitObjectName.startsWith('stair-side')) {
|
||||||
|
return 'side'
|
||||||
|
}
|
||||||
|
|
||||||
if (event.materialIndex === 0) {
|
if (event.materialIndex === 0) {
|
||||||
return 'tread'
|
return 'tread'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user