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:
Diffstat (limited to 'source/blender/src/interface.c')
-rw-r--r--source/blender/src/interface.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c
index fa54d83260e..5c4843e8664 100644
--- a/source/blender/src/interface.c
+++ b/source/blender/src/interface.c
@@ -4612,14 +4612,6 @@ static uiBut *uiDefButBit(uiBlock *block, int type, int bit, int retval, char *s
if (bitIdx==-1) {
return NULL;
} else {
- if (type&BIT) {
- int curIdx = type&31;
-
- if (curIdx!=bitIdx) {
- printf("ERROR: button index mismatch! (Button: %s, Correct Index: %d, Given Index: %d)\n", str, bitIdx, curIdx);
- }
- }
-
return uiDefBut(block, type|BIT|bitIdx, retval, str, x1, y1, x2, y2, poin, min, max, a1, a2, tip);
}
}