[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19941] trunk/blender/source/blender/src/ header_info.c: Fix for bug #18610: in the Game menu enabling " Record Game Physics to IPO"
Brecht Van Lommel
brecht at blender.org
Mon Apr 27 14:18:18 CEST 2009
Revision: 19941
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19941
Author: blendix
Date: 2009-04-27 14:18:18 +0200 (Mon, 27 Apr 2009)
Log Message:
-----------
Fix for bug #18610: in the Game menu enabling "Record Game Physics to IPO"
made "Generate Display Lists" hidden (these work fine together).
Modified Paths:
--------------
trunk/blender/source/blender/src/header_info.c
Modified: trunk/blender/source/blender/src/header_info.c
===================================================================
--- trunk/blender/source/blender/src/header_info.c 2009-04-27 11:49:40 UTC (rev 19940)
+++ trunk/blender/source/blender/src/header_info.c 2009-04-27 12:18:18 UTC (rev 19941)
@@ -1720,15 +1720,15 @@
uiDefIconTextBut(block, BUTM, 1, ICON_CHECKBOX_DEHLT, "Enable All Frames", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, G_FILE_ENABLE_ALL_FRAMES, "");
}
- if(G.fileflags & G_FILE_GAME_TO_IPO) {
- uiDefIconTextBut(block, BUTM, 1, ICON_CHECKBOX_HLT, "Record Game Physics to IPO", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, G_FILE_GAME_TO_IPO, "");
- } else {
-
if(G.fileflags & G_FILE_DISPLAY_LISTS) {
uiDefIconTextBut(block, BUTM, 1, ICON_CHECKBOX_HLT, "Generate Display Lists", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, G_FILE_DISPLAY_LISTS, "");
} else {
uiDefIconTextBut(block, BUTM, 1, ICON_CHECKBOX_DEHLT, "Generate Display Lists", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, G_FILE_DISPLAY_LISTS, "");
}
+
+ if(G.fileflags & G_FILE_GAME_TO_IPO) {
+ uiDefIconTextBut(block, BUTM, 1, ICON_CHECKBOX_HLT, "Record Game Physics to IPO", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, G_FILE_GAME_TO_IPO, "");
+ } else {
uiDefIconTextBut(block, BUTM, 1, ICON_CHECKBOX_DEHLT, "Record Game Physics to IPO", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, G_FILE_GAME_TO_IPO, "");
}
More information about the Bf-blender-cvs
mailing list