lorensen / VTKExamples

The VTK examples, formerly hosted on media wiki
Apache License 2.0
342 stars 157 forks source link

Unused #if #661

Closed ScrappyCocco closed 3 years ago

ScrappyCocco commented 4 years ago

In this code the #if execute the same code in the two branches

https://github.com/lorensen/VTKExamples/blob/dc8aac47c4384f9a2de9facbdd1ab3249f62ec99/src/Cxx/Qt/ShareCameraQt.cxx#L33-L39

ajpmaclean commented 3 years ago

Actually this is correct setRenderWindow()changed to SetRenderWindow() in versions of VTK after VTK8.90. Please note this site is no longer being maintained, the new site is vtk-examples.