Add note about color picker deferred initialization
This commit is contained in:
parent
66dc73f3ca
commit
031a445368
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user