-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix multiple definitions of vtkInteractionCallback
A class called vtkInteractionCallback was defined twice: in vtkImplicitCylinderWidget.cxx and in vtkImplicitPlaneWidget2.cxx. This violates the one definition rule and can lead to undefined behavior. This commit resolves the ambiguity by removing the callback from vtkImplicitCylinderWidget. vtkImplicitCylinderWidget does not actually require the callback; the code is leftover from a copy/paste of vtkImplicitPlaneWidget2. vtkImplicitPlaneWidget2 uses the callback to implement SetLockNormalToCamera(), which does not exist on vtkImplicitCylinderWidget.
- Loading branch information
Showing
2 changed files
with
0 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters