Hi Tom,
There was an error in the function calling code, fix in svn, hopefully
it works now.
Brecht.
On Sun, Jul 24, 2011 at 12:02 AM, Tom Edwards cont...@steamreview.org wrote:
Brecht, I see uninitialised memory whenever I should see the default. It
has never worked, and there are no code
Everything is working now. :)
On 26/07/2011 5:02, Brecht Van Lommel wrote:
Hi Tom,
There was an error in the function calling code, fix in svn, hopefully
it works now.
Brecht.
On Sun, Jul 24, 2011 at 12:02 AM, Tom Edwardscont...@steamreview.org wrote:
Brecht, I see uninitialised memory
Hi Tom,
It's not clear to me when you saw uninitialized memory, am I right
thinking that the malloc made it work, but didn't look like a good
solution? In other places the array is defined static to keep it in
memory, without a malloc.
Brecht.
On Fri, Jul 22, 2011 at 3:45 PM, Tom Edwards
I can't work out how to provide a default value for an RNA array
parameter. Ominously, the unit tests don't cover this at all.
The code is:
const int default_layout_size = sizeof(float) * 12;
const float default_layout_stack[] = { 0,0, 0,1, 0,2, 1,0, 1,1, 1,2 };
float* default_layout_heap =