diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2016-10-21 15:52:29 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2016-10-21 15:59:03 +0300 |
commit | 0497b012a37efb63f876b7c7bf127e60896b84c7 (patch) | |
tree | 3dc102b26f5619e8ecff65312b9f38d256cba6bf | |
parent | 669c2801c0c2048e32eac0a9fc31ce4d664a63bd (diff) |
Cleanups to make the patch lean
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 1 |
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); } |