Skip to content

BUG: Fix split-edge operator and build operator advanced level properly

Haocheng LIU requested to merge haocheng.liu/smtk:Fix-split-edge-operator into master

Split-edge operator would not perform properly when faces are visible and turning off faces during picking mode would lead to unpickable points.

A logic is added to turn off faces before picking and restore visibility after picking.

PS: There is no proper PV selection model fits our needes for split-edge operator(get right edge blockIDs + point index while face is visible). So hiding faces should be the right solution.

When initializing UI for operator we should only build advanced level when needed to avoid unnecessary action. Currently, CMB is just blindly building general UI, deleting it, checking advanced level and building it again.

close cmb issue #148

Merge request reports