by MB » Wed May 24, 2017 3:42 pm
MB
Wed May 24, 2017 3:42 pm
Roeland,
Thanks for the help, I think there is something going on at your end.
This code works.
-- Creates a group and retuns it
function ui.createGroup(name, children, border, rows, cols, width, height, text, padding, inset, center)
return octane.gui.create
{
type = octane.gui.componentType.GROUP, -- type of the component
name = name, -- name of component
children = children, -- list of children components
border = border, -- boolean flag to show border
rows = rows, -- number of rows in group grid
cols = cols, -- number of cols in group grid
width = width, -- width in pixels
height = height, -- height in pixels
text = text, -- text to display at top of group
padding = padding, -- internal padding in each cell
inset = inset, -- inset of the group component
centre = center, -- center the group
}
end
this code which I'm assuming is more modern, does not
-- Creates a group and retuns it
function ui.createGroup(name, children, border, rows, cols, width, height, text, padding, inset, center)
return octane.gui.createGroup
{
--type = octane.gui.componentType.GROUP, -- type of the component
name = name, -- name of component
children = children, -- list of children components
border = border, -- boolean flag to show border
rows = rows, -- number of rows in group grid
cols = cols, -- number of cols in group grid
width = width, -- width in pixels
height = height, -- height in pixels
text = text, -- text to display at top of group
padding = padding, -- internal padding in each cell
inset = inset, -- inset of the group component
centre = center, -- center the group
}
end
Having used the code that works to solve the original issue, I now get this error.
The OLE Ready Cam lua script is failing in v3.06 with the same error apparently, as someone has recently asked you to repair it.
Thanks for your help.
- Attachments
-
Windows 11, 2x Intel I9, 64GB Ram, 2x GTX 1080 TI, 1 x RTX 380 TI, Oculus Quest 2