thanks for the update, no more error message when starting the first time on osxabstrax wrote:Just a heads up: We released another small bug-fix build which should fix the issues reported for version 2.12.
Apologies for the noise.

thanks for the update, no more error message when starting the first time on osxabstrax wrote:Just a heads up: We released another small bug-fix build which should fix the issues reported for version 2.12.
Apologies for the noise.
abstrax wrote:Just a heads up: We released another small bug-fix build which should fix the issues reported for version 2.12.
Apologies for the noise.
Code: Select all
-- Tab callback test
-- This script works in 2.06.
-- In 2.11 thru 2.12.1, everything works
-- until you close the window, then Octane crashes.
label_1 = octane.gui.create
{
type = octane.gui.componentType.LABEL,
text = "This is label 1",
width = 100,
height = 24
}
label_2 = octane.gui.create
{
type = octane.gui.componentType.LABEL,
text = "This is label 2",
width = 100,
height = 24
}
group_1 = octane.gui.create
{
type = octane.gui.componentType.GROUP,
rows = 1,
cols = 1,
children = { label_1 },
text = "",
border = true,
}
group_2 = octane.gui.create
{
type = octane.gui.componentType.GROUP,
rows = 1,
cols = 1,
children = { label_2 },
text = "",
border = true,
}
captions = {'Tab 1', 'Tab 2' }
groups = { group_1, group_2 }
tabs = octane.gui.create
{
type = octane.gui.componentType.TABS,
header = captions,
children = groups
}
window = octane.gui.create
{
type = octane.gui.componentType.WINDOW,
width = 200,
height = 200,
children = { tabs },
text = string.format("Tab callback test")
}
-- Here's the tab callback
tabs.callback = function(event)
print("Event : ", event)
print("Current tab: ", tabs.currentTab)
print("")
end
window:showWindow()
I confirm. Since 2.10 Octane crashes on Script window closing if script creates Tabs. I thought that there was my code error (been trying to catch it), but it seems like API issue.BroAugustine wrote:Octane still crashes on some scripts when you close the script.
Will be fixed in the next release. Here's already an updated version of the script:manalokos wrote:We us the batch render ignores the check boxes and renders all nodes.
Thanks for the script, that makes our life a lot easier! This problem will be fixed in the next release.BroAugustine wrote:Octane still crashes on some scripts when you close the script.
I've narrowed down at least one problem when defining callbacks for tabs, i.e. once you've assigned code for a tab callback, the condition for crashing will occur in Octane versions after 2.06.
Open the Lua editor and paste the following code to it. Run the script and click on each tab a couple of times to verify that the callback is executed. Then close the script...Octane will crash at this point.Code: Select all
-- Tab callback test -- This script works in 2.06. -- In 2.11 thru 2.12.1, everything works -- until you close the window, then Octane crashes. label_1 = octane.gui.create { type = octane.gui.componentType.LABEL, text = "This is label 1", width = 100, height = 24 } label_2 = octane.gui.create { type = octane.gui.componentType.LABEL, text = "This is label 2", width = 100, height = 24 } group_1 = octane.gui.create { type = octane.gui.componentType.GROUP, rows = 1, cols = 1, children = { label_1 }, text = "", border = true, } group_2 = octane.gui.create { type = octane.gui.componentType.GROUP, rows = 1, cols = 1, children = { label_2 }, text = "", border = true, } captions = {'Tab 1', 'Tab 2' } groups = { group_1, group_2 } tabs = octane.gui.create { type = octane.gui.componentType.TABS, header = captions, children = groups } window = octane.gui.create { type = octane.gui.componentType.WINDOW, width = 200, height = 200, children = { tabs }, text = string.format("Tab callback test") } -- Here's the tab callback tabs.callback = function(event) print("Event : ", event) print("Current tab: ", tabs.currentTab) print("") end window:showWindow()
is it possible to add batch render script to save render passes too, not just main view? if it can be done already, pls explain me the process as only main view is saved when i use batch. thxstratified wrote:Will be fixed in the next release. Here's already an updated version of the script:manalokos wrote:We us the batch render ignores the check boxes and renders all nodes.
cheers,
Thomas