diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2016-04-16 15:26:09 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2016-04-16 15:26:09 +0300 |
commit | ecb695ccc8db811dff5c26dd70f7409a4d3eda9c (patch) | |
tree | 70f699c9d7041b1b2221cd593af070dd4878b5e5 /source/blender/blenloader/intern/versioning_250.c | |
parent | cd0ec340c44709cc0e7547b9f30a50fcc0c5d1c2 (diff) |
Removed tool settings for particle edit mode.
Diffstat (limited to 'source/blender/blenloader/intern/versioning_250.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_250.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source/blender/blenloader/intern/versioning_250.c b/source/blender/blenloader/intern/versioning_250.c index b3ac48cf0cb..5d8f31be9be 100644 --- a/source/blender/blenloader/intern/versioning_250.c +++ b/source/blender/blenloader/intern/versioning_250.c @@ -1414,14 +1414,9 @@ void blo_do_versions_250(FileData *fd, Library *lib, Main *main) } if (main->versionfile < 250 || (main->versionfile == 250 && main->subversionfile < 9)) { - Scene *sce; Mesh *me; Object *ob; - for (sce = main->scene.first; sce; sce = sce->id.next) - if (!sce->toolsettings->particle.selectmode) - sce->toolsettings->particle.selectmode = SCE_SELECT_PATH; - if (main->versionfile == 250 && main->subversionfile > 1) { for (me = main->mesh.first; me; me = me->id.next) multires_load_old_250(me); @@ -1750,15 +1745,6 @@ void blo_do_versions_250(FileData *fd, Library *lib, Main *main) SEQ_END } - /* particle brush strength factor was changed from int to float */ - for (sce = main->scene.first; sce; sce = sce->id.next) { - ParticleEditSettings *pset = &sce->toolsettings->particle; - int a; - - for (a = 0; a < PE_TOT_BRUSH; a++) - pset->brush[a].strength /= 100.0f; - } - for (ma = main->mat.first; ma; ma = ma->id.next) if (ma->mode & MA_TRACEBLE) ma->shade_flag |= MA_APPROX_OCCLUSION; |