Merge branch 'feature/effect-profiles' into feature/effect-profiles-gs41

This commit is contained in:
Simon Schneegans
2023-02-02 10:40:30 +01:00
+2 -1
View File
@@ -44,7 +44,8 @@ var PixelWipe = class {
shader._uStartPos = shader.get_uniform_location('uStartPos'); shader._uStartPos = shader.get_uniform_location('uStartPos');
// Write all uniform values at the start of each animation. // Write all uniform values at the start of each animation.
shader.connect('begin-animation', (shader, settings, forOpening, actor) => { shader.connect(
'begin-animation', (shader, settings, forOpening, testMode, actor) => {
// Because the actor position may change after the begin-animation signal is // Because the actor position may change after the begin-animation signal is
// called, we set the uStartPos uniform during the update callback. // called, we set the uStartPos uniform during the update callback.
this._startPointerPos = global.get_pointer(); this._startPointerPos = global.get_pointer();