Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: nubo on October 07, 2022, 09:44:35 PM

Title: "Mod" expression function crashes 3DS Max
Post by: nubo on October 07, 2022, 09:44:35 PM
Hi,

I have a problem with the "mod" expression.
Every time I try to use it I get an application crash.
I've tested it even in a most simple scene: one segment with transform operator attached to 1S generator, and an expression connected to whatever parameter.
The expression is simple as well:
Code: [Select]
return mod(8,5); The result is always the same - crash.
It crashes the moment I click "Evaluate" or "OK" button.

Is it a bug or is there some workaround to make it work?

Best regards,
Przemek
Title: Re: "Mod" expression function crashes 3DS Max
Post by: iToo on October 08, 2022, 10:33:32 AM
Hi, i remember this happened to me as well, but now i cannot reproduce it. We'll check it thoroughly.

Meanwhile, please try using the '%' operator:

Code: [Select]
return 8 % 5;
Title: Re: "Mod" expression function crashes 3DS Max
Post by: nubo on October 12, 2022, 03:58:51 PM
Thank you Carlos!