From 12fe2c496cc894ef94d9f6a1d78424240ef274c0 Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Tue, 12 Dec 2017 14:36:24 +0100 Subject: [PATCH] Tag OpenSim scripts in the description --- AVsitter2/build-aux.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/AVsitter2/build-aux.py b/AVsitter2/build-aux.py index 1458e93..0e616b3 100644 --- a/AVsitter2/build-aux.py +++ b/AVsitter2/build-aux.py @@ -61,6 +61,12 @@ def oss_process(filename): 'b88526b7-3966-43fd-ae76-1e39881c86aa') # TODO: Replace LockGuard texture UUIDs + # OpenSim 0.8.0 does not support this constant. + #s = s.replace('OBJECT_BODY_SHAPE_TYPE', '26 /*OBJECT_BODY_SHAPE_TYPE*/') + + # Tag OpenSim releases + s = s.replace('\n *\n * This Source Code', '\n * (OpenSim version)\n *\n * This Source Code') + s = os_line_re.sub(r'\1\2', s) s = sl_block_re.sub('', s) s = os_block_re.sub(r'\1', s)