Add note about color picker deferred initialization
This commit is contained in:
parent
66dc73f3ca
commit
031a445368
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue