[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23213] trunk/blender/source/blender/ editors/interface/interface_layout.c: * Fix for typo in icon_only commit, causing RNA property buttons text to be doubled up

Matt Ebb matt at mke3.net
Mon Sep 14 13:25:33 CEST 2009


Revision: 23213
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23213
Author:   broken
Date:     2009-09-14 13:25:33 +0200 (Mon, 14 Sep 2009)

Log Message:
-----------
* Fix for typo in icon_only commit, causing RNA property buttons text to be doubled up

brecht: I think this is right now...? :)

Modified Paths:
--------------
    trunk/blender/source/blender/editors/interface/interface_layout.c

Modified: trunk/blender/source/blender/editors/interface/interface_layout.c
===================================================================
--- trunk/blender/source/blender/editors/interface/interface_layout.c	2009-09-14 11:12:44 UTC (rev 23212)
+++ trunk/blender/source/blender/editors/interface/interface_layout.c	2009-09-14 11:25:33 UTC (rev 23213)
@@ -506,7 +506,7 @@
 		but= uiDefIconButO(block, BUT, "BUTTONS_OT_file_browse", WM_OP_INVOKE_DEFAULT, ICON_FILESEL, x, y, UI_UNIT_X, h, "Browse for file or directory.");
 	}
 	else
-		but= uiDefAutoButR(block, ptr, prop, index, (icon_only)? "": NULL, icon, x, y, w, h);
+		but= uiDefAutoButR(block, ptr, prop, index, (!icon_only)? "": NULL, icon, x, y, w, h);
 
 	uiBlockSetCurLayout(block, layout);
 	return but;





More information about the Bf-blender-cvs mailing list