summaryrefslogtreecommitdiff
path: root/lib/update.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2025-01-11 08:54:32 +0100
committerGitHub <noreply@github.com>2025-01-11 08:54:32 +0100
commit0e218fd31721b44ef1a4e0515f1e37d3ae150ae9 (patch)
treeedf0c3bc67a8804d279cc4713754c5ec2518197c /lib/update.py
parentfd0550edbcfa65b8381cbc2283a344fcc30a0da9 (diff)
satin: set start/end at nearest point as default (#3423)
Diffstat (limited to 'lib/update.py')
-rw-r--r--lib/update.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/update.py b/lib/update.py
index 05d84272..a0bdb084 100644
--- a/lib/update.py
+++ b/lib/update.py
@@ -89,6 +89,14 @@ def _update_to(version, element):
_update_to_one(element)
elif version == 2:
_update_to_two(element)
+ elif version == 3:
+ _update_to_three(element)
+
+
+def _update_to_three(element):
+ if element.get_boolean_param('satin_column', False):
+ element.set_param('start_at_nearest_point', False)
+ element.set_param('end_at_nearest_point', False)
def _update_to_two(element):