aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/GuiLua
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-28 00:29:14 +1000
committerDavid Walter Seikel2014-04-28 00:29:14 +1000
commite6df5be2e68bdd5eeab16f886d69701c172a4389 (patch)
tree0decd97811ba694cca14b65c13d5026d09416451 /src/GuiLua
parentFix some errant semi colons. (diff)
downloadSledjHamr-e6df5be2e68bdd5eeab16f886d69701c172a4389.zip
SledjHamr-e6df5be2e68bdd5eeab16f886d69701c172a4389.tar.gz
SledjHamr-e6df5be2e68bdd5eeab16f886d69701c172a4389.tar.bz2
SledjHamr-e6df5be2e68bdd5eeab16f886d69701c172a4389.tar.xz
Don't do md2 mesh if we want the cube.
Diffstat (limited to 'src/GuiLua')
-rw-r--r--src/GuiLua/GuiLua.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c
index 4e1b863..b889681 100644
--- a/src/GuiLua/GuiLua.c
+++ b/src/GuiLua/GuiLua.c
@@ -368,6 +368,8 @@ _mesh_setup(globals *ourGlobals, Scene_Data *scene)
368 evas_3d_node_mesh_add(scene->mesh) 368 evas_3d_node_mesh_add(scene->mesh)
369 ); 369 );
370 370
371#if DO_CUBE
372#else
371 // Setup an MD2 mesh. 373 // Setup an MD2 mesh.
372 scene->mesh2 = eo_add(EVAS_3D_MESH_CLASS, ourGlobals->evas); 374 scene->mesh2 = eo_add(EVAS_3D_MESH_CLASS, ourGlobals->evas);
373 eo_do(scene->mesh2, 375 eo_do(scene->mesh2,
@@ -412,6 +414,7 @@ _mesh_setup(globals *ourGlobals, Scene_Data *scene)
412 eo_do(scene->mesh2, 414 eo_do(scene->mesh2,
413 evas_3d_mesh_shade_mode_set(EVAS_3D_SHADE_MODE_PHONG) 415 evas_3d_mesh_shade_mode_set(EVAS_3D_SHADE_MODE_PHONG)
414 ); 416 );
417#endif
415} 418}
416 419
417 420