mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +02:00
Corrected event listener for canCastShadow - still bad.
This commit is contained in:
parent
ef771b6db4
commit
12f4b8dbb1
1 changed files with 2 additions and 6 deletions
|
@ -1392,12 +1392,8 @@ function loaded() {
|
|||
|
||||
elShape.addEventListener('change', createEmitTextPropertyUpdateFunction('shape'));
|
||||
|
||||
if (properties.type === "Model" ||
|
||||
properties.type === "Shape" || properties.type === "Box" || properties.type === "Sphere") {
|
||||
|
||||
elCanCastShadow.addEventListener('change', createEmitTextPropertyUpdateFunction('canCastShadow'));
|
||||
}
|
||||
|
||||
elCanCastShadow.addEventListener('change', createEmitCheckedPropertyUpdateFunction('canCastShadow'));
|
||||
|
||||
elImageURL.addEventListener('change', createImageURLUpdateFunction('textures'));
|
||||
|
||||
elWebSourceURL.addEventListener('change', createEmitTextPropertyUpdateFunction('sourceUrl'));
|
||||
|
|
Loading…
Reference in a new issue