mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2025-12-30 15:50:55 -06:00
No longer print error message in toggleFade function if no match was found
This commit is contained in:
@@ -329,11 +329,6 @@ openspace.toggleFade = function(renderable, fadeTime, endScript)
|
||||
local renderablesList = openspace.propertyOwner(renderable)
|
||||
|
||||
if next(renderablesList) == nil then
|
||||
-- List is empty, no matches found
|
||||
openspace.printError(
|
||||
"Error when calling script 'openspace.toggleFade': " ..
|
||||
"Could not find any property owner matching '" .. renderable .. "'"
|
||||
)
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user