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:
authorDalai Felinto <dfelinto@gmail.com>2016-10-21 15:52:29 +0300
committerDalai Felinto <dfelinto@gmail.com>2016-10-21 15:59:03 +0300
commit0497b012a37efb63f876b7c7bf127e60896b84c7 (patch)
tree3dc102b26f5619e8ecff65312b9f38d256cba6bf
parent669c2801c0c2048e32eac0a9fc31ce4d664a63bd (diff)
Cleanups to make the patch lean
-rw-r--r--.gitignore2
-rw-r--r--source/blender/blenkernel/intern/object.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 8347d2d2944..977fd9c2627 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,8 +9,6 @@ __pycache__/
*~
*.swp
*.swo
-*.sublime-project
-*.sublime-workspace
*#
# QtCreator
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index cc5d8d9e61d..d49c5d304cd 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -203,6 +203,7 @@ void BKE_object_free_modifiers(Object *ob)
/* same for softbody */
BKE_object_free_softbody(ob);
+ /* modifiers may have stored data in the DM cache */
BKE_object_free_derived_caches(ob);
}