Refactor: Move NOP idtypes foreach_id to new IDTypeInfo structure.
This commit is contained in:
parent
7e4654e4ce
commit
ce74df6248
|
@ -97,6 +97,7 @@ IDTypeInfo IDType_ID_CF = {
|
|||
.copy_data = cache_file_copy_data,
|
||||
.free_data = cache_file_free_data,
|
||||
.make_local = NULL,
|
||||
.foreach_id = NULL,
|
||||
};
|
||||
|
||||
/* TODO: make this per cache file to avoid global locks. */
|
||||
|
|
|
@ -134,6 +134,7 @@ IDTypeInfo IDType_ID_VF = {
|
|||
.copy_data = vfont_copy_data,
|
||||
.free_data = vfont_free_data,
|
||||
.make_local = NULL,
|
||||
.foreach_id = NULL,
|
||||
};
|
||||
|
||||
/***************************** VFont *******************************/
|
||||
|
|
|
@ -199,6 +199,7 @@ IDTypeInfo IDType_ID_IM = {
|
|||
.copy_data = image_copy_data,
|
||||
.free_data = image_free_data,
|
||||
.make_local = NULL,
|
||||
.foreach_id = NULL,
|
||||
};
|
||||
|
||||
/* prototypes */
|
||||
|
|
|
@ -123,6 +123,7 @@ IDTypeInfo IDType_ID_IP = {
|
|||
.copy_data = NULL,
|
||||
.free_data = ipo_free_data,
|
||||
.make_local = NULL,
|
||||
.foreach_id = NULL,
|
||||
};
|
||||
|
||||
/* *************************************************** */
|
||||
|
|
|
@ -116,6 +116,7 @@ IDTypeInfo IDType_ID_PAL = {
|
|||
.copy_data = palette_copy_data,
|
||||
.free_data = palette_free_data,
|
||||
.make_local = NULL,
|
||||
.foreach_id = NULL,
|
||||
};
|
||||
|
||||
static void paint_curve_copy_data(Main *UNUSED(bmain),
|
||||
|
@ -153,6 +154,7 @@ IDTypeInfo IDType_ID_PC = {
|
|||
.copy_data = paint_curve_copy_data,
|
||||
.free_data = paint_curve_free_data,
|
||||
.make_local = NULL,
|
||||
.foreach_id = NULL,
|
||||
};
|
||||
|
||||
const char PAINT_CURSOR_SCULPT[3] = {255, 100, 100};
|
||||
|
|
|
@ -127,6 +127,7 @@ IDTypeInfo IDType_ID_SO = {
|
|||
.copy_data = sound_copy_data,
|
||||
.free_data = sound_free_data,
|
||||
.make_local = NULL,
|
||||
.foreach_id = NULL,
|
||||
};
|
||||
|
||||
#ifdef WITH_AUDASPACE
|
||||
|
|
|
@ -206,6 +206,7 @@ IDTypeInfo IDType_ID_TXT = {
|
|||
.copy_data = text_copy_data,
|
||||
.free_data = text_free_data,
|
||||
.make_local = NULL,
|
||||
.foreach_id = NULL,
|
||||
};
|
||||
|
||||
/***/
|
||||
|
|
Loading…
Reference in New Issue