[Bf-blender-cvs] [339c3e34738] master: Fix (unreported) mistake in argument passing.

Bastien Montagne noreply at git.blender.org
Thu May 7 17:32:38 CEST 2020


Commit: 339c3e3473826c7c34877051ddf43c3d59055d1c
Author: Bastien Montagne
Date:   Thu May 7 16:35:33 2020 +0200
Branches: master
https://developer.blender.org/rB339c3e3473826c7c34877051ddf43c3d59055d1c

Fix (unreported) mistake in argument passing.

passing the address of the pointer instead of the pointer itself...

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

M	source/blender/blenkernel/intern/lib_query.c

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

diff --git a/source/blender/blenkernel/intern/lib_query.c b/source/blender/blenkernel/intern/lib_query.c
index a5433dc6214..9ebcc80092e 100644
--- a/source/blender/blenkernel/intern/lib_query.c
+++ b/source/blender/blenkernel/intern/lib_query.c
@@ -217,7 +217,7 @@ void BKE_lib_query_idpropertiesForeachIDLink_callback(IDProperty *id_prop, void
 static void library_foreach_node_socket(LibraryForeachIDData *data, bNodeSocket *sock)
 {
   IDP_foreach_property(
-      sock->prop, IDP_TYPE_FILTER_ID, BKE_lib_query_idpropertiesForeachIDLink_callback, &data);
+      sock->prop, IDP_TYPE_FILTER_ID, BKE_lib_query_idpropertiesForeachIDLink_callback, data);
 
   switch ((eNodeSocketDatatype)sock->type) {
     case SOCK_OBJECT: {



More information about the Bf-blender-cvs mailing list