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:
authorSybren A. Stüvel <sybren@blender.org>2022-04-04 16:26:02 +0300
committerSybren A. Stüvel <sybren@blender.org>2022-04-04 16:26:02 +0300
commit81b55d7988c1e1090782eebaa61cc92a7d92c90e (patch)
tree6638c53e90e740f582f244f39182823506893354 /source/blender/makesrna
parenta824c076b7b2c052603b738c44e9b27d04f7d2c9 (diff)
Pose library: add deprecation notices
The legacy Pose Library operators now refer to the "Legacy Pose Library", and their description mentions they are deprecated and will be removed from Blender 3.3. The same was added to the `Object.pose_library` RNA property. Ref: T93405 The removal of these deprecated properties is tracked in T93406.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_object.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index f995ee3383e..358f88c8f4d 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -3696,7 +3696,10 @@ static void rna_def_object(BlenderRNA *brna)
RNA_def_property_pointer_sdna(prop, NULL, "poselib");
RNA_def_property_struct_type(prop, "Action");
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_REFCOUNT);
- RNA_def_property_ui_text(prop, "Pose Library", "Action used as a pose library for armatures");
+ RNA_def_property_ui_text(prop,
+ "Pose Library",
+ "Deprecated, will be removed in Blender 3.3. "
+ "Action used as a pose library for armatures");
prop = RNA_def_property(srna, "pose", PROP_POINTER, PROP_NONE);
RNA_def_property_pointer_sdna(prop, NULL, "pose");