summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-02-01 13:39:16 +0100
committerGitHub <noreply@github.com>2022-02-01 13:39:16 +0100
commitdafadd73ac133308a2ea1cfcd3a85e22a1a1a0aa (patch)
tree04d1eb07f7c6b102d2350780d6c402bc4867c2ea /scene
parent473f681651e5a4859d6e4c4a3cef2d5aa3d736e6 (diff)
parentb4f0d4c7db295158ddf35bad770a2c9d976013a6 (diff)
Merge pull request #57375 from Calinou/gradienttexture-curvetexture-decrease-default-size
Diffstat (limited to 'scene')
-rw-r--r--scene/resources/texture.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/resources/texture.h b/scene/resources/texture.h
index c3f29ad417..8075497c42 100644
--- a/scene/resources/texture.h
+++ b/scene/resources/texture.h
@@ -595,7 +595,7 @@ public:
private:
mutable RID _texture;
Ref<Curve> _curve;
- int _width = 2048;
+ int _width = 256;
int _current_width = 0;
TextureMode texture_mode = TEXTURE_MODE_RGB;
TextureMode _current_texture_mode = TEXTURE_MODE_RGB;
@@ -637,7 +637,7 @@ private:
Ref<Curve> _curve_x;
Ref<Curve> _curve_y;
Ref<Curve> _curve_z;
- int _width = 2048;
+ int _width = 256;
int _current_width = 0;
void _update();
@@ -685,7 +685,7 @@ private:
Ref<Gradient> gradient;
bool update_pending = false;
RID texture;
- int width = 2048;
+ int width = 256;
bool use_hdr = false;
void _queue_update();