LEFT | RIGHT |
1 /* | 1 /* |
2 * ***** BEGIN GPL LICENSE BLOCK ***** | 2 * ***** BEGIN GPL LICENSE BLOCK ***** |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or | 4 * This program is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU General Public License | 5 * modify it under the terms of the GNU General Public License |
6 * as published by the Free Software Foundation; either version 2 | 6 * as published by the Free Software Foundation; either version 2 |
7 * of the License, or (at your option) any later version. | 7 * of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 if (RNA_struct_is_a(type, &RNA_Image)) return ID_IM; | 133 if (RNA_struct_is_a(type, &RNA_Image)) return ID_IM; |
134 if (RNA_struct_is_a(type, &RNA_Key)) return ID_KE; | 134 if (RNA_struct_is_a(type, &RNA_Key)) return ID_KE; |
135 if (RNA_struct_is_a(type, &RNA_Lamp)) return ID_LA; | 135 if (RNA_struct_is_a(type, &RNA_Lamp)) return ID_LA; |
136 if (RNA_struct_is_a(type, &RNA_Library)) return ID_LI; | 136 if (RNA_struct_is_a(type, &RNA_Library)) return ID_LI; |
137 if (RNA_struct_is_a(type, &RNA_FreestyleLineStyle)) return ID_LS; | 137 if (RNA_struct_is_a(type, &RNA_FreestyleLineStyle)) return ID_LS; |
138 if (RNA_struct_is_a(type, &RNA_Lattice)) return ID_LT; | 138 if (RNA_struct_is_a(type, &RNA_Lattice)) return ID_LT; |
139 if (RNA_struct_is_a(type, &RNA_Material)) return ID_MA; | 139 if (RNA_struct_is_a(type, &RNA_Material)) return ID_MA; |
140 if (RNA_struct_is_a(type, &RNA_MetaBall)) return ID_MB; | 140 if (RNA_struct_is_a(type, &RNA_MetaBall)) return ID_MB; |
141 if (RNA_struct_is_a(type, &RNA_NodeTree)) return ID_NT; | 141 if (RNA_struct_is_a(type, &RNA_NodeTree)) return ID_NT; |
142 if (RNA_struct_is_a(type, &RNA_Mesh)) return ID_ME; | 142 if (RNA_struct_is_a(type, &RNA_Mesh)) return ID_ME; |
143 if (RNA_struct_is_a(type, &RNA_Object)) return ID_OB; | |
144 if (RNA_struct_is_a(type, &RNA_ParticleSettings)) return ID_PA; | |
145 if(RNA_struct_is_a(type, &RNA_VectorFont)) return ID_VF; | 143 if(RNA_struct_is_a(type, &RNA_VectorFont)) return ID_VF; |
146 if(RNA_struct_is_a(type, &RNA_World)) return ID_WO; | 144 if(RNA_struct_is_a(type, &RNA_World)) return ID_WO; |
147 if(RNA_struct_is_a(type, &RNA_WindowManager)) return ID_WM; | 145 if(RNA_struct_is_a(type, &RNA_WindowManager)) return ID_WM; |
148 | 146 |
149 return 0; | 147 return 0; |
150 } | 148 } |
LEFT | RIGHT |