Merge pull request #21569 from JFonS/add_noise_textures
Add SimplexNoise and NoiseTexture as new resources
This commit is contained in:
commit
2aad7f1376
16 changed files with 3450 additions and 2 deletions
|
|
@ -1633,16 +1633,17 @@ void GradientTexture::_queue_update() {
|
|||
if (update_pending)
|
||||
return;
|
||||
|
||||
update_pending = true;
|
||||
call_deferred("_update");
|
||||
}
|
||||
|
||||
void GradientTexture::_update() {
|
||||
|
||||
update_pending = false;
|
||||
|
||||
if (gradient.is_null())
|
||||
return;
|
||||
|
||||
update_pending = false;
|
||||
|
||||
PoolVector<uint8_t> data;
|
||||
data.resize(width * 4);
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue