[vtkusers] vtkPolyDataMapper::New() returns null for the VTK nightly build

Bill Lorensen bill.lorensen at gmail.com
Wed Nov 21 11:27:36 EST 2012


I agree. Otherwise we will have lots of questions like this.

On Wed, Nov 21, 2012 at 11:15 AM, David Doria <daviddoria at gmail.com> wrote:
> On Wed, Nov 21, 2012 at 11:07 AM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
>>
>> See if this link explains what to do:
>> http://vtk.org/Wiki/VTK/Build_System_Migration#Implementation_Modules
>
>
> Couldn't the factory be made to produce a message saying something similar
> to this instead of just silently returning NULL? An error like "Warning: the
> factory has returned NULL because you probably need to add a module to the
> list of modules in find_package(VTK ...)" would give the user a clue instead
> of requiring them to understand that this factory mechanism is going on
> behind the scenes.
>
> David



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtkusers mailing list