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:
authorLukas Tönne <lukas.toenne@gmail.com>2016-04-16 15:26:09 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2016-04-16 15:26:09 +0300
commitecb695ccc8db811dff5c26dd70f7409a4d3eda9c (patch)
tree70f699c9d7041b1b2221cd593af070dd4878b5e5 /source/blender/blenkernel/intern/object.c
parentcd0ec340c44709cc0e7547b9f30a50fcc0c5d1c2 (diff)
Removed tool settings for particle edit mode.
Diffstat (limited to 'source/blender/blenkernel/intern/object.c')
-rw-r--r--source/blender/blenkernel/intern/object.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index 599d6134fd9..8ae0d7dd204 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -638,8 +638,6 @@ void BKE_object_unlink(Main *bmain, Object *ob)
if (sce->id.lib == NULL) {
if (sce->camera == ob) sce->camera = NULL;
if (sce->toolsettings->skgen_template == ob) sce->toolsettings->skgen_template = NULL;
- if (sce->toolsettings->particle.object == ob) sce->toolsettings->particle.object = NULL;
- if (sce->toolsettings->particle.shape_object == ob) sce->toolsettings->particle.shape_object = NULL;
#ifdef DURIAN_CAMERA_SWITCH
{