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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 ('Sequencer', 'SEQUENCE_EDITOR', 'WINDOW', []), | 83 ('Sequencer', 'SEQUENCE_EDITOR', 'WINDOW', []), |
84 ('Logic Editor', 'LOGIC_EDITOR', 'WINDOW', []), | 84 ('Logic Editor', 'LOGIC_EDITOR', 'WINDOW', []), |
85 | 85 |
86 ('File Browser', 'FILE_BROWSER', 'WINDOW', [ | 86 ('File Browser', 'FILE_BROWSER', 'WINDOW', [ |
87 ('File Browser Main', 'FILE_BROWSER', 'WINDOW', []), | 87 ('File Browser Main', 'FILE_BROWSER', 'WINDOW', []), |
88 ('File Browser Buttons', 'FILE_BROWSER', 'WINDOW', []) | 88 ('File Browser Buttons', 'FILE_BROWSER', 'WINDOW', []) |
89 ]), | 89 ]), |
90 | 90 |
91 ('Property Editor', 'PROPERTIES', 'WINDOW', []), # align context menu | 91 ('Property Editor', 'PROPERTIES', 'WINDOW', []), # align context menu |
92 | 92 |
93 ('Script', 'SCRIPTS_WINDOW', 'WINDOW', []), | |
94 ('Text', 'TEXT_EDITOR', 'WINDOW', []), | 93 ('Text', 'TEXT_EDITOR', 'WINDOW', []), |
95 ('Console', 'CONSOLE', 'WINDOW', []), | 94 ('Console', 'CONSOLE', 'WINDOW', []), |
| 95 ('Clip', 'CLIP_EDITOR', 'WINDOW', [ |
| 96 ('Clip Editor', 'CLIP_EDITOR', 'WINDOW', []), |
| 97 ('Clip Graph Editor', 'CLIP_EDITOR', 'WINDOW', []), |
| 98 ]), |
96 | 99 |
97 ('View3D Gesture Circle', 'EMPTY', 'WINDOW', []), | 100 ('View3D Gesture Circle', 'EMPTY', 'WINDOW', []), |
98 ('Gesture Border', 'EMPTY', 'WINDOW', []), | 101 ('Gesture Border', 'EMPTY', 'WINDOW', []), |
99 ('Standard Modal Map', 'EMPTY', 'WINDOW', []), | 102 ('Standard Modal Map', 'EMPTY', 'WINDOW', []), |
100 ('Transform Modal Map', 'EMPTY', 'WINDOW', []), | 103 ('Transform Modal Map', 'EMPTY', 'WINDOW', []), |
101 ('View3D Fly Modal', 'EMPTY', 'WINDOW', []), | 104 ('View3D Fly Modal', 'EMPTY', 'WINDOW', []), |
102 ('View3D Rotate Modal', 'EMPTY', 'WINDOW', []), | 105 ('View3D Rotate Modal', 'EMPTY', 'WINDOW', []), |
103 ('View3D Move Modal', 'EMPTY', 'WINDOW', []), | 106 ('View3D Move Modal', 'EMPTY', 'WINDOW', []), |
104 ('View3D Zoom Modal', 'EMPTY', 'WINDOW', []), | 107 ('View3D Zoom Modal', 'EMPTY', 'WINDOW', []), |
105 ] | 108 ] |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 return result | 300 return result |
298 | 301 |
299 # ------------------------------------------------------------------------- | 302 # ------------------------------------------------------------------------- |
300 # Function body | 303 # Function body |
301 | 304 |
302 result = False | 305 result = False |
303 for entry in KM_HIERARCHY: | 306 for entry in KM_HIERARCHY: |
304 if testEntry(kc, entry): | 307 if testEntry(kc, entry): |
305 result = True | 308 result = True |
306 return result | 309 return result |
LEFT | RIGHT |