[Bf-blender-cvs] [a26a124233d] tracking_refactor_v3: Tracking: Mark more deprecated RNA access as such
Sergey Sharybin
noreply at git.blender.org
Tue Oct 18 12:18:03 CEST 2022
Commit: a26a124233df43d4e3889917c503c90ca25a97bd
Author: Sergey Sharybin
Date: Mon Oct 17 15:45:24 2022 +0200
Branches: tracking_refactor_v3
https://developer.blender.org/rBa26a124233df43d4e3889917c503c90ca25a97bd
Tracking: Mark more deprecated RNA access as such
Also clarify a bit the new way of accessing the data.
===================================================================
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 140959d8d7a..a457659b093 100644
--- a/source/blender/makesrna/intern/rna_tracking.c
+++ b/source/blender/makesrna/intern/rna_tracking.c
@@ -2226,7 +2226,7 @@ static void rna_def_trackingTracks(BlenderRNA *brna)
RNA_def_property_ui_text(prop,
"Active Track",
"Active track in this tracking data object. "
- "Deprecated, use tracking_object.tracks.active");
+ "Deprecated, use objects[name].tracks.active");
RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_MOVIECLIP);
RNA_def_property_update(prop, NC_MOVIECLIP | ND_SELECT, NULL);
}
@@ -2254,7 +2254,7 @@ static void rna_def_trackingPlaneTracks(BlenderRNA *brna)
RNA_def_property_ui_text(prop,
"Active Plane Track",
"Active plane track in this tracking data object. "
- "Deprecated, use tracking_object.plane_tracks.active");
+ "Deprecated, use objects[name].plane_tracks.active");
RNA_def_property_update(prop, NC_MOVIECLIP | ND_SELECT, NULL);
}
@@ -2551,7 +2551,10 @@ static void rna_def_tracking(BlenderRNA *brna)
NULL,
NULL);
RNA_def_property_struct_type(prop, "MovieTrackingTrack");
- RNA_def_property_ui_text(prop, "Tracks", "Collection of tracks in this tracking data object");
+ RNA_def_property_ui_text(prop,
+ "Tracks",
+ "Collection of tracks in this tracking data object. "
+ "Deprecated, use objects[name].tracks");
RNA_def_property_srna(prop, "MovieTrackingTracks");
/* tracks */
@@ -2566,8 +2569,10 @@ static void rna_def_tracking(BlenderRNA *brna)
NULL,
NULL);
RNA_def_property_struct_type(prop, "MovieTrackingPlaneTrack");
- RNA_def_property_ui_text(
- prop, "Plane Tracks", "Collection of plane tracks in this tracking data object");
+ RNA_def_property_ui_text(prop,
+ "Plane Tracks",
+ "Collection of plane tracks in this tracking data object. "
+ "Deprecated, use objects[name].plane_tracks");
RNA_def_property_srna(prop, "MovieTrackingPlaneTracks");
/* stabilization */
More information about the Bf-blender-cvs
mailing list