[tuhopuu-devel] More ODE stuff... (PATCH)

Kester Maddock tuhopuu-devel@blender.org
Tue, 2 Sep 2003 14:10:13 +1200


--Boundary-00=_Fw/U/vxuz2BHHdK
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Hos,

One little patch slipped through - in buttons.c there is
 "Bounding volume%t|Box%x0|Sphere%x1|Cylinder%x2|Cone%x3|Polyheder"
which should be
"Bounding volume%t|Box%x0|Sphere%x1|Cylinder%x2|Cone%x3|Polyheder%x4"

This means other people should be able to apply polygon collision to objects!

Thanks,

Kester
--Boundary-00=_Fw/U/vxuz2BHHdK
Content-Type: text/x-diff;
  charset="us-ascii";
  name="buttons.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="buttons.diff"

Index: source/blender/src/buttons.c
===================================================================
RCS file: /cvsroot/tuhopuu/tuhopuu2/source/blender/src/buttons.c,v
retrieving revision 1.13
diff -u -3 -r1.13 buttons.c
--- source/blender/src/buttons.c	24 Aug 2003 21:45:59 -0000	1.13
+++ source/blender/src/buttons.c	2 Sep 2003 02:06:49 -0000
@@ -1043,7 +1043,7 @@
 																28,180,100,18, &ob->dt, 0, 0, 0, 0, "Drawtype menu");
 	uiDefBut(block, LABEL, 0, "Draw Extra",						28,160,100,18, 0, 0, 0, 0, 0, "");
 	uiDefButC(block, TOG|BIT|0, REDRAWVIEW3D, "Bounds",		28, 140, 100, 18, &ob->dtx, 0, 0, 0, 0, "Display bounding object");
-	uiDefButS(block, MENU, REDRAWVIEW3D, "Bounding volume%t|Box%x0|Sphere%x1|Cylinder%x2|Cone%x3|Polyheder",
+	uiDefButS(block, MENU, REDRAWVIEW3D, "Bounding volume%t|Box%x0|Sphere%x1|Cylinder%x2|Cone%x3|Polyheder%x4",
 																28, 120, 100, 18, &ob->boundtype, 0, 0, 0, 0, "Choose between bound objects");
 	uiDefButC(block, TOG|BIT|5, REDRAWVIEW3D, "Wire",		28, 100, 100, 18, &ob->dtx, 0, 0, 0, 0, "Display wireframe in shaded mode");
 	uiDefButC(block, TOG|BIT|1, REDRAWVIEW3D, "Axis",		28, 80, 100, 18, &ob->dtx, 0, 0, 0, 0, "Draw axis");

--Boundary-00=_Fw/U/vxuz2BHHdK--