Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_tracking.c
| Show First 20 Lines • Show All 1,474 Lines • ▼ Show 20 Lines | static void rna_def_trackingTrack(BlenderRNA *brna) | ||||
| RNA_def_property_float_sdna(prop, NULL, "error"); | RNA_def_property_float_sdna(prop, NULL, "error"); | ||||
| RNA_def_property_clear_flag(prop, PROP_EDITABLE); | RNA_def_property_clear_flag(prop, PROP_EDITABLE); | ||||
| RNA_def_property_ui_text(prop, "Average Error", "Average error of re-projection"); | RNA_def_property_ui_text(prop, "Average Error", "Average error of re-projection"); | ||||
| /* grease pencil */ | /* grease pencil */ | ||||
| prop = RNA_def_property(srna, "grease_pencil", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "grease_pencil", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_pointer_sdna(prop, NULL, "gpd"); | RNA_def_property_pointer_sdna(prop, NULL, "gpd"); | ||||
| RNA_def_property_struct_type(prop, "GreasePencil"); | RNA_def_property_struct_type(prop, "GreasePencil"); | ||||
| RNA_def_property_pointer_funcs(prop, NULL, NULL, NULL, "rna_GPencil_datablocks_annotations_poll"); | |||||
| RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_REFCOUNT); | RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_REFCOUNT); | ||||
| RNA_def_property_ui_text(prop, "Grease Pencil", "Grease pencil data for this track"); | RNA_def_property_ui_text(prop, "Grease Pencil", "Grease pencil data for this track"); | ||||
| RNA_def_property_update(prop, NC_MOVIECLIP | ND_DISPLAY, NULL); | RNA_def_property_update(prop, NC_MOVIECLIP | ND_DISPLAY, NULL); | ||||
| /* weight */ | /* weight */ | ||||
| prop = RNA_def_property(srna, "weight", PROP_FLOAT, PROP_FACTOR); | prop = RNA_def_property(srna, "weight", PROP_FLOAT, PROP_FACTOR); | ||||
| RNA_def_property_float_sdna(prop, NULL, "weight"); | RNA_def_property_float_sdna(prop, NULL, "weight"); | ||||
| RNA_def_property_range(prop, 0.0f, 1.0f); | RNA_def_property_range(prop, 0.0f, 1.0f); | ||||
| ▲ Show 20 Lines • Show All 724 Lines • Show Last 20 Lines | |||||