From 406243c2fde7472ea39f1eb6316311aec5b72e13 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 8 Sep 2022 16:32:35 +0200 Subject: IDManagement: change `IDTypeInfo.owner_get` to instead return address of the owner_id pointer. Also rename the callback. That way, we can keep moving toward a more generic handling of those embedded IDs (think e.g. about copy code). --- source/blender/blenkernel/intern/linestyle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/intern/linestyle.c') diff --git a/source/blender/blenkernel/intern/linestyle.c b/source/blender/blenkernel/intern/linestyle.c index 64dc48c0154..cba1bc414c1 100644 --- a/source/blender/blenkernel/intern/linestyle.c +++ b/source/blender/blenkernel/intern/linestyle.c @@ -749,7 +749,7 @@ IDTypeInfo IDType_ID_LS = { .foreach_id = linestyle_foreach_id, .foreach_cache = NULL, .foreach_path = NULL, - .owner_get = NULL, + .owner_pointer_get = NULL, .blend_write = linestyle_blend_write, .blend_read_data = linestyle_blend_read_data, -- cgit v1.2.3