And one more "G.main" compile fix, this time for BGE ;)

This commit is contained in:
Bastien Montagne 2013-02-05 13:31:59 +00:00
parent dad053a152
commit dd83387e0b

@ -907,7 +907,7 @@ int main(int argc, char** argv)
if (domeWarp)
{
//XXX to do: convert relative to absolute path
domeText= BKE_text_load(domeWarp, "");
domeText= BKE_text_load(G.main, domeWarp, "");
if (!domeText)
printf("error: invalid warpdata text file - %s\n", domeWarp);
else