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:
authorTon Roosendaal <ton@blender.org>2006-07-05 13:35:05 +0400
committerTon Roosendaal <ton@blender.org>2006-07-05 13:35:05 +0400
commit6f2e6f07212a1ffe75668d903ce10c1a6a4b2033 (patch)
tree91489dcc3bcfff2b8b52eccf95d5753b8170b8d6 /source
parent034c197d61091cdc87e0f0371836f5a4087c05b1 (diff)
Bug #4610
Object buttons, the "Scale" constraint didn't draw a backdrop behind buttons as the others did. Fix provided by Joshua Leung.
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/buttons_object.c3
-rw-r--r--source/blender/src/usiblender.c1
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/buttons_object.c b/source/blender/src/buttons_object.c
index 8623b3fcb0d..c7e099a65ea 100644
--- a/source/blender/src/buttons_object.c
+++ b/source/blender/src/buttons_object.c
@@ -714,8 +714,7 @@ static void draw_constraint (uiBlock *block, ListBase *list, bConstraint *con, s
bArmature *arm;
height = 66;
- BIF_ThemeColor(curCol);
- glRects(*xco+3, *yco-height-39, *xco+width+30, *yco-18);
+ uiDefBut(block, ROUNDBOX, B_DIFF, "", *xco-10, *yco-height, width+40,height-1, NULL, 5.0, 0.0, 12, rb_col, "");
uiDefBut(block, LABEL, B_CONSTRAINT_TEST, "Target:", *xco+65, *yco-24, 50, 18, NULL, 0.0, 0.0, 0.0, 0.0, "");
diff --git a/source/blender/src/usiblender.c b/source/blender/src/usiblender.c
index cf55883f6f2..dd3086eef18 100644
--- a/source/blender/src/usiblender.c
+++ b/source/blender/src/usiblender.c
@@ -393,6 +393,7 @@ static void outliner_242_patch(void)
}
}
}
+ G.fileflags |= G_FILE_GAME_MAT;
}
/* only here settings for fullscreen */