Joshua Leung e2d223461e 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.
2016-11-28 02:33:48 +13:00
2016-11-02 15:35:18 +01:00
2013-12-24 22:57:27 +06:00
2016-07-15 01:28:00 +10:00
2010-10-13 14:44:22 +00:00
2016-07-15 01:26:26 +10:00
2016-11-16 20:13:58 -07:00
Description
No description provided
841 MiB
Languages
C++ 78%
Python 14.9%
C 2.9%
GLSL 1.9%
CMake 1.2%
Other 0.9%