Fix (unreported) unauthorized relesing of derived_final DM in paint projection code.
authorBastien Montagne <montagne29@wanadoo.fr>
Tue, 19 Jun 2018 08:43:54 +0000 (10:43 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Tue, 19 Jun 2018 08:43:54 +0000 (10:43 +0200)
commit64a2f9806238464895c726af9a96760377b3ebb6
treeeea1d00fa40ae0595aa0a57c6de3d9ae4a27b7e6
parent751189e9d6828368614fe3f517a80ddb95f8c547
Fix (unreported) unauthorized relesing of derived_final DM in paint projection code.

NEVER free yourself DM returned by mesh_get_derived_final(), it's always
to one assigned to ob->derived_final!
source/blender/editors/sculpt_paint/paint_image_proj.c