diff --git a/intern/opensubdiv/internal/base/memory.h b/intern/opensubdiv/internal/base/memory.h index e4d38e3c482..c958416013e 100644 --- a/intern/opensubdiv/internal/base/memory.h +++ b/intern/opensubdiv/internal/base/memory.h @@ -1,18 +1,6 @@ -// Copyright 2020 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +/* SPDX-FileCopyrightText: 2020 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef OPENSUBDIV_BASE_MEMORY_H_ #define OPENSUBDIV_BASE_MEMORY_H_ diff --git a/intern/opensubdiv/internal/base/opensubdiv_capi.cc b/intern/opensubdiv/internal/base/opensubdiv_capi.cc index a61c58913bb..8bfb6fe54be 100644 --- a/intern/opensubdiv/internal/base/opensubdiv_capi.cc +++ b/intern/opensubdiv/internal/base/opensubdiv_capi.cc @@ -1,18 +1,6 @@ -// Copyright 2013 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +/* SPDX-FileCopyrightText: 2013 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "opensubdiv_capi.h" #include "opensubdiv/version.h" diff --git a/intern/opensubdiv/internal/base/type.h b/intern/opensubdiv/internal/base/type.h index 14fd806040b..832078ec569 100644 --- a/intern/opensubdiv/internal/base/type.h +++ b/intern/opensubdiv/internal/base/type.h @@ -1,18 +1,6 @@ -// Copyright 2013 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +/* SPDX-FileCopyrightText: 2013 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef OPENSUBDIV_BASE_TYPE_H_ #define OPENSUBDIV_BASE_TYPE_H_ diff --git a/intern/opensubdiv/internal/base/type_convert.cc b/intern/opensubdiv/internal/base/type_convert.cc index 33faae25137..82b2128ce5b 100644 --- a/intern/opensubdiv/internal/base/type_convert.cc +++ b/intern/opensubdiv/internal/base/type_convert.cc @@ -1,20 +1,8 @@ -// Copyright 2018 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2018 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #ifdef _MSC_VER # include diff --git a/intern/opensubdiv/internal/base/type_convert.h b/intern/opensubdiv/internal/base/type_convert.h index 2e329a569cc..db6d438a1d3 100644 --- a/intern/opensubdiv/internal/base/type_convert.h +++ b/intern/opensubdiv/internal/base/type_convert.h @@ -1,20 +1,8 @@ -// Copyright 2018 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2018 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #ifndef OPENSUBDIV_BASE_TYPE_CONVERT_H_ #define OPENSUBDIV_BASE_TYPE_CONVERT_H_ diff --git a/intern/opensubdiv/internal/base/util.cc b/intern/opensubdiv/internal/base/util.cc index f5e315ef21c..86d1c9cfb17 100644 --- a/intern/opensubdiv/internal/base/util.cc +++ b/intern/opensubdiv/internal/base/util.cc @@ -1,18 +1,6 @@ -// Copyright 2013 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +/* SPDX-FileCopyrightText: 2013 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "internal/base/util.h" diff --git a/intern/opensubdiv/internal/base/util.h b/intern/opensubdiv/internal/base/util.h index a8594be5a92..e466d524c81 100644 --- a/intern/opensubdiv/internal/base/util.h +++ b/intern/opensubdiv/internal/base/util.h @@ -1,18 +1,6 @@ -// Copyright 2013 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +/* SPDX-FileCopyrightText: 2013 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef OPENSUBDIV_BASE_UTIL_H_ #define OPENSUBDIV_BASE_UTIL_H_ diff --git a/intern/opensubdiv/internal/evaluator/eval_output.cc b/intern/opensubdiv/internal/evaluator/eval_output.cc index caaaecd85ce..2c8d687a849 100644 --- a/intern/opensubdiv/internal/evaluator/eval_output.cc +++ b/intern/opensubdiv/internal/evaluator/eval_output.cc @@ -1,20 +1,8 @@ -// Copyright 2021 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2021 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #include "internal/evaluator/eval_output.h" diff --git a/intern/opensubdiv/internal/evaluator/eval_output.h b/intern/opensubdiv/internal/evaluator/eval_output.h index 8b9c1e8f030..6d3c1b6a89d 100644 --- a/intern/opensubdiv/internal/evaluator/eval_output.h +++ b/intern/opensubdiv/internal/evaluator/eval_output.h @@ -1,20 +1,8 @@ -// Copyright 2021 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2021 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #ifndef OPENSUBDIV_EVAL_OUTPUT_H_ #define OPENSUBDIV_EVAL_OUTPUT_H_ diff --git a/intern/opensubdiv/internal/evaluator/eval_output_cpu.cc b/intern/opensubdiv/internal/evaluator/eval_output_cpu.cc index 5b226c503fe..a7b325bb64c 100644 --- a/intern/opensubdiv/internal/evaluator/eval_output_cpu.cc +++ b/intern/opensubdiv/internal/evaluator/eval_output_cpu.cc @@ -1,20 +1,8 @@ -// Copyright 2021 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2021 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ namespace blender { namespace opensubdiv { diff --git a/intern/opensubdiv/internal/evaluator/eval_output_cpu.h b/intern/opensubdiv/internal/evaluator/eval_output_cpu.h index cc748382a1d..a2e97f6e338 100644 --- a/intern/opensubdiv/internal/evaluator/eval_output_cpu.h +++ b/intern/opensubdiv/internal/evaluator/eval_output_cpu.h @@ -1,20 +1,8 @@ -// Copyright 2021 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2021 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #ifndef OPENSUBDIV_EVAL_OUTPUT_CPU_H_ #define OPENSUBDIV_EVAL_OUTPUT_CPU_H_ diff --git a/intern/opensubdiv/internal/evaluator/eval_output_gpu.cc b/intern/opensubdiv/internal/evaluator/eval_output_gpu.cc index fea4f4a70a8..0757ee24c4e 100644 --- a/intern/opensubdiv/internal/evaluator/eval_output_gpu.cc +++ b/intern/opensubdiv/internal/evaluator/eval_output_gpu.cc @@ -1,20 +1,8 @@ -// Copyright 2021 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2021 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #include "internal/evaluator/eval_output_gpu.h" diff --git a/intern/opensubdiv/internal/evaluator/eval_output_gpu.h b/intern/opensubdiv/internal/evaluator/eval_output_gpu.h index 309d9548529..0f589735758 100644 --- a/intern/opensubdiv/internal/evaluator/eval_output_gpu.h +++ b/intern/opensubdiv/internal/evaluator/eval_output_gpu.h @@ -1,20 +1,8 @@ -// Copyright 2021 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2021 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #ifndef OPENSUBDIV_EVAL_OUTPUT_GPU_H_ #define OPENSUBDIV_EVAL_OUTPUT_GPU_H_ diff --git a/intern/opensubdiv/internal/evaluator/evaluator_cache_impl.cc b/intern/opensubdiv/internal/evaluator/evaluator_cache_impl.cc index ede73789b14..36a6021a0fb 100644 --- a/intern/opensubdiv/internal/evaluator/evaluator_cache_impl.cc +++ b/intern/opensubdiv/internal/evaluator/evaluator_cache_impl.cc @@ -1,18 +1,6 @@ -// Copyright 2021 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +/* SPDX-FileCopyrightText: 2021 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "internal/evaluator/evaluator_cache_impl.h" diff --git a/intern/opensubdiv/internal/evaluator/evaluator_cache_impl.h b/intern/opensubdiv/internal/evaluator/evaluator_cache_impl.h index e99476f3169..f25467b8ef3 100644 --- a/intern/opensubdiv/internal/evaluator/evaluator_cache_impl.h +++ b/intern/opensubdiv/internal/evaluator/evaluator_cache_impl.h @@ -1,18 +1,6 @@ -// Copyright 2021 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +/* SPDX-FileCopyrightText: 2021 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef OPENSUBDIV_EVALUATOR_CACHE_IMPL_H_ #define OPENSUBDIV_EVALUATOR_CACHE_IMPL_H_ diff --git a/intern/opensubdiv/internal/evaluator/evaluator_capi.cc b/intern/opensubdiv/internal/evaluator/evaluator_capi.cc index 15799ace189..96960337e94 100644 --- a/intern/opensubdiv/internal/evaluator/evaluator_capi.cc +++ b/intern/opensubdiv/internal/evaluator/evaluator_capi.cc @@ -1,20 +1,8 @@ -// Copyright 2015 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2015 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #include "opensubdiv_evaluator_capi.h" diff --git a/intern/opensubdiv/internal/evaluator/evaluator_impl.cc b/intern/opensubdiv/internal/evaluator/evaluator_impl.cc index d1e518dd1ac..a356851c7c8 100644 --- a/intern/opensubdiv/internal/evaluator/evaluator_impl.cc +++ b/intern/opensubdiv/internal/evaluator/evaluator_impl.cc @@ -1,20 +1,8 @@ -// Copyright 2018 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2018 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #include "internal/evaluator/evaluator_impl.h" diff --git a/intern/opensubdiv/internal/evaluator/evaluator_impl.h b/intern/opensubdiv/internal/evaluator/evaluator_impl.h index 9bf5e2d8c6e..8fb7be920a1 100644 --- a/intern/opensubdiv/internal/evaluator/evaluator_impl.h +++ b/intern/opensubdiv/internal/evaluator/evaluator_impl.h @@ -1,20 +1,8 @@ -// Copyright 2018 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2018 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #ifndef OPENSUBDIV_EVALUATOR_IMPL_H_ #define OPENSUBDIV_EVALUATOR_IMPL_H_ diff --git a/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.cc b/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.cc index c44c12814c0..36114780a10 100644 --- a/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.cc +++ b/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.cc @@ -1,26 +1,6 @@ -// -// Copyright 2015 Pixar -// -// Licensed under the Apache License, Version 2.0 (the "Apache License") -// with the following modification; you may not use this file except in -// compliance with the Apache License and the following modification to it: -// Section 6. Trademarks. is deleted and replaced with: -// -// 6. Trademarks. This License does not grant permission to use the trade -// names, trademarks, service marks, or product names of the Licensor -// and its affiliates, except as required to comply with Section 4(c) of -// the License and to reproduce the content of the NOTICE file. -// -// You may obtain a copy of the Apache License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the Apache License with the above modification is -// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -// KIND, either express or implied. See the Apache License for the specific -// language governing permissions and limitations under the Apache License. -// +/* SPDX-FileCopyrightText: 2015 Pixar + * + * SPDX-License-Identifier: Apache-2.0 */ #include diff --git a/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.h b/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.h index 85c12f73b08..64eb61a7e71 100644 --- a/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.h +++ b/intern/opensubdiv/internal/evaluator/gl_compute_evaluator.h @@ -1,26 +1,6 @@ -// -// Copyright 2015 Pixar -// -// Licensed under the Apache License, Version 2.0 (the "Apache License") -// with the following modification; you may not use this file except in -// compliance with the Apache License and the following modification to it: -// Section 6. Trademarks. is deleted and replaced with: -// -// 6. Trademarks. This License does not grant permission to use the trade -// names, trademarks, service marks, or product names of the Licensor -// and its affiliates, except as required to comply with Section 4(c) of -// the License and to reproduce the content of the NOTICE file. -// -// You may obtain a copy of the Apache License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the Apache License with the above modification is -// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -// KIND, either express or implied. See the Apache License for the specific -// language governing permissions and limitations under the Apache License. -// +/* SPDX-FileCopyrightText: 2015 Pixar + * + * SPDX-License-Identifier: Apache-2.0 */ #ifndef OPENSUBDIV_GL_COMPUTE_EVALUATOR_H_ #define OPENSUBDIV_GL_COMPUTE_EVALUATOR_H_ diff --git a/intern/opensubdiv/internal/evaluator/patch_map.cc b/intern/opensubdiv/internal/evaluator/patch_map.cc index f6e7cf774b9..9f3647586e4 100644 --- a/intern/opensubdiv/internal/evaluator/patch_map.cc +++ b/intern/opensubdiv/internal/evaluator/patch_map.cc @@ -1,26 +1,9 @@ -// Original code copyright 2013 Pixar. -// -// Licensed under the Apache License, Version 2.0 (the "Apache License") -// with the following modification; you may not use this file except in -// compliance with the Apache License and the following modification to it: -// Section 6. Trademarks. is deleted and replaced with: -// -// 6. Trademarks. This License does not grant permission to use the trade -// names, trademarks, service marks, or product names of the Licensor -// and its affiliates, except as required to comply with Section 4(c) of -// the License and to reproduce the content of the NOTICE file. -// -// You may obtain a copy of the Apache License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the Apache License with the above modification is -// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -// KIND, either express or implied. See the Apache License for the specific -// language governing permissions and limitations under the Apache License. -// -// Modifications copyright 2021 Blender Foundation +/* SPDX-FileCopyrightText: 2013 Pixar + * SPDX-FileCopyrightText: 2021 Blender Foundation + * + * SPDX-License-Identifier: Apache-2.0 + * + * Original code by Pixar with modifications by the Blender foundation. */ #include "internal/evaluator/patch_map.h" #include diff --git a/intern/opensubdiv/internal/evaluator/patch_map.h b/intern/opensubdiv/internal/evaluator/patch_map.h index 8026155dfd5..98da775ca73 100644 --- a/intern/opensubdiv/internal/evaluator/patch_map.h +++ b/intern/opensubdiv/internal/evaluator/patch_map.h @@ -1,26 +1,9 @@ -// Original code copyright 2013 Pixar. -// -// Licensed under the Apache License, Version 2.0 (the "Apache License") -// with the following modification; you may not use this file except in -// compliance with the Apache License and the following modification to it: -// Section 6. Trademarks. is deleted and replaced with: -// -// 6. Trademarks. This License does not grant permission to use the trade -// names, trademarks, service marks, or product names of the Licensor -// and its affiliates, except as required to comply with Section 4(c) of -// the License and to reproduce the content of the NOTICE file. -// -// You may obtain a copy of the Apache License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the Apache License with the above modification is -// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -// KIND, either express or implied. See the Apache License for the specific -// language governing permissions and limitations under the Apache License. -// -// Modifications copyright 2021 Blender Foundation +/* SPDX-FileCopyrightText: 2013 Pixar + * SPDX-FileCopyrightText: 2021 Blender Foundation + * + * SPDX-License-Identifier: Apache-2.0 + * + * Original code by Pixar with modifications by the Blender foundation. */ #ifndef OPENSUBDIV_PATCH_MAP_H_ #define OPENSUBDIV_PATCH_MAP_H_ diff --git a/intern/opensubdiv/internal/topology/mesh_topology.cc b/intern/opensubdiv/internal/topology/mesh_topology.cc index 8be33ab85b7..f3c78ff767f 100644 --- a/intern/opensubdiv/internal/topology/mesh_topology.cc +++ b/intern/opensubdiv/internal/topology/mesh_topology.cc @@ -1,20 +1,8 @@ -// Copyright 2020 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2020 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #include "internal/topology/mesh_topology.h" diff --git a/intern/opensubdiv/internal/topology/mesh_topology.h b/intern/opensubdiv/internal/topology/mesh_topology.h index 448d86a8267..906a0956c82 100644 --- a/intern/opensubdiv/internal/topology/mesh_topology.h +++ b/intern/opensubdiv/internal/topology/mesh_topology.h @@ -1,20 +1,8 @@ -// Copyright 2020 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2020 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #ifndef OPENSUBDIV_MESH_TOPOLOGY_H_ #define OPENSUBDIV_MESH_TOPOLOGY_H_ diff --git a/intern/opensubdiv/internal/topology/mesh_topology_compare.cc b/intern/opensubdiv/internal/topology/mesh_topology_compare.cc index 3b8c56a66d3..f741d0864fd 100644 --- a/intern/opensubdiv/internal/topology/mesh_topology_compare.cc +++ b/intern/opensubdiv/internal/topology/mesh_topology_compare.cc @@ -1,20 +1,8 @@ -// Copyright 2020 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2020 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #include "internal/topology/mesh_topology.h" diff --git a/intern/opensubdiv/internal/topology/mesh_topology_test.cc b/intern/opensubdiv/internal/topology/mesh_topology_test.cc index 71cbaf9da1b..5a437d7118e 100644 --- a/intern/opensubdiv/internal/topology/mesh_topology_test.cc +++ b/intern/opensubdiv/internal/topology/mesh_topology_test.cc @@ -1,20 +1,8 @@ -// Copyright 2020 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2020 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #include "internal/topology/mesh_topology.h" #include "testing/testing.h" diff --git a/intern/opensubdiv/internal/topology/topology_refiner_capi.cc b/intern/opensubdiv/internal/topology/topology_refiner_capi.cc index dcd3d06efc8..2d7c04732c7 100644 --- a/intern/opensubdiv/internal/topology/topology_refiner_capi.cc +++ b/intern/opensubdiv/internal/topology/topology_refiner_capi.cc @@ -1,20 +1,8 @@ -// Copyright 2018 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2018 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #include "opensubdiv_topology_refiner_capi.h" diff --git a/intern/opensubdiv/internal/topology/topology_refiner_factory.cc b/intern/opensubdiv/internal/topology/topology_refiner_factory.cc index a85c9a40aeb..4f3501507a8 100644 --- a/intern/opensubdiv/internal/topology/topology_refiner_factory.cc +++ b/intern/opensubdiv/internal/topology/topology_refiner_factory.cc @@ -1,20 +1,8 @@ -// Copyright 2015 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2015 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #ifdef _MSC_VER # include diff --git a/intern/opensubdiv/internal/topology/topology_refiner_impl.cc b/intern/opensubdiv/internal/topology/topology_refiner_impl.cc index dd4b8bcfca5..2c2ba868a86 100644 --- a/intern/opensubdiv/internal/topology/topology_refiner_impl.cc +++ b/intern/opensubdiv/internal/topology/topology_refiner_impl.cc @@ -1,20 +1,8 @@ -// Copyright 2016 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2016 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #include "internal/topology/topology_refiner_impl.h" diff --git a/intern/opensubdiv/internal/topology/topology_refiner_impl.h b/intern/opensubdiv/internal/topology/topology_refiner_impl.h index e4dc537c0c8..c5aff23e78b 100644 --- a/intern/opensubdiv/internal/topology/topology_refiner_impl.h +++ b/intern/opensubdiv/internal/topology/topology_refiner_impl.h @@ -1,20 +1,8 @@ -// Copyright 2016 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2016 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #ifndef OPENSUBDIV_TOPOLOGY_REFINER_IMPL_H_ #define OPENSUBDIV_TOPOLOGY_REFINER_IMPL_H_ diff --git a/intern/opensubdiv/internal/topology/topology_refiner_impl_compare.cc b/intern/opensubdiv/internal/topology/topology_refiner_impl_compare.cc index eb7965dd33c..074e442b276 100644 --- a/intern/opensubdiv/internal/topology/topology_refiner_impl_compare.cc +++ b/intern/opensubdiv/internal/topology/topology_refiner_impl_compare.cc @@ -1,20 +1,8 @@ -// Copyright 2018 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2018 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #include "internal/topology/topology_refiner_impl.h" diff --git a/intern/opensubdiv/opensubdiv_capi.h b/intern/opensubdiv/opensubdiv_capi.h index 0c0b68940c3..c82b81c0cf3 100644 --- a/intern/opensubdiv/opensubdiv_capi.h +++ b/intern/opensubdiv/opensubdiv_capi.h @@ -1,20 +1,8 @@ -// Copyright 2013 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2013 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #ifndef OPENSUBDIV_CAPI_H_ #define OPENSUBDIV_CAPI_H_ diff --git a/intern/opensubdiv/opensubdiv_capi_type.h b/intern/opensubdiv/opensubdiv_capi_type.h index 1bdc16eaa43..37de7e5842c 100644 --- a/intern/opensubdiv/opensubdiv_capi_type.h +++ b/intern/opensubdiv/opensubdiv_capi_type.h @@ -1,20 +1,8 @@ -// Copyright 2013 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2013 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #ifndef OPENSUBDIV_CAPI_TYPES_H_ #define OPENSUBDIV_CAPI_TYPES_H_ diff --git a/intern/opensubdiv/opensubdiv_converter_capi.h b/intern/opensubdiv/opensubdiv_converter_capi.h index 114f91bfa4e..60b80f1c64a 100644 --- a/intern/opensubdiv/opensubdiv_converter_capi.h +++ b/intern/opensubdiv/opensubdiv_converter_capi.h @@ -1,20 +1,8 @@ -// Copyright 2015 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2015 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #ifndef OPENSUBDIV_CONVERTER_CAPI_H_ #define OPENSUBDIV_CONVERTER_CAPI_H_ diff --git a/intern/opensubdiv/opensubdiv_evaluator_capi.h b/intern/opensubdiv/opensubdiv_evaluator_capi.h index 51c6ad4af84..98b51e7a4e5 100644 --- a/intern/opensubdiv/opensubdiv_evaluator_capi.h +++ b/intern/opensubdiv/opensubdiv_evaluator_capi.h @@ -1,20 +1,8 @@ -// Copyright 2013 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2013 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #ifndef OPENSUBDIV_EVALUATOR_CAPI_H_ #define OPENSUBDIV_EVALUATOR_CAPI_H_ diff --git a/intern/opensubdiv/opensubdiv_topology_refiner_capi.h b/intern/opensubdiv/opensubdiv_topology_refiner_capi.h index 628967a1270..3549eccef65 100644 --- a/intern/opensubdiv/opensubdiv_topology_refiner_capi.h +++ b/intern/opensubdiv/opensubdiv_topology_refiner_capi.h @@ -1,20 +1,8 @@ -// Copyright 2018 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2018 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #ifndef OPENSUBDIV_TOPOLOGY_REFINER_CAPI_H_ #define OPENSUBDIV_TOPOLOGY_REFINER_CAPI_H_ diff --git a/intern/opensubdiv/stub/opensubdiv_evaluator_stub.cc b/intern/opensubdiv/stub/opensubdiv_evaluator_stub.cc index 7c31ab3e065..92fd23651c3 100644 --- a/intern/opensubdiv/stub/opensubdiv_evaluator_stub.cc +++ b/intern/opensubdiv/stub/opensubdiv_evaluator_stub.cc @@ -1,20 +1,8 @@ -// Copyright 2018 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2018 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #include "opensubdiv_evaluator_capi.h" diff --git a/intern/opensubdiv/stub/opensubdiv_stub.cc b/intern/opensubdiv/stub/opensubdiv_stub.cc index 75d55dc564e..af8147aecf0 100644 --- a/intern/opensubdiv/stub/opensubdiv_stub.cc +++ b/intern/opensubdiv/stub/opensubdiv_stub.cc @@ -1,20 +1,8 @@ -// Copyright 2018 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2018 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #include "opensubdiv_capi.h" diff --git a/intern/opensubdiv/stub/opensubdiv_topology_refiner_stub.cc b/intern/opensubdiv/stub/opensubdiv_topology_refiner_stub.cc index f79bc96c990..c423edf6555 100644 --- a/intern/opensubdiv/stub/opensubdiv_topology_refiner_stub.cc +++ b/intern/opensubdiv/stub/opensubdiv_topology_refiner_stub.cc @@ -1,20 +1,8 @@ -// Copyright 2018 Blender Foundation -// -// 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 2 -// 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, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -// Author: Sergey Sharybin +/* SPDX-FileCopyrightText: 2018 Blender Foundation + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * Author: Sergey Sharybin. */ #include "opensubdiv_topology_refiner_capi.h" diff --git a/tools/check_source/check_licenses.py b/tools/check_source/check_licenses.py index 7d0c3d2de69..1efc513b328 100644 --- a/tools/check_source/check_licenses.py +++ b/tools/check_source/check_licenses.py @@ -489,7 +489,6 @@ def main() -> None: # TODO: Files in these directories should be handled but the files have valid licenses. "./intern/libmv", - "./intern/opensubdiv/", # Files: # This file is generated by a configure script (no point in manually setting the license).