forked from enlightenment/efl
parent
ad7a0157f2
commit
d95ddbfe79
|
@ -196,7 +196,7 @@ collections {
|
||||||
D.map:uv(3, 0.0, 50.0);
|
D.map:uv(3, 0.0, 50.0);
|
||||||
|
|
||||||
--// Actually apply the resulting transformations.
|
--// Actually apply the resulting transformations.
|
||||||
D.rect2:map(map);
|
D.rect2:map(D.map);
|
||||||
D.rect2:map_enable(true);
|
D.rect2:map_enable(true);
|
||||||
if (D.rect2:map_enable()) then
|
if (D.rect2:map_enable()) then
|
||||||
print("lua::map enabled");
|
print("lua::map enabled");
|
||||||
|
|
|
@ -2137,7 +2137,7 @@ _elua_obj_map(lua_State *L)
|
||||||
Edje_Lua_Obj *obj = (Edje_Lua_Obj *)lua_touserdata(L, 1);
|
Edje_Lua_Obj *obj = (Edje_Lua_Obj *)lua_touserdata(L, 1);
|
||||||
Edje_Lua_Evas_Object *elo = (Edje_Lua_Evas_Object *)obj;
|
Edje_Lua_Evas_Object *elo = (Edje_Lua_Evas_Object *)obj;
|
||||||
Edje_Lua_Obj *obj2 = (Edje_Lua_Obj *)lua_touserdata(L, 2);
|
Edje_Lua_Obj *obj2 = (Edje_Lua_Obj *)lua_touserdata(L, 2);
|
||||||
Edje_Lua_Map *elm = (Edje_Lua_Map *)obj;
|
Edje_Lua_Map *elm = (Edje_Lua_Map *)obj2;
|
||||||
if (!obj) return 0;
|
if (!obj) return 0;
|
||||||
if (!obj->is_evas_obj) return 0;
|
if (!obj->is_evas_obj) return 0;
|
||||||
if (!obj2) return 0;
|
if (!obj2) return 0;
|
||||||
|
|
Loading…
Reference in New Issue