From c7fcc50842d85664d2b07c32b181951ea7661440 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Thu, 4 Nov 2021 18:32:01 +0100 Subject: Fix T91986: incorrect syncing of geometry instances The issue was that some geometries were not synced again even when they changed. This commit adds a map that keeps track of the geometries that need to be updated when an object has changed. Differential Revision: https://developer.blender.org/D13020 --- source/blender/makesrna/intern/makesrna.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesrna/intern/makesrna.c') diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c index 36f19907080..f2e87b29c1f 100644 --- a/source/blender/makesrna/intern/makesrna.c +++ b/source/blender/makesrna/intern/makesrna.c @@ -4792,6 +4792,7 @@ static const char *cpp_classes = "\n" " bool operator==(const Pointer &other) const { return ptr.data == other.ptr.data; }\n" " bool operator!=(const Pointer &other) const { return ptr.data != other.ptr.data; }\n" + " bool operator<(const Pointer &other) const { return ptr.data < other.ptr.data; }\n" "\n" " PointerRNA ptr;\n" "};\n" -- cgit v1.2.3