WD crash sending decimal

Moderator: Moderator Group

WD crash sending decimal

Postby rubendesnoo » Fri Apr 29, 2011 11:48 am

Hi

WD crashes when sending a decimal number to a Damping node, this was yhe scripting I used in a Button:

WDNodeSetParam,1,2,0.5

Is there another way to script and send a value between 0 and 1 to a node?

Ruben de Snoo
Freelance interactive art production
The Netherlands
rubendesnoo@gmail.com

Widget Designer pro 4.0
rubendesnoo
 
Posts: 141
Joined: Thu Feb 17, 2011 4:10 pm
Location: Netherlands

Re: WD crash sending decimal

Postby Julia Foest » Fri Apr 29, 2011 12:23 pm

Hi Ruben,

did you try to send the 0.5 to a Damping Prediction-Node?
And does crash mean that the WD closes suddenly or do you get a pop-up window with an unhandled exception?
Are you using Windows XP or Win7? Which WD version?

I could reproduce this behaviour with Win7 and WD 178.

A workaround for now (until this will be fixed in the next version):
If you create a variable from type double (via the script VDouble,'VarName','Value') you can assign the value that should go to the Damping Prediction Node to this variable and then assign the variable's value to the node.

Example:
I created the variable V1 with the value 0.1 using the script "VDouble,V1,0.1".
If I now want to assign the value 0.5 to the second parameter in the damping node (with the ID 1), I execute this script list:

VValue,V1,0.5
WDNodeSetParam,1,2,V1

Thanks for reporting and sorry for the troubles!

Greetings,
Julia
User avatar
Julia Foest
 
Posts: 521
Joined: Tue Nov 18, 2008 2:44 pm
Location: Berlin, Germany


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 6 guests