make sure scene exists

Tomaz Canabrava tcanabrava at
Fri Jan 17 15:27:08 UTC 2014

it's impossible for the scene to not exists, the first time, item is NULL,
so it's not getting into the if,
the second + n times, the item is created && added to the scene RIGHT on
bottom of that method.

On Fri, Jan 17, 2014 at 8:40 PM, Dirk Hohndel <dirk at> wrote:

> I'm puzzled about the patch. You test for object->scene() to exist, but
> then in side the if-clause scene() is dereferenced
> Is that intentional?
> /D
> _______________________________________________
> subsurface mailing list
> subsurface at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the subsurface mailing list