Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2006-10-13 13:16:28 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2006-10-13 13:16:28 +0400
commitbbf3c93b96cc6bfdc401db077a7b8d52c13f4b2b (patch)
tree8b3d4b064e7cb444708965602c40b7402072c234 /source
parent7e34fbe47f454f222eb97ef2649512127c3866a8 (diff)
add some #ifdefs around verse-related code
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/outliner.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/outliner.c b/source/blender/src/outliner.c
index b7ec5d0ecf3..32bb98d43f4 100644
--- a/source/blender/src/outliner.c
+++ b/source/blender/src/outliner.c
@@ -2525,6 +2525,7 @@ static void outliner_draw_tree_element(SpaceOops *soops, TreeElement *te, int st
}
}
} else if (tselem->type==ID_SS) {
+#ifdef WITH_VERSE
struct VerseServer *server = (VerseServer *)te->directdata;
if(server->flag & VERSE_CONNECTING) {
glColor4ub(255,128,64,100);
@@ -2533,6 +2534,7 @@ static void outliner_draw_tree_element(SpaceOops *soops, TreeElement *te, int st
glColor4ub(0,128,0,100);
active = 2;
}
+#endif
}
else {
if( tree_element_type_active(soops, te, tselem, 0) ) active= 2;
@@ -2599,6 +2601,7 @@ static void outliner_draw_tree_element(SpaceOops *soops, TreeElement *te, int st
if(tselem->flag & TSE_CLOSED) {
if(te->subtree.first) {
if(tselem->type==0 && te->idcode==ID_SCE);
+#ifdef WITH_VERSE
else if(tselem->type==ID_MS) {
char server_buf[50];
int nr_servers = 0;
@@ -2613,6 +2616,7 @@ static void outliner_draw_tree_element(SpaceOops *soops, TreeElement *te, int st
BIF_DrawString(G.font, server_buf, 0);
offsx+= OL_X + BIF_GetStringWidth(G.font, server_buf, 0);
}
+#endif
else {
int tempx= startx+offsx;
// divider