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>2018-04-25 20:00:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-25 20:01:41 +0300
commit81f19b0c5f81e909001605137611120eb6ab0d77 (patch)
tree00df684b5179c6cb74a169004f4bb7ab29c9e9fe
parentce7c6e3894b0787f0feadccea893b4574374d6ae (diff)
Fix selection with image planes
-rw-r--r--source/blender/draw/modes/object_mode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c
index d7419dd4717..6bc59111b08 100644
--- a/source/blender/draw/modes/object_mode.c
+++ b/source/blender/draw/modes/object_mode.c
@@ -2276,6 +2276,7 @@ static void OBJECT_draw_scene(void *vedata)
/* This has to be freed only after drawing empties! */
if (stl->g_data->image_plane_map) {
BLI_ghash_free(stl->g_data->image_plane_map, NULL, MEM_freeN);
+ stl->g_data->image_plane_map = NULL;
}
}