Blender Git Commit Log

Git Commits -> Revision d788f52

Revision d788f52 by Antonio Vazquez (master)
June 12, 2019, 13:52 (GMT)
Fix T65741: Removing a GPencil Object's Material Slot deletes the strokes assigned to it

This was a design decision, but now we have decided to change it using the active material for the strokes using deleted material.

If the material slot is empty a new material is created to keep the strokes visible.

Commit Details:

Full Hash: d788f5231e81ae2be363f877d04ab93ddc396fa6
Parent Commit: 7a50d07
Lines Changed: +16, -29

3 Modified Paths:

/source/blender/blenkernel/BKE_gpencil.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+6, -24) (Diff)
/source/blender/blenkernel/intern/material.c (+9, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021