Did anyone solve this, or is it a bug? I tried to change the function
definition of for example GetInputTypes to:
function GetR3MATPRPA_InputTypes() {
return R3Get(this.r3obj, R3MATPRPA_InputTypes, R3TID_INTEGER,
R3TNF_ARRAY | R3TNF_READONLY | R3TNF_BYVALUE);
}
and a couple of others by changing the combination of those flags, but
didn't get it to work.
Timo Mikkolainen wrote:
In the linux version everything gets printed to stdout (commandline),
so I see everything properly. The actual popup is just an annoyance,
if anything I'd like to get rid of it.
When you look at the printed arrays, they look like pointers (as in,
their values are close to eachother and changing the vsl object's
input doesn't change the number).
On 12/02/07, K-UDA <[EMAIL PROTECTED]> wrote:
Hello, Timo.
You are looking at the result of "line 554 print("");".
Please watch "realsoft\logs\Realsoft 3D.log".
Best regards,
K-UDA
----- Original Message -----
From: "Timo Mikkolainen" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, February 12, 2007 9:42 AM
Subject: Re: Array handling in JS
> http://koti.welho.com/tmikkola/scripts/testMat.js
>
> See printObjectProperties(vslObject)
>
> On 11/02/07, Matthias Kappenberg <[EMAIL PROTECTED]> wrote:
>> Hi Timo,
>>
>> is it possible to post a snippet?
>>
>> Matthias
>>
>>
>> ----- Original Message -----
>> From: "Timo Mikkolainen" <[EMAIL PROTECTED]>
>> To: <[email protected]>
>> Sent: Saturday, February 10, 2007 12:47 PM
>> Subject: Array handling in JS
>>
>>
>> > I'm trying to read the input channels of a vsl object in JS, but I
>> > don't know how to read the 'arrays' the JS functions return. I've
>> > tried foo[0], foo.length, foo.head and whatnot; nothing works. The
>> > arrays are returned by GetInputTypes(), GetInputChannels(), etc in
>> > r3matprp.js.
>> >
>