[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13651] trunk/blender/source/blender/src/ buttons_editing.c: GUI fixes: some minor gui tweaks for collision modifier

Daniel Genrich daniel.genrich at gmx.net
Tue Feb 12 12:31:22 CET 2008


Revision: 13651
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13651
Author:   genscher
Date:     2008-02-12 12:31:22 +0100 (Tue, 12 Feb 2008)

Log Message:
-----------
GUI fixes: some minor gui tweaks for collision modifier

Modified Paths:
--------------
    trunk/blender/source/blender/src/buttons_editing.c

Modified: trunk/blender/source/blender/src/buttons_editing.c
===================================================================
--- trunk/blender/source/blender/src/buttons_editing.c	2008-02-12 11:04:58 UTC (rev 13650)
+++ trunk/blender/source/blender/src/buttons_editing.c	2008-02-12 11:31:22 UTC (rev 13651)
@@ -1792,7 +1792,7 @@
 		} else if (md->type==eModifierType_Cloth) {
 			height = 31;
 		} else if (md->type==eModifierType_Collision) {
-			height = 19;
+			height = 31;
 		} else if (md->type==eModifierType_Boolean) {
 			height = 48;
 		} else if (md->type==eModifierType_Array) {
@@ -2156,6 +2156,8 @@
 			uiDefBut(block, LABEL, 1, "See Softbody panel.",	lx, (cy-=19), buttonWidth,19, NULL, 0.0, 0.0, 0, 0, "");
 		} else if (md->type==eModifierType_Cloth) {
 			uiDefBut(block, LABEL, 1, "See Cloth panel.",	lx, (cy-=19), buttonWidth,19, NULL, 0.0, 0.0, 0, 0, "");
+		} else if (md->type==eModifierType_Collision) {
+			uiDefBut(block, LABEL, 1, "See Deflection panel.",	lx, (cy-=19), buttonWidth,19, NULL, 0.0, 0.0, 0, 0, "");
 		} else if (md->type==eModifierType_Boolean) {
 			BooleanModifierData *bmd = (BooleanModifierData*) md;
 			uiDefButI(block, MENU, B_MODIFIER_RECALC, "Operation%t|Intersect%x0|Union%x1|Difference%x2",	lx,(cy-=19),buttonWidth,19, &bmd->operation, 0.0, 1.0, 0, 0, "Boolean operation to perform");





More information about the Bf-blender-cvs mailing list