https://github.com/dalboris/vpaint
Revision d630d7abdbd7111a2c4b939946db6580f49deac3 authored by Boris Dalstein on 04 June 2020, 10:57:20 UTC, committed by Boris Dalstein on 04 June 2020, 10:57:20 UTC
1 parent 88468f6
Raw File
Tip revision: d630d7abdbd7111a2c4b939946db6580f49deac3 authored by Boris Dalstein on 04 June 2020, 10:57:20 UTC
Fix crash when soft-deleting a key vertex with an incident 'looping key open edge' and incident inbetween cells (#117)
Tip revision: d630d7a
update_copyright.py
#!/usr/bin/env python3
#

from pathlib import Path

before = "Copyright (C) 2012-2019 The VPaint Developers"

after = "Copyright (C) 2012-2019 The VPaint Developers"

if __name__ == "__main__":

    path = Path(".")
    for file in path.glob("src/**/*"):
        if file.suffix in [".h", ".cpp", ".pro"]:
            s1 = file.read_text()
            s2 = s1.replace(before, after)
            if s1 != s2:
                file.write_text(s2)
                print(file)
back to top