[Bf-blender-cvs] [91bda21] master: Fix T48845: Crash when right-clicking on a curve property

Kévin Dietrich noreply at git.blender.org
Thu Jul 14 00:27:34 CEST 2016


Commit: 91bda21cfe254498e2514fe474cbe4d3a28240bf
Author: Kévin Dietrich
Date:   Thu Jul 14 00:24:31 2016 +0200
Branches: master
https://developer.blender.org/rB91bda21cfe254498e2514fe474cbe4d3a28240bf

Fix T48845: Crash when right-clicking on a curve property

Caused by typo in rBd2312602125a452e6562a76ab91779943c67396d

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

M	source/blender/editors/interface/interface_ops.c

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

diff --git a/source/blender/editors/interface/interface_ops.c b/source/blender/editors/interface/interface_ops.c
index 01b10b7..1af6d90 100644
--- a/source/blender/editors/interface/interface_ops.c
+++ b/source/blender/editors/interface/interface_ops.c
@@ -416,7 +416,7 @@ bool UI_context_copy_to_selected_list(
 
 					if ((id_data == NULL) ||
 					    (id_data->tag & LIB_TAG_DOIT) == 0 ||
-					    ID_IS_LINKED_DATABLOCK(id_data->lib) ||
+					    ID_IS_LINKED_DATABLOCK(id_data) ||
 					    (GS(id_data->name) != id_code))
 					{
 						BLI_remlink(&lb, link);




More information about the Bf-blender-cvs mailing list