[Bf-blender-cvs] [d37efe332c4] master: Tracking: Mark deprecated active tracks access as such
Sergey Sharybin
noreply at git.blender.org
Tue Nov 22 11:54:24 CET 2022
Commit: d37efe332c4af1019233c79b895420c62fee4188
Author: Sergey Sharybin
Date: Thu Oct 13 17:43:48 2022 +0200
Branches: master
https://developer.blender.org/rBd37efe332c4af1019233c79b895420c62fee4188
Tracking: Mark deprecated active tracks access as such
===================================================================
M source/blender/makesrna/intern/rna_tracking.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_tracking.c b/source/blender/makesrna/intern/rna_tracking.c
index 70b048c8baa..e9eef9881a7 100644
--- a/source/blender/makesrna/intern/rna_tracking.c
+++ b/source/blender/makesrna/intern/rna_tracking.c
@@ -2222,7 +2222,10 @@ static void rna_def_trackingTracks(BlenderRNA *brna)
RNA_def_property_pointer_funcs(
prop, "rna_tracking_active_track_get", "rna_tracking_active_track_set", NULL, NULL);
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_NEVER_UNLINK);
- RNA_def_property_ui_text(prop, "Active Track", "Active track in this tracking data object");
+ RNA_def_property_ui_text(prop,
+ "Active Track",
+ "Active track in this tracking data object. "
+ "Deprecated, use tracking_object.tracks.active");
RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_MOVIECLIP);
RNA_def_property_update(prop, NC_MOVIECLIP | ND_SELECT, NULL);
}
@@ -2247,8 +2250,10 @@ static void rna_def_trackingPlaneTracks(BlenderRNA *brna)
NULL,
NULL);
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_NEVER_UNLINK);
- RNA_def_property_ui_text(
- prop, "Active Plane Track", "Active plane track in this tracking data object");
+ RNA_def_property_ui_text(prop,
+ "Active Plane Track",
+ "Active plane track in this tracking data object. "
+ "Deprecated, use tracking_object.plane_tracks.active");
RNA_def_property_update(prop, NC_MOVIECLIP | ND_SELECT, NULL);
}
More information about the Bf-blender-cvs
mailing list