Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2021-07-20 21:00:55 +0300
committerJulian Eisel <julian@blender.org>2021-07-20 22:30:03 +0300
commit36fb03e2b9d7796404a0ab64ab147f06c61451c7 (patch)
treeafbe32445aa6fee0d0b4457b1acdb30e7aecded4 /source/blender/makesrna
parent8ffc3ee25704c5df8dfdd2c282a2bcbab3a3e933 (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')
-rw-r--r--source/blender/makesrna/intern/rna_asset.c3
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");