diff options
Diffstat (limited to 'source/blender/blenkernel/intern/library.c')
-rw-r--r-- | source/blender/blenkernel/intern/library.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index fe16df18813..5f7bded4262 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -104,7 +104,6 @@ #include "BKE_mask.h" #include "BKE_node.h" #include "BKE_object.h" -#include "BKE_particle.h" #include "BKE_packedFile.h" #include "BKE_speaker.h" #include "BKE_scene.h" @@ -335,9 +334,6 @@ bool id_make_local(ID *id, bool test) case ID_BR: if (!test) BKE_brush_make_local((Brush *)id); return true; - case ID_PA: - if (!test) BKE_particlesettings_make_local((ParticleSettings *)id); - return true; case ID_WM: return false; /* can't be linked */ case ID_GD: @@ -430,9 +426,6 @@ bool id_copy(ID *id, ID **newid, bool test) case ID_BR: if (!test) *newid = (ID *)BKE_brush_copy((Brush *)id); return true; - case ID_PA: - if (!test) *newid = (ID *)BKE_particlesettings_copy((ParticleSettings *)id); - return true; case ID_WM: return false; /* can't be copied from here */ case ID_GD: @@ -530,8 +523,6 @@ ListBase *which_libbase(Main *mainlib, short type) return &(mainlib->nodetree); case ID_BR: return &(mainlib->brush); - case ID_PA: - return &(mainlib->particle); case ID_WM: return &(mainlib->wm); case ID_GD: @@ -683,7 +674,6 @@ int set_listbasepointers(Main *main, ListBase **lb) lb[a++] = &(main->palettes); lb[a++] = &(main->paintcurves); lb[a++] = &(main->brush); - lb[a++] = &(main->particle); lb[a++] = &(main->speaker); lb[a++] = &(main->world); @@ -796,9 +786,6 @@ void *BKE_libblock_alloc_notest(short type) case ID_BR: id = MEM_callocN(sizeof(Brush), "brush"); break; - case ID_PA: - id = MEM_callocN(sizeof(ParticleSettings), "ParticleSettings"); - break; case ID_WM: id = MEM_callocN(sizeof(wmWindowManager), "Window manager"); break; @@ -940,9 +927,6 @@ void BKE_libblock_init_empty(ID *id) case ID_BR: BKE_brush_init((Brush *)id); break; - case ID_PA: - /* Nothing to do. */ - break; case ID_PC: /* Nothing to do. */ break; |