Commit: f18f6d5354d0f402f1efbbdfb36c3e6811eca476 Author: YimingWu Date: Mon Aug 31 15:07:19 2020 +0800 Branches: lanpr-under-gp https://developer.blender.org/rBf18f6d5354d0f402f1efbbdfb36c3e6811eca476
LineArt: DNA/RNA cleanup. =================================================================== M source/blender/makesdna/DNA_lineart_types.h D source/blender/makesrna/intern/rna_lineart.c =================================================================== diff --git a/source/blender/makesdna/DNA_lineart_types.h b/source/blender/makesdna/DNA_lineart_types.h index bf0917c01d6..650d6469255 100644 --- a/source/blender/makesdna/DNA_lineart_types.h +++ b/source/blender/makesdna/DNA_lineart_types.h @@ -40,6 +40,10 @@ struct Object; struct Material; struct Collection; +/* Notice that we need to have this file although no struct defines. + * Edge flags and usage flags are used by with scene/object/gpencil modifier bits, and those values + * needs to stay consistent throughout. */ + typedef enum eLineartEdgeFlag { LRT_EDGE_FLAG_EDGE_MARK = (1 << 0), LRT_EDGE_FLAG_CONTOUR = (1 << 1), diff --git a/source/blender/makesrna/intern/rna_lineart.c b/source/blender/makesrna/intern/rna_lineart.c deleted file mode 100644 index fddfb72a7e6..00000000000 --- a/source/blender/makesrna/intern/rna_lineart.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * ***** BEGIN GPL LICENSE BLOCK ***** - * - * 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. - * - * Contributor(s): Blender Foundation (2008). - * - * ***** END GPL LICENSE BLOCK ***** - */ - -/** \file blender/makesrna/intern/rna_lineart.c - * \ingroup RNA - */ - -#include <stdio.h> -#include <stdlib.h> - -#include "BLI_string_utils.h" -#include "BLI_utildefines.h" - -#include "RNA_define.h" -#include "RNA_enum_types.h" - -#include "WM_api.h" -#include "WM_types.h" - -#include "rna_internal.h" - -#ifdef RNA_RUNTIME - -#else - -void RNA_def_lineart(BlenderRNA *brna) -{ - /* Line layer defines removed. */ -} - -#endif _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs