From a97777f6c4580d7e58e7f2dcf00b863051bd3289 Mon Sep 17 00:00:00 2001 From: per Date: Wed, 14 Nov 2018 22:10:35 +0100 Subject: [PATCH] reformat license headers --- TODO.md | 4 ++++ fspy_blender/__init__.py | 32 +++++++++++++++----------------- fspy_blender/addon.py | 32 +++++++++++++++----------------- fspy_blender/fspy.py | 32 +++++++++++++++----------------- 4 files changed, 49 insertions(+), 51 deletions(-) create mode 100644 TODO.md diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..0b27b8f --- /dev/null +++ b/TODO.md @@ -0,0 +1,4 @@ +* proper reloading +* import sensor size? +* license +* show warning if no 3D view is open \ No newline at end of file diff --git a/fspy_blender/__init__.py b/fspy_blender/__init__.py index 6ba0ee6..8a1e1b7 100644 --- a/fspy_blender/__init__.py +++ b/fspy_blender/__init__.py @@ -1,20 +1,18 @@ -''' -fSpy Blender importer -Copyright (C) 2018 - Per Gantelius - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -''' +# fSpy Blender importer +# Copyright (C) 2018 - Per Gantelius +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . # Add-on metadata bl_info = { diff --git a/fspy_blender/addon.py b/fspy_blender/addon.py index 392d0dc..bad7197 100644 --- a/fspy_blender/addon.py +++ b/fspy_blender/addon.py @@ -1,20 +1,18 @@ -''' -fSpy Blender importer -Copyright (C) 2018 - Per Gantelius - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -''' +# fSpy Blender importer +# Copyright (C) 2018 - Per Gantelius +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . import bpy import mathutils diff --git a/fspy_blender/fspy.py b/fspy_blender/fspy.py index 218ef99..1ab2bca 100644 --- a/fspy_blender/fspy.py +++ b/fspy_blender/fspy.py @@ -1,20 +1,18 @@ -''' -fSpy Blender importer -Copyright (C) 2018 - Per Gantelius - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -''' +# fSpy Blender importer +# Copyright (C) 2018 - Per Gantelius +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . import os import json