git.ucc.asn.au
/
atyndall
/
cits2231.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e762d9f
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sat, 8 Oct 2011 05:53:46 +0000
(13:53 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sat, 8 Oct 2011 05:53:46 +0000
(13:53 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
4ab2ecf
..
e956c92
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-275,7
+275,7
@@
void makeMenu() {
for( int i = 0; i < menuNumber; i++ ) {
\r
addObjectSubmenu[i] = glutCreateMenu(processObjectEvents);
\r
int startNum = i*11 - (i-1);
\r
- for ( int j = startNum; j < (startNum+9); j++ ) {
\r
+ for ( int j = startNum
- 1
; j < (startNum+9); j++ ) {
\r
if ( !objectMenuEntries[j] ) break; // Detect if we've reached the end of the array
\r
glutAddMenuEntry( objectMenuEntries[j], j );
\r
}
\r
UCC
git Repository :: git.ucc.asn.au