Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-05-11 13:47:27 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-05-11 13:49:25 +0300
commitf74c604646294aa8d99b29780f863307fb2c3c0b (patch)
tree06718354c8f6cd56a2a130912137f24de13053cb /source/blender/editors/physics
parentd50821f145550b60078ce1106edd21348476d960 (diff)
Remove unused functions which will break with copy-on-write
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r--source/blender/editors/physics/particle_edit.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c
index f65e598e204..d42989424be 100644
--- a/source/blender/editors/physics/particle_edit.c
+++ b/source/blender/editors/physics/particle_edit.c
@@ -191,24 +191,6 @@ static float pe_brush_size_get(const Scene *UNUSED(scene), ParticleBrushData *br
return brush->size * U.pixelsize;
}
-PTCacheEdit *PE_get_current_from_psys(ParticleSystem *psys)
-{
- if (psys->part && psys->part->type == PART_HAIR) {
- if ((psys->flag & PSYS_HAIR_DYNAMICS) != 0 &&
- (psys->pointcache->flag & PTCACHE_BAKED) != 0)
- {
- return psys->pointcache->edit;
- }
- else {
- return psys->edit;
- }
- }
- else if (psys->pointcache->flag & PTCACHE_BAKED) {
- return psys->pointcache->edit;
- }
- return NULL;
-}
-
/* always gets at least the first particlesystem even if PSYS_CURRENT flag is not set
*
* note: this function runs on poll, therefor it can runs many times a second