diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-28 15:23:00 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-28 15:28:31 +0300 |
commit | e35d95686056c60fd3c5f121c178a334bafcd904 (patch) | |
tree | 35d7030e3d63c740b8767da53e02079b3b5d1a2a /source/blender/makesrna/intern/rna_object.c | |
parent | 4626ca47b940e7ac98288598f192c5f004f2f7c4 (diff) |
Static Override: RNA apply code: pass extra 'item_ptr' to apply callbacks.
This is unused currently, but is mandatory for incomming support to
Collections objects and children items override support.
Diffstat (limited to 'source/blender/makesrna/intern/rna_object.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_object.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c index fc25a76deee..204a2c28746 100644 --- a/source/blender/makesrna/intern/rna_object.c +++ b/source/blender/makesrna/intern/rna_object.c @@ -1150,6 +1150,7 @@ bool rna_Object_constraints_override_apply( PointerRNA *ptr_dst, PointerRNA *ptr_src, PointerRNA *UNUSED(ptr_storage), PropertyRNA *UNUSED(prop_dst), PropertyRNA *UNUSED(prop_src), PropertyRNA *UNUSED(prop_storage), const int UNUSED(len_dst), const int UNUSED(len_src), const int UNUSED(len_storage), + PointerRNA *UNUSED(ptr_item_dst), PointerRNA *UNUSED(ptr_item_src), PointerRNA *UNUSED(ptr_item_storage), IDOverrideStaticPropertyOperation *opop) { BLI_assert(opop->operation == IDOVERRIDESTATIC_OP_INSERT_AFTER && @@ -1224,6 +1225,7 @@ bool rna_Object_modifiers_override_apply( PointerRNA *ptr_dst, PointerRNA *ptr_src, PointerRNA *UNUSED(ptr_storage), PropertyRNA *UNUSED(prop_dst), PropertyRNA *UNUSED(prop_src), PropertyRNA *UNUSED(prop_storage), const int UNUSED(len_dst), const int UNUSED(len_src), const int UNUSED(len_storage), + PointerRNA *UNUSED(ptr_item_dst), PointerRNA *UNUSED(ptr_item_src), PointerRNA *UNUSED(ptr_item_storage), IDOverrideStaticPropertyOperation *opop) { BLI_assert(opop->operation == IDOVERRIDESTATIC_OP_INSERT_AFTER && |