Blender Git Loki
Git Commits -> Revision e2d2234
Revision e2d2234 by Joshua Leung (master) November 27, 2016, 13:33 (GMT) |
Fix T50123 - GreasePencil: Modifying name of new color in new palette via bpy segfaults When there were no prior palettes, creating a new one didn't automatically make it active. This caused problems when trying to rename the color, as the RNA code assumed that if there's a color, it must come from the active palette. This commit partially fixes the problem by ensuring that if there are no palettes, the first one will always be made active. |
Commit Details:
Full Hash: e2d223461efeea4792defb254c692828266478d1
Parent Commit: d20f5b7
Lines Changed: +2, -1
1 Modified Path:
/source/blender/blenkernel/intern/gpencil.c (+2, -1) (Diff)