Commit: 699d5d40409155360c02408261d36c5b797fd308
Author: Bastien Montagne
Date:   Fri May 4 15:32:22 2018 +0200
Branches: tmp-static-override-insertion
https://developer.blender.org/rB699d5d40409155360c02408261d36c5b797fd308

Static Override: Add overridable flag to drivers' ID pointer.

===================================================================

M       source/blender/makesrna/intern/rna_fcurve.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_fcurve.c 
b/source/blender/makesrna/intern/rna_fcurve.c
index 969424cd989..275a7463630 100644
--- a/source/blender/makesrna/intern/rna_fcurve.c
+++ b/source/blender/makesrna/intern/rna_fcurve.c
@@ -1473,6 +1473,7 @@ static void rna_def_drivertarget(BlenderRNA *brna)
        prop = RNA_def_property(srna, "id", PROP_POINTER, PROP_NONE);
        RNA_def_property_struct_type(prop, "ID");
        RNA_def_property_flag(prop, PROP_EDITABLE);
+       RNA_def_property_flag(prop, PROP_OVERRIDABLE_STATIC);
        RNA_def_property_editable_func(prop, "rna_DriverTarget_id_editable");
        /* note: custom set function is ONLY to avoid rna setting a user for 
this. */
        RNA_def_property_pointer_funcs(prop, NULL, "rna_DriverTarget_id_set", 
"rna_DriverTarget_id_typef", NULL);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to