On 12/7/20 12:16 PM, William F Pokorny wrote:
> For future reference.
>
> On Ubuntu 18.04 g++9
>
> povray bogus.pov Radiosity_File_Name="RadSamples" +rfo +rfi
>
> coredumps unless the RadSamples file exists. The file can be empty
> and things are fine but it must exist.
...
>
This is a problem in source/core/lighting/radiosity.cpp. In the function
RadiosityCache::Load change:
if (fd != nullptr)
{
to
if (*fd) // Natural is (fd != nullptr), but IStream has overrides
{ // of !fd and *fd for testing.
Bill P.
Post a reply to this message
|