Add note about color picker deferred initialization

This commit is contained in:
Juan Linietsky 2018-05-16 08:04:46 -03:00
parent 66dc73f3ca
commit 031a445368

View file

@ -759,6 +759,9 @@ void ColorPickerButton::_bind_methods() {
ColorPickerButton::ColorPickerButton() {
//Initialization is now done deferred
//this improves performance in the inspector as the color picker
//can be expensive to initialize
picker = NULL;
popup = NULL;
edit_alpha = true;