Skip to content

Commit

Permalink
Vignetting update on changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
clementlandrin committed Jan 31, 2025
1 parent 49e6afa commit 47e915c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hrt/prefab/rfx/Vignetting.hx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ class Vignetting extends RendererFX {
<dt>Radius</dt><dd><input type="range" min="0" max="1" field="radius"/></dd>
<dt>Softness</dt><dd><input type="range" min="0" max="1" field="softness"/></dd>
</dl>
'),this);
'),this, function(pname) {
ctx.onChange(this, pname);
});
super.edit(ctx);
}
#end
Expand Down

0 comments on commit 47e915c

Please sign in to comment.