分割球体工具触发自动计算修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
abbc15cb09
commit
370f99eabc
|
|
@ -1577,7 +1577,7 @@ export default {
|
||||||
},
|
},
|
||||||
segmentationModifiedCallback(evt) {
|
segmentationModifiedCallback(evt) {
|
||||||
const { detail } = evt;
|
const { detail } = evt;
|
||||||
let tools = [...this.ThresholdTools, ...this.tools]
|
let tools = [...this.ThresholdTools, ...this.tools, 'SphericalBrush']
|
||||||
if (!detail || detail.segmentIndex === 255 || !this.activeTool || !tools.includes(this.activeTool)) {
|
if (!detail || detail.segmentIndex === 255 || !this.activeTool || !tools.includes(this.activeTool)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -1642,12 +1642,12 @@ export default {
|
||||||
contentMouseup() {
|
contentMouseup() {
|
||||||
try {
|
try {
|
||||||
// console.log("segment contentMouseup")
|
// console.log("segment contentMouseup")
|
||||||
if (!this.drawing) return false
|
|
||||||
if (this.timeoutId) {
|
if (this.timeoutId) {
|
||||||
clearTimeout(this.timeoutId);
|
clearTimeout(this.timeoutId);
|
||||||
this.timeoutId = null;
|
this.timeoutId = null;
|
||||||
}
|
}
|
||||||
this.timeoutId = setTimeout(() => {
|
this.timeoutId = setTimeout(() => {
|
||||||
|
if (!this.drawing) return false
|
||||||
this.timeoutId = null;
|
this.timeoutId = null;
|
||||||
this.drawing = false;
|
this.drawing = false;
|
||||||
let segmentGroup = this.segmentList.find(item => item.segmentationId === this.segmentationId)
|
let segmentGroup = this.segmentList.find(item => item.segmentationId === this.segmentationId)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue