[Bf-blender-cvs] [bfe0ea4] master: Fix own sillyness
Antony Riakiotakis
noreply at git.blender.org
Tue May 26 12:58:40 CEST 2015
Commit: bfe0ea4069017c37f8b35cb5ec259bbd16c37d6a
Author: Antony Riakiotakis
Date: Tue May 26 12:58:32 2015 +0200
Branches: master
https://developer.blender.org/rBbfe0ea4069017c37f8b35cb5ec259bbd16c37d6a
Fix own sillyness
===================================================================
M source/blender/editors/interface/interface_layout.c
===================================================================
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c
index 216254a0..f6e02735 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -2148,7 +2148,7 @@ static RadialDirection ui_get_radialbut_vec(float vec[2], short itemnum)
{
RadialDirection dir;
- if (itemnum < 8) {
+ if (itemnum >= 8) {
itemnum %= 8;
printf("Warning: Pie menus with more than 8 items are currently unsupported\n");
}
More information about the Bf-blender-cvs
mailing list