diff options
author | Bastien Montagne <bastien@blender.org> | 2020-11-26 12:46:35 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-11-26 12:46:35 +0300 |
commit | 774d18804fe3de51c601f3f0684218cd6af1db09 (patch) | |
tree | ce91e594acfe3799d691dd9ac5e64b6832ec5a76 /source/blender/makesrna/intern/rna_ID.c | |
parent | e09d0c0d077cff79b55ce32ec5124d5faa73e2e7 (diff) |
Fix T82452: Outliner: Cyclic "Original ID" panel in Data API.
I cannot think of any case where we'd want to show this pointer in UI
anyway, so just tag it with `PROP_HIDDEN`.
Diffstat (limited to 'source/blender/makesrna/intern/rna_ID.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_ID.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c index 452c6754d10..1ff06470053 100644 --- a/source/blender/makesrna/intern/rna_ID.c +++ b/source/blender/makesrna/intern/rna_ID.c @@ -1486,6 +1486,7 @@ static void rna_def_ID(BlenderRNA *brna) "Actual data-block from .blend file (Main database) that generated that evaluated one"); RNA_def_property_pointer_funcs(prop, "rna_ID_original_get", NULL, NULL, NULL); RNA_def_property_clear_flag(prop, PROP_EDITABLE | PROP_PTR_NO_OWNERSHIP); + RNA_def_property_flag(prop, PROP_HIDDEN); RNA_def_property_override_flag(prop, PROPOVERRIDE_NO_COMPARISON); prop = RNA_def_property(srna, "users", PROP_INT, PROP_UNSIGNED); |