repo.or.cz
/
trakem2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into intensity-transform
[trakem2.git]
/
test
/
clonepatch.bsh
blob
b3eae27edd850ff778ea665624e4ed4e1e57bcc8
1
import ini.trakem2.display.*;
2
3
Patch patch = Display.getFront().getActive();
4
Patch p = patch.clone( patch.getProject() );
5
6
patch.getLayer().add( p );