diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-04-14 20:08:19 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-04-14 20:54:51 +0300 |
commit | 91d611b7cbc8ef4d1d98cef2f2913783f602669e (patch) | |
tree | c50730a356941c881ac742a3065e84d8d2ec62c2 /source/blender/makesrna | |
parent | 427f4c23211f69700820f61e00cb5c19ee6ce3f7 (diff) |
Cleanup: remove deprecated grease pencil object property.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_object.c | 11 |
1 files changed, 0 insertions, 11 deletions
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"); |