From 4090266989e2c09897c74cd2372fc2a8e6d28926 Mon Sep 17 00:00:00 2001 From: supertobi Date: Tue, 10 Oct 2017 17:22:24 +0200 Subject: [PATCH] Removed not needed code in yield.lua --- official/yield.lua | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/official/yield.lua b/official/yield.lua index 7454bee..3e5cb9b 100644 --- a/official/yield.lua +++ b/official/yield.lua @@ -25,21 +25,6 @@ USAGE local dt = require "darktable" local yield_orig = coroutine.yield --- ToDo: Test with dt master ---[[ -if (dt.configuration.api_version_major >= 4) then - coroutine.yield = function(yield_type, command) - if (yield_type == "RUN_COMMAND") then - dt.control.execute(command) - elseif (yield_type == "FILE_READABLE") then - dt.control.read(command) - elseif (yield_type == "WAIT_MS") then - dt.control.sleep(command) - end - end -end -]] - if (dt.configuration.api_version_major < 4) then dt.control = {} dt.control.execute = function(command)