Cleanup: remove deprecated grease pencil object property.
This commit is contained in:
parent
427f4c2321
commit
91d611b7cb
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user