Commit 644093d7 authored by Joachim Pouderoux's avatar Joachim Pouderoux Committed by Kitware Robot

Merge topic 'FixFindSWT' into release

0f084f84 Fix FindSWT script so SWT library is correctly detected
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel's avatarBen Boeckel <ben.boeckel@kitware.com>
Merge-request: !6903
parents 326814fb 0f084f84
......@@ -14,7 +14,7 @@ find_path(SWT_ECLIPSE_PLUGINS_DIR
mark_as_advanced(SWT_ECLIPSE_PLUGINS_DIR)
if (EXISTS "${SWT_ECLIPSE_PLUGINS_DIR}")
file(GLOB _swt_files "${ECLIPSE_PLUGINS_DIR}/org.eclipse.swt.*" )
file(GLOB _swt_files "${SWT_ECLIPSE_PLUGINS_DIR}/org.eclipse.swt.*" )
set(SWT_ECLIPSE_LIBRARIES "")
......
......@@ -41,7 +41,7 @@ public class SwtConeRendering {
coneActor.SetMapper(coneMapper);
// VTK rendering part
vtkSwtComponent swtWidget = new vtkSwtComponent(shell);
final vtkSwtComponent swtWidget = new vtkSwtComponent(shell);
swtWidget.getRenderer().AddActor(coneActor);
shell.addControlListener(new ControlListener() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment