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 <d...@hohndel.org> 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@hohndel.org > http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface >
_______________________________________________ subsurface mailing list subsurface@hohndel.org http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface