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:
authorCampbell Barton <ideasman42@gmail.com>2015-11-10 12:25:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-11-10 12:27:27 +0300
commit738bc300c7596b649a8974428b2569f2ca6483eb (patch)
treecfff2452decb66fbfb6b08e128a3855010696744 /source/blender/editors/object
parente26a0c5782cfdbd5f3372eb7c142b983ad570332 (diff)
Fix T46738: Crash adding hook to linked mesh dupli
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r--source/blender/editors/object/object_hook.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_hook.c b/source/blender/editors/object/object_hook.c
index 7b7f91b974d..03984b7a528 100644
--- a/source/blender/editors/object/object_hook.c
+++ b/source/blender/editors/object/object_hook.c
@@ -318,6 +318,8 @@ static bool object_hook_index_array(Scene *scene, Object *obedit,
EDBM_mesh_load(obedit);
EDBM_mesh_make(scene->toolsettings, obedit);
+ DAG_id_tag_update(&obedit->id, 0);
+
em = me->edit_btmesh;
EDBM_mesh_normals_update(em);