Fix for a color ramp not immediately updated during the manipulation of a color picker.

This commit complements a similar fix in revision 44171.
This commit is contained in:
Tamito Kajiyama
2012-02-17 23:27:04 +00:00
parent f1e3e0fff0
commit f261d58b6d

View File

@@ -293,6 +293,13 @@ static void rna_ColorRamp_update(Main *bmain, Scene *UNUSED(scene), PointerRNA *
WM_main_add_notifier(NC_TEXTURE, tex);
}
break;
case ID_LS:
{
FreestyleLineStyle *linestyle= ptr->id.data;
WM_main_add_notifier(NC_LINESTYLE, linestyle);
}
break;
default:
break;
}