summaryrefslogtreecommitdiff
path: root/editor/plugins/gradient_editor_plugin.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-04 21:24:27 +0200
committerGitHub <noreply@github.com>2022-04-04 21:24:27 +0200
commit1abb5ebf6532944a9fd0d1acf9ad61a0df1bb0ed (patch)
treea9d2df2e2df939c189135b1c36a01e06b37b80b2 /editor/plugins/gradient_editor_plugin.h
parent53317bbe146dd19a919685df8d846c55568daba1 (diff)
parentf8ab79e68af20e18e1d868b64d6dfd0c429bc554 (diff)
Merge pull request #59867 from akien-mga/refactor-zero-initialize-all-pointers
Diffstat (limited to 'editor/plugins/gradient_editor_plugin.h')
-rw-r--r--editor/plugins/gradient_editor_plugin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/plugins/gradient_editor_plugin.h b/editor/plugins/gradient_editor_plugin.h
index 9857ea018d..26bf76fecd 100644
--- a/editor/plugins/gradient_editor_plugin.h
+++ b/editor/plugins/gradient_editor_plugin.h
@@ -65,9 +65,9 @@ class GradientReverseButton : public BaseButton {
class EditorInspectorPluginGradient : public EditorInspectorPlugin {
GDCLASS(EditorInspectorPluginGradient, EditorInspectorPlugin);
- GradientEditor *editor;
- HBoxContainer *gradient_tools_hbox;
- GradientReverseButton *reverse_btn;
+ GradientEditor *editor = nullptr;
+ HBoxContainer *gradient_tools_hbox = nullptr;
+ GradientReverseButton *reverse_btn = nullptr;
void _reverse_button_pressed();