Fix: KeyingSetsAll RNA path incomplete/wrong
While working on !125365, I was running over a couple of places where RNA paths were also incomplete in the UI. This PR covers: - KeyingSetsAll Pull Request: https://projects.blender.org/blender/blender/pulls/125412
This commit is contained in:
committed by
Philipp Oeser
parent
d24957450c
commit
f5e22cbb11
@@ -2364,6 +2364,11 @@ static void rna_TimeLine_clear(Scene *scene)
|
||||
WM_main_add_notifier(NC_ANIMATION | ND_MARKERS, nullptr);
|
||||
}
|
||||
|
||||
static std::optional<std::string> rna_Scene_KeyingsSetsAll_path(const PointerRNA * /*ptr*/)
|
||||
{
|
||||
return "keying_sets_all";
|
||||
}
|
||||
|
||||
static KeyingSet *rna_Scene_keying_set_new(Scene *sce,
|
||||
ReportList *reports,
|
||||
const char idname[],
|
||||
@@ -7641,6 +7646,7 @@ static void rna_def_scene_keying_sets_all(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_property_srna(cprop, "KeyingSetsAll");
|
||||
srna = RNA_def_struct(brna, "KeyingSetsAll", nullptr);
|
||||
RNA_def_struct_sdna(srna, "Scene");
|
||||
RNA_def_struct_path_func(srna, "rna_Scene_KeyingsSetsAll_path");
|
||||
RNA_def_struct_ui_text(srna, "Keying Sets All", "All available keying sets");
|
||||
|
||||
/* NOTE: no add/remove available here, without screwing up this amalgamated list... */
|
||||
|
||||
Reference in New Issue
Block a user