import java.util.ArrayList;
import java.util.List;
+import org.eclipse.core.runtime.Platform;
import org.simantics.g3d.scenegraph.RenderListener;
import org.simantics.g3d.vtk.action.vtkAction;
import org.simantics.g3d.vtk.common.VtkView;
public InteractiveVtkPanel() {
super();
- // This is actually a static method in C++
- new vtkObject().GlobalWarningDisplayOff();
+ if (!Platform.inDevelopmentMode()) {
+ // This is actually a static method in C++
+ new vtkObject().GlobalWarningDisplayOff();
+ }
iren = new vtkGenericRenderWindowInteractor();
iren.SetRenderWindow(rw);
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;
super(parentComposite);
this.parentComposite = parentComposite;
- // This is actually a static method in C++
- new vtkObject().GlobalWarningDisplayOff();
+ if (!Platform.inDevelopmentMode()) {
+ // This is actually a static method in C++
+ new vtkObject().GlobalWarningDisplayOff();
+ }
}
private boolean updating = false;