3dct / open_iA

A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
GNU General Public License v3.0
40 stars 16 forks source link

Toolbar disabled when loading second FeatureScout #61

Closed codeling closed 2 years ago

codeling commented 2 years ago

For any further instance of FeatureScout loaded inside the same open_iA window after a first FeatureScout instance, the toolbar remains disabled directly after loading.

Implementation detail: On switching to the new window, open_iA checks whether the current window has FeatureScout loaded (see iAFeatureScoutToolbar::childChanged in modules/FeatureScout/iAFeatureScoutToolbar.cpp, line 93); but at that point, loading the new FeatureScout has not finished yet, so the check fails.

Workaround: After FeatureScout has finished loading, switch to another child window and back to the FeatureScout instance.

codeling commented 2 years ago

Fixed for versions after 2022.06 in develop with commit 7a13b600333825d7b19255e583e5093506d71169.