分割球体工具触发自动计算修改
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) {
|
||||
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)) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -1642,12 +1642,12 @@ export default {
|
|||
contentMouseup() {
|
||||
try {
|
||||
// console.log("segment contentMouseup")
|
||||
if (!this.drawing) return false
|
||||
if (this.timeoutId) {
|
||||
clearTimeout(this.timeoutId);
|
||||
this.timeoutId = null;
|
||||
}
|
||||
this.timeoutId = setTimeout(() => {
|
||||
if (!this.drawing) return false
|
||||
this.timeoutId = null;
|
||||
this.drawing = false;
|
||||
let segmentGroup = this.segmentList.find(item => item.segmentationId === this.segmentationId)
|
||||
|
|
|
|||
Loading…
Reference in New Issue