diff options
author | Chris Want <cwant@ualberta.ca> | 2004-04-03 02:18:36 +0400 |
---|---|---|
committer | Chris Want <cwant@ualberta.ca> | 2004-04-03 02:18:36 +0400 |
commit | 34ecd03f7d0e2a3e11b8528aee9cd8766a5dd5a8 (patch) | |
tree | 1f117c0aa793cafed8d9224aa73fe15c7a4ad6b3 /source | |
parent | ce9a3d0b467e138ef7d237e9cade9bcd2fe47469 (diff) |
Changed the physics menu to expect a pointer to an int for
&wrld->physicsEngine instead of a pointer to a short.
car: please rebuild and test.
Kester: please check the entries/values in the physics menu (they
differ from the values in tuhopuu).
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/buttons_shading.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/src/buttons_shading.c b/source/blender/src/buttons_shading.c index 08c53bb97a1..1ddecaa5832 100644 --- a/source/blender/src/buttons_shading.c +++ b/source/blender/src/buttons_shading.c @@ -1531,8 +1531,10 @@ static void world_panel_mistaph(World *wrld) uiSetButLock(wrld->id.lib!=0, "Can't edit library data"); #if GAMEBLENDER == 1 - uiDefBut(block, MENU|SHO, 1, "Physics %t|None %x1|Sumo %x2|ODE %x3 |Dynamo %x4|", - 10,180,140,19, &wrld->physicsEngine, 0, 0, 0, 0, "Physics Engine"); + uiDefButI(block, MENU, 1, + "Physics %t|None %x1|Sumo %x2|ODE %x3 |Dynamo %x4|", + 10,180,140,19, &wrld->physicsEngine, 0, 0, 0, 0, + "Physics Engine"); /* Gravitation for the game worlds */ uiDefButF(block, NUMSLI,0, "Grav ", 150,180,150,19, &(wrld->gravity), 0.0, 25.0, 0, 0, "Sets the gravitation constant of the game world"); |