From 923cdbef0a76190006a1a175b97836d0c3444214 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 2 Jun 2014 00:18:32 +1000 Subject: Load and rez stuffs in an idler, also fix some bugs in that part. --- src/extantz/extantz.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/extantz/extantz.c') diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index e102165..7c90b8a 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c @@ -108,6 +108,7 @@ static Eina_Bool _data(void *data, int type, Ecore_Con_Event_Server_Data *ev) // TODO - For now, assume it's a file:// URL. t += 7; //strcat(t, "/index.omg"); + strcpy(ourGlobals->scene->sim, t); PI("Loading local sim from %s", t); // TODO - Later do the same with eet files in C code, but keep both implementations. @@ -118,8 +119,8 @@ static Eina_Bool _data(void *data, int type, Ecore_Con_Event_Server_Data *ev) lua_remove(ourGlobals->scene->L, -2); // Removes "loaded" scenriLua = lua_gettop(ourGlobals->scene->L); - push_lua(ourGlobals->scene->L, "@ ( $ $ )", scenriLua, "loadSim", t); -// Evas_3D_Demo_add(ourGlobals, t); + push_lua(ourGlobals->scene->L, "@ ( $ )", scenriLua, "loadSim", t, 0); + PI("Loaded local sim from %s", t); } else { -- cgit v1.1