move SPACE_* (enum) and SPACEICONMAX to DNA_space_types (being the more logical place than DNA_screen_types). SPACEICONMAX gets its value now through this enum, so it is not anymore easy to forget to update it correctly :)
This commit is contained in:
@@ -37,7 +37,8 @@ struct View3D;
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_main.h"
|
||||
#include "MEM_guardedalloc.h" /* for MEM_callocN */
|
||||
#include "DNA_screen_types.h" /* SPACE_VIEW3D, SPACE_SEQ */
|
||||
#include "DNA_space_types.h" /* SPACE_VIEW3D, SPACE_SEQ */
|
||||
#include "DNA_screen_types.h"
|
||||
#include "DNA_userdef_types.h" /* U.userdefs */
|
||||
#include "DNA_object_types.h" /* SceneObSeq_new */
|
||||
#include "BKE_depsgraph.h"
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
|
||||
#include <Python.h>
|
||||
#include "DNA_screen_types.h"
|
||||
#include "DNA_space_types.h"
|
||||
#include "DNA_userdef_types.h"
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user