public void lock() {
getVTKLock().lock();
- if (getComponent().getContext() != null && !getComponent().getContext().isCurrent()) {
- @SuppressWarnings("unused")
- int ret = getComponent().getContext().makeCurrent();
-// System.out.println("Make current2 " + ret);
- }
}
public void unlock() {