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]>
> 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
_______________________________________________
Radiance-dev mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-dev

Reply via email to