jb-alvarado / SearchMaterialAndMaps

MaxScript for searching and list materials, maps and textures.
GNU General Public License v3.0
6 stars 2 forks source link

runtime error on max 2019 #1

Open lucianahanan opened 5 years ago

lucianahanan commented 5 years ago

On max 2019, whenever I click click the toolbar button of this script, I get this runtime error:

--Runtime error: value of '285' is not valid for 'red'. 'red' should be greater than or equal to 0 and less than or equal to 255.

changing mL.BackColor and ml.ForeColor to zeroes instead of 10 / 30 didn't fix the problem.

Please show me the fix! :)

Thanks !

jb-alvarado commented 5 years ago

Sorry for my late response! I have only access to 3ds max 2016 and there I can not reproduce this error. The last time I touched this script was in 2014, so I'm a bit out of it :-).