diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-21 16:06:59 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-21 16:08:45 +0200 |
commit | ee07560abfb21af62a20da8b2fcbd0265c46a78c (patch) | |
tree | 9fd319bd3ac782bc4d9fe8df92dd3f42e9cb5c01 /editor/icons/icon_action_paste.svg | |
parent | 34224d5ce55cd22ca8c627f79413f71f957af800 (diff) |
Curve: Prevent forcing 1.0 min value to 0.99
The setters are called when the property is first initialized, and before
that its default min and max are 0.0 and 1.0 respectively.
If you configured min_value to 1.0 and max_value to e.g. 3.0, since the
min_value setter can be called before that of max_value (which thus still
defaults to 1.0), the min will be set to 0.99.
Same conflict could happen with a configured max_value of 0 if its setter
is called before that of a valid, negative min value.
Diffstat (limited to 'editor/icons/icon_action_paste.svg')
0 files changed, 0 insertions, 0 deletions