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
diff options
context:
space:
mode:
-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 */