diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-09 22:11:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 22:11:04 +0100 |
commit | 06a33e590f029d4d96e32df62f3c3961e1c33e4e (patch) | |
tree | d91ff1e2c78a31d2897a2cc49218d4f3b7535459 /editor/import/resource_importer_wav.cpp | |
parent | efea3128c3b0d026a20efaf6bd46058c2b732519 (diff) | |
parent | 953a7bce7edf289dd8d2a1a6c8ecd8105380c8da (diff) |
Merge pull request #53819 from TokageItLab/re-implement-ping-pong
Reimplement ping-pong animation and reverse playback
Diffstat (limited to 'editor/import/resource_importer_wav.cpp')
-rw-r--r-- | editor/import/resource_importer_wav.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/resource_importer_wav.cpp b/editor/import/resource_importer_wav.cpp index 89383d3dde..877bdd50fb 100644 --- a/editor/import/resource_importer_wav.cpp +++ b/editor/import/resource_importer_wav.cpp @@ -272,7 +272,7 @@ Error ResourceImporterWAV::import(const String &p_source_file, const String &p_s if (loop_type == 0x00) { loop = AudioStreamSample::LOOP_FORWARD; } else if (loop_type == 0x01) { - loop = AudioStreamSample::LOOP_PING_PONG; + loop = AudioStreamSample::LOOP_PINGPONG; } else if (loop_type == 0x02) { loop = AudioStreamSample::LOOP_BACKWARD; } |