LEFT | RIGHT |
1 # ##### BEGIN GPL LICENSE BLOCK ##### | 1 # ##### BEGIN GPL LICENSE BLOCK ##### |
2 # | 2 # |
3 # This program is free software; you can redistribute it and/or | 3 # This program is free software; you can redistribute it and/or |
4 # modify it under the terms of the GNU General Public License | 4 # modify it under the terms of the GNU General Public License |
5 # as published by the Free Software Foundation; either version 2 | 5 # as published by the Free Software Foundation; either version 2 |
6 # of the License, or (at your option) any later version. | 6 # of the License, or (at your option) any later version. |
7 # | 7 # |
8 # This program is distributed in the hope that it will be useful, | 8 # This program is distributed in the hope that it will be useful, |
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 elif obj: | 52 elif obj: |
53 if mode_string not in {'PAINT_TEXTURE'}: | 53 if mode_string not in {'PAINT_TEXTURE'}: |
54 sub.menu("VIEW3D_MT_%s" % mode_string.lower()) | 54 sub.menu("VIEW3D_MT_%s" % mode_string.lower()) |
55 if mode_string in {'SCULPT', 'PAINT_VERTEX', 'PAINT_WEIGHT', 'PA
INT_TEXTURE'}: | 55 if mode_string in {'SCULPT', 'PAINT_VERTEX', 'PAINT_WEIGHT', 'PA
INT_TEXTURE'}: |
56 sub.menu("VIEW3D_MT_brush") | 56 sub.menu("VIEW3D_MT_brush") |
57 if mode_string == 'SCULPT': | 57 if mode_string == 'SCULPT': |
58 sub.menu("VIEW3D_MT_hide") | 58 sub.menu("VIEW3D_MT_hide") |
59 else: | 59 else: |
60 sub.menu("VIEW3D_MT_object") | 60 sub.menu("VIEW3D_MT_object") |
61 | 61 |
LEFT | RIGHT |