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

Chris Want tuhopuu-devel@blender.org
Tue, 02 Sep 2003 12:11:25 -0600


OK, will patch it... shouldn't it be 'Polyhedron' though?
(Never heard of this word 'Polyheder'.)

Chris

BTW: I will send out a proposal soon for the introduction
of your code into CVS ... I'm a bit busy though so it might
be a few days.

Kester Maddock wrote:
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> 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");



-- 
Chris Want
Research Computing Support
Computing & Network Services
University of Alberta
Tel: 1-780-492-9418