diff options
author | Julian Eisel <julian@blender.org> | 2021-07-20 21:00:55 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-07-20 22:30:03 +0300 |
commit | 36fb03e2b9d7796404a0ab64ab147f06c61451c7 (patch) | |
tree | afbe32445aa6fee0d0b4457b1acdb30e7aecded4 /source/blender/makesrna/intern/rna_asset.c | |
parent | 8ffc3ee25704c5df8dfdd2c282a2bcbab3a3e933 (diff) |
Asset: Clearly describe RNA property description as temporary
The asset handle design is only temporary (see 35affaa971cf) and this
RNA property is only needed for internal, technical reasons of the asset
view template. So although not nice, at least make it clear in the RNA
property description that this should not be used.
Diffstat (limited to 'source/blender/makesrna/intern/rna_asset.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_asset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_asset.c b/source/blender/makesrna/intern/rna_asset.c index 3b39a4edb32..dad35425bda 100644 --- a/source/blender/makesrna/intern/rna_asset.c +++ b/source/blender/makesrna/intern/rna_asset.c @@ -351,7 +351,8 @@ static void rna_def_asset_handle(BlenderRNA *brna) RNA_def_property_struct_type(prop, "FileSelectEntry"); RNA_def_property_pointer_funcs( prop, "rna_AssetHandle_file_data_get", "rna_AssetHandle_file_data_set", NULL, NULL); - RNA_def_property_ui_text(prop, "File Entry", "File data used to refer to the asset"); + RNA_def_property_ui_text( + prop, "File Entry", "TEMPORARY, DO NOT USE - File data used to refer to the asset"); prop = RNA_def_property(srna, "local_id", PROP_POINTER, PROP_NONE); RNA_def_property_struct_type(prop, "ID"); |