I had a look, and there are 2 breaking changes in the Octane API:
- The
imageSaveType
enum moved to another module - The shutter speed settings moved to a node on the render target
--
Roeland
imageSaveType
enum moved to another modulekeyframe.screenItem[b][[/b]i].slider.value = keyframe.item[b][[/b]ix]
. I added more validation in the Lua API in a couple of places, to avoid such code failing silently if there's something wrong. The upshot is, if a value is set which is not the right type, or if you try to set nil
then it will raise an error.Code: Select all
function keyframe:setDefaultSliderValues()
for i=1, cameraFile.totalFrames do
keyframe.item[i] = keyframe.defaultSliderValue
end
local ix = keyframe.index
for i=1, keyframe.screenLimit-1 do
if keyframe.item[ix] then
keyframe.screenItem[i].slider.value = keyframe.item[ix]
end
ix = ix+1
end
end
Code: Select all
progressBar = function(self, argv)
self.bar = octane.gui.create
{
type = octane.gui.componentType.PROGRESS_BAR,
text = argv.text or "",
width = argv.width or 400,
height = argv.height or 25,
x = argv.x or 0,
y = argv.y or 0
}
return self
end,