Thank you Greg. Credit is due to Nicola Rigoni, who found the problem.

Cheers,
Santiago

________________________________
From: Gregory J. Ward [[email protected]]
Sent: 19 August 2016 18:52
To: code development
Subject: Re: [Radiance-dev] objview

Thanks, Santiago.  I hadn't noticed this problem before.  I checked in a 
version that should fix it, using a variant on your suggestion.

Cheers,
-Greg


From: Santiago Torres 
<[email protected]<mailto:[email protected]>>

Date: August 19, 2016 10:30:36 AM PDT

Hi All,

We’ve had a strange problem with objview which I’m not sure if it’s been 
discussed before (Radiance 5.1a in OSX 10.11.6).

When the rad model file name includes a command line option (e.g. 
“this-Name.rad” includes “-N”) then the script hangs as it cannot find its 
parameter.

Looking in objview, it seems the problem is in the lines like:

if (m/-g/)
elsif (m/-u/)
…

Replacing with:

if (m/\b-g\b/)

seems to have solved the problem.

Regards,
Santiago
____________________________________________________________
Electronic mail messages entering and leaving Arup  business
systems are scanned for acceptability of content and viruses
_______________________________________________
Radiance-dev mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-dev

Reply via email to