Skip to content

Commit dbeedcc

Browse files
committed
Fix typo
This was preventing shadow maps properties from being updated correctly. What happened was: - onChange would trigger for WebGLShadowMap model - The base class syncToModel was called due to the typo - `save_changes` was called, which clears the `changed` attributes etc. - The `change` listener on `Renderer` would trigger, and try to look at the changed attributes. There might be a benefit to wrapping that save_changes call in a "callSoon" function?
1 parent 8776770 commit dbeedcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/src/renderers/webgl/WebGLShadowMap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class WebGLShadowMapModel extends WebGLShadowMapAutogenModel {
2424
// Leave this to Renderable
2525
}
2626

27-
synToModel(syncAllProps) {
27+
syncToModel(syncAllProps) {
2828
// Leave this to Renderable
2929
}
3030

0 commit comments

Comments
 (0)