summaryrefslogtreecommitdiff
path: root/indra/newview/scripts
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2024-03-26 19:12:13 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2024-03-26 19:12:13 +0200
commit24a7842b9b08dc5cfb89fe36e5ebcd9c2598fa44 (patch)
treeb4b0e6d9c302d352a2a6814a86ac4f3084d306a4 /indra/newview/scripts
parent6cedaecad9c4830aa29068b90611b8b9da301ac9 (diff)
update scripts to use fiber.launch()
Diffstat (limited to 'indra/newview/scripts')
-rw-r--r--indra/newview/scripts/lua/test_luafloater_demo.lua3
-rw-r--r--indra/newview/scripts/lua/test_luafloater_gesture_list.lua3
2 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/scripts/lua/test_luafloater_demo.lua b/indra/newview/scripts/lua/test_luafloater_demo.lua
index f2cf34206e..be189bc146 100644
--- a/indra/newview/scripts/lua/test_luafloater_demo.lua
+++ b/indra/newview/scripts/lua/test_luafloater_demo.lua
@@ -2,6 +2,7 @@ XML_FILE_PATH = "luafloater_demo.xml"
leap = require 'leap'
coro = require 'coro'
+fiber = require 'fiber'
--event pump for sending actions to the floater
COMMAND_PUMP_NAME = ""
@@ -63,4 +64,4 @@ function process_events(waitfor)
end
end
-coro.launch(process_events, catch_events)
+fiber.launch("catch_events", process_events, catch_events)
diff --git a/indra/newview/scripts/lua/test_luafloater_gesture_list.lua b/indra/newview/scripts/lua/test_luafloater_gesture_list.lua
index 049ba757d3..7e2139468f 100644
--- a/indra/newview/scripts/lua/test_luafloater_gesture_list.lua
+++ b/indra/newview/scripts/lua/test_luafloater_gesture_list.lua
@@ -2,6 +2,7 @@ XML_FILE_PATH = "luafloater_gesture_list.xml"
leap = require 'leap'
coro = require 'coro'
+fiber = require 'fiber'
LLGesture = require 'LLGesture'
--event pump for sending actions to the floater
@@ -60,4 +61,4 @@ function process_events(waitfor)
end
end
-coro.launch(process_events, catch_events)
+fiber.launch("catch_events", process_events, catch_events)