From 91d611b7cbc8ef4d1d98cef2f2913783f602669e Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 14 Apr 2019 19:08:19 +0200 Subject: Cleanup: remove deprecated grease pencil object property. --- source/blender/makesrna/intern/rna_object.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'source/blender') diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c index 2d0afcd66f1..c8feff4c0e8 100644 --- a/source/blender/makesrna/intern/rna_object.c +++ b/source/blender/makesrna/intern/rna_object.c @@ -2699,17 +2699,6 @@ static void rna_def_object(BlenderRNA *brna) "Make the object draw in front of others"); RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL); - /* Grease Pencil */ -#if 1 /* FIXME: Remove this code when all Open-Movie assets have been fixed */ - prop = RNA_def_property(srna, "grease_pencil", PROP_POINTER, PROP_NONE); - RNA_def_property_pointer_sdna(prop, NULL, "gpd"); - RNA_def_property_struct_type(prop, "GreasePencil"); - RNA_def_property_pointer_funcs(prop, NULL, NULL, NULL, "rna_GPencil_datablocks_obdata_poll"); /* XXX */ - RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_REFCOUNT); - RNA_def_property_ui_text(prop, "Grease Pencil Data", "Grease Pencil data-block (deprecated)"); - RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL); -#endif - /* pose */ prop = RNA_def_property(srna, "pose_library", PROP_POINTER, PROP_NONE); RNA_def_property_pointer_sdna(prop, NULL, "poselib"); -- cgit v1.2.3