diff options
| author | yum <yum.food.vr@gmail.com> | 2022-10-14 19:07:40 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2022-10-14 19:07:40 -0700 |
| commit | 5c5e3c00bea91d00c2a3c3ec7ae29037c0989967 (patch) | |
| tree | d02c203ba000acc4310aa6db613fafa1975bfcda /generate_fx.py | |
| parent | 443e3995301a8949100ee95eccf074503c45db14 (diff) | |
reimplement animator merging in yaml parser
Object IDs are allocated optimally now, but it's a bit slower due to
long parse times.
Also fix minor bug in generate_fx.py.
Diffstat (limited to 'generate_fx.py')
| -rw-r--r-- | generate_fx.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generate_fx.py b/generate_fx.py index 0b9b9ab..e6d72c7 100644 --- a/generate_fx.py +++ b/generate_fx.py @@ -86,7 +86,7 @@ ANIMATOR_PARAMETER_INT = """ m_DefaultFloat: 0 m_DefaultInt: 64 m_DefaultBool: 0 - m_Controller: {fileID: 0} + m_Controller: {fileID: %ANIMATOR_HEADER_U2%} """[1:][:-1] ANIMATOR_PARAMETER_BOOL = """ @@ -95,7 +95,7 @@ ANIMATOR_PARAMETER_BOOL = """ m_DefaultFloat: 0 m_DefaultInt: 0 m_DefaultBool: 0 - m_Controller: {fileID: 0} + m_Controller: {fileID: %ANIMATOR_HEADER_U2%} """[1:][:-1] ANIMATOR_LAYER_HEADER = """ |
