diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2022-08-24 18:08:09 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2022-08-24 22:44:42 -0500 |
commit | 394d0584207378ecf330dad5cd3bd008ad535b47 (patch) | |
tree | 0de9ecb440d63973a92fdbbb58abc314ec070ee4 /modules/noise/editor | |
parent | 6e390fa9abf2101f8772c4ef6694471153105636 (diff) |
Rename 2D NoiseTexture to NoiseTexture2D
Diffstat (limited to 'modules/noise/editor')
-rw-r--r-- | modules/noise/editor/noise_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/noise/editor/noise_editor_plugin.cpp b/modules/noise/editor/noise_editor_plugin.cpp index 27a86f45b5..b6f7cbd2f8 100644 --- a/modules/noise/editor/noise_editor_plugin.cpp +++ b/modules/noise/editor/noise_editor_plugin.cpp @@ -35,7 +35,7 @@ #include "editor/editor_scale.h" #include "modules/noise/noise.h" -#include "modules/noise/noise_texture.h" +#include "modules/noise/noise_texture_2d.h" class NoisePreview : public Control { GDCLASS(NoisePreview, Control) @@ -102,7 +102,7 @@ private: void update_preview() { if (MIN(_preview_texture_size.width, _preview_texture_size.height) > 0) { - Ref<NoiseTexture> tex; + Ref<NoiseTexture2D> tex; tex.instantiate(); tex->set_width(_preview_texture_size.width); tex->set_height(_preview_texture_size.height); |