diff options
Diffstat (limited to 'source/blender/blenkernel/intern/library.c')
-rw-r--r-- | source/blender/blenkernel/intern/library.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index 895d215ca91..be04b97bb47 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -108,7 +108,6 @@ #include "BKE_node.h" #include "BKE_object.h" #include "BKE_paint.h" -#include "BKE_particle.h" #include "BKE_packedFile.h" #include "BKE_speaker.h" #include "BKE_sound.h" @@ -348,9 +347,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: @@ -443,9 +439,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: @@ -840,9 +833,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; @@ -1261,9 +1251,6 @@ void BKE_libblock_free_ex(Main *bmain, void *idv, bool do_id_user) case ID_BR: BKE_brush_free((Brush *)id); break; - case ID_PA: - BKE_particlesettings_free((ParticleSettings *)id); - break; case ID_WM: if (free_windowmanager_cb) free_windowmanager_cb(NULL, (wmWindowManager *)id); |