import java.util.ArrayList;
import java.util.List;
+import org.eclipse.core.runtime.Platform;
import org.eclipse.swt.widgets.Composite;
import org.simantics.g3d.scenegraph.RenderListener;
import org.simantics.g3d.vtk.action.vtkAction;
import vtk.vtkAssemblyNode;
import vtk.vtkAssemblyPath;
import vtk.vtkCellPicker;
+import vtk.vtkObject;
import vtk.vtkObjectBase;
import vtk.vtkPointPicker;
import vtk.vtkProp;
public InteractiveVtkComposite(Composite parentComposite) {
super(parentComposite);
this.parentComposite = parentComposite;
-
- // TODO Auto-generated constructor stub
+
+ if (!Platform.inDevelopmentMode()) {
+ // This is actually a static method in C++
+ new vtkObject().GlobalWarningDisplayOff();
+ }
}
private boolean updating = false;