Commit: 81f19b0c5f81e909001605137611120eb6ab0d77
Author: Campbell Barton
Date:   Wed Apr 25 19:00:55 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB81f19b0c5f81e909001605137611120eb6ab0d77

Fix selection with image planes

===================================================================

M       source/blender/draw/modes/object_mode.c

===================================================================

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;
        }
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to