diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2022-04-04 16:26:02 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2022-04-04 16:26:02 +0300 |
commit | 81b55d7988c1e1090782eebaa61cc92a7d92c90e (patch) | |
tree | 6638c53e90e740f582f244f39182823506893354 /source/blender/makesrna | |
parent | a824c076b7b2c052603b738c44e9b27d04f7d2c9 (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.c | 5 |
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"); |