[Bf-blender-cvs] [2fa0a9a3291] master: Error in last commit

Campbell Barton noreply at git.blender.org
Mon Mar 25 09:08:35 CET 2019


Commit: 2fa0a9a329154107302090fbe5b04102c5701236
Author: Campbell Barton
Date:   Mon Mar 25 19:08:02 2019 +1100
Branches: master
https://developer.blender.org/rB2fa0a9a329154107302090fbe5b04102c5701236

Error in last commit

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

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

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

diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c
index 14ce7edf7a8..fbe8de86b70 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -2008,7 +2008,7 @@ void uiItemFullR_with_popover(
 		}
 		but = but->next;
 	}
-	if (but) {
+	if (but == NULL) {
 		const char *propname = RNA_property_identifier(prop);
 		ui_item_disabled(layout, panel_type);
 		RNA_warning(



More information about the Bf-blender-cvs mailing list