Anim: Remove deprecated property from POSELIB_OT_create_pose_asset

This breaks backwards compatibility.
The property `activate_new_action` of the `POSELIB_OT_create_pose_asset`
operator was deprecated previously and is no longer in use.
Removing it just breaks any uses of that operator via Python
is they pass that property.

Pull Request: https://projects.blender.org/blender/blender/pulls/145587
This commit is contained in:
Christoph Lendenfeld
2025-09-04 09:36:19 +02:00
committed by Christoph Lendenfeld
parent 41bcdb26dc
commit debd0c0877

View File

@@ -443,15 +443,6 @@ void POSELIB_OT_create_pose_asset(wmOperatorType *ot)
ot->srna, "catalog_path", nullptr, MAX_NAME, "Catalog", "Catalog to use for the new asset");
RNA_def_property_string_search_func_runtime(
prop, visit_library_prop_catalogs_catalog_for_search_fn, PROP_STRING_SEARCH_SUGGESTION);
/* This property is just kept to have backwards compatibility and has no functionality. It should
* be removed in the 5.0 release. */
prop = RNA_def_boolean(ot->srna,
"activate_new_action",
false,
"Activate New Action",
"This property is deprecated and will be removed in the future");
RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE);
}
enum AssetModifyMode {