From 657c1f6912ca799b1e748e1a9e4d9ad6fa69009b Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 12 Mar 2025 17:50:50 +0100 Subject: [PATCH] RNA: LibraryWeakReference: make path and ID name editable. There is no real reason to keep these read-only, they are not exposed in the UI anyway, and being able to edit them can become necessary in a pipeline mamangement context. --- source/blender/makesrna/intern/rna_ID.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/blender/makesrna/intern/rna_ID.cc b/source/blender/makesrna/intern/rna_ID.cc index 828f2c4ba9e..f7ebf3f8bf3 100644 --- a/source/blender/makesrna/intern/rna_ID.cc +++ b/source/blender/makesrna/intern/rna_ID.cc @@ -2593,12 +2593,10 @@ static void rna_def_library_weak_reference(BlenderRNA *brna) prop = RNA_def_property(srna, "filepath", PROP_STRING, PROP_FILEPATH); RNA_def_property_string_sdna(prop, nullptr, "library_filepath"); - RNA_def_property_clear_flag(prop, PROP_EDITABLE); RNA_def_property_ui_text(prop, "File Path", "Path to the library .blend file"); prop = RNA_def_property(srna, "id_name", PROP_STRING, PROP_FILEPATH); RNA_def_property_string_sdna(prop, nullptr, "library_id_name"); - RNA_def_property_clear_flag(prop, PROP_EDITABLE); RNA_def_property_ui_text( prop, "ID name",