[Bf-committers] Why gameengine UI when its not compiled ?
Joilnen Batista Leite
vma_bad_list at yahoo.com
Sat Oct 7 20:24:57 CEST 2006
Hi !
Well I just bored to try ge when I didnt compile this
:)
So maybe better to do ge ui compile dependent and put
info about ge present or no, in blender info I
thought.
Greetings, Joilnen
I did this as the idea:
Index: source/blender/src/space.c
===================================================================
RCS file:
/cvsroot/bf-blender/blender/source/blender/src/space.c,v
retrieving revision 1.379
diff -u -r1.379 space.c
--- source/blender/src/space.c 1 Oct 2006 19:45:37
-0000 1.379
+++ source/blender/src/space.c 7 Oct 2006 17:32:26
-0000
@@ -1696,9 +1696,11 @@
}
else
if(G.qual==LR_ALTKEY)
clear_parent();
+#if NAN_NO_KESTJI==false
else if((G.qual==0)) {
- start_game();
+ start_game();
}
+#endif
break;
case RKEY:
if((G.obedit==0) &&
(G.f & G_FACESELECT) && (G.qual==0))
Index: source/blender/src/header_info.c
===================================================================
RCS file:
/cvsroot/bf-blender/blender/source/blender/src/header_info.c,v
retrieving revision 1.93
diff -u -r1.93 header_info.c
--- source/blender/src/header_info.c 28 Sep 2006
01:55:43 -0000 1.93
+++ source/blender/src/header_info.c 7 Oct 2006
17:33:21 -0000
@@ -1979,10 +1979,11 @@
xmax= GetButStringLength("Timeline");
uiDefPulldownBut(block,
info_timelinemenu, NULL, "Timeline", xco, -1,
xmax-3, 22, "");
xco+= xmax;
-
+#if NAN_NO_KESTJI==false
xmax= GetButStringLength("Game");
uiDefPulldownBut(block, info_gamemenu,
NULL, "Game", xco, -1, xmax-3, 22, "");
xco+= xmax;
+#endif
xmax= GetButStringLength("Render");
uiDefPulldownBut(block,
info_rendermenu, NULL, "Render", xco, -1,
xmax-3, 22, "");
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Bf-committers
mailing list