diff options
author | Joshua Leung <aligorith@gmail.com> | 2012-06-11 04:46:22 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2012-06-11 04:46:22 +0400 |
commit | c711665ce2f13fabf8774752e3a7ecc80555b8fb (patch) | |
tree | 6e943583698cdcef635a018b6432295de3e906e6 /source/blender/makesrna/intern/rna_space.c | |
parent | 0df68aacb10a7f947673d925e09a539ee8c4bb9c (diff) |
Code cleanup - Removing/commenting out various bits of legacy cruft related to
old Grease Pencil stuff
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 3ff54076f82..81538d20a50 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -1969,14 +1969,7 @@ static void rna_def_space_image(BlenderRNA *brna) RNA_def_property_struct_type(prop, "GreasePencil"); RNA_def_property_ui_text(prop, "Grease Pencil", "Grease pencil data for this space"); RNA_def_property_update(prop, NC_SPACE | ND_SPACE_IMAGE, NULL); - -#if 0 // XXX: unused - old stuff which may not be restored - prop = RNA_def_property(srna, "use_grease_pencil", PROP_BOOLEAN, PROP_NONE); - RNA_def_property_boolean_sdna(prop, NULL, "flag", SI_DISPGP); - RNA_def_property_ui_text(prop, "Use Grease Pencil", - "Display and edit the grease pencil freehand annotations overlay"); -#endif - + /* update */ prop = RNA_def_property(srna, "use_realtime_update", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "lock", 0); |