#5854 Surface : Add export of tsurf

This commit is contained in:
Magne Sjaastad
2020-04-29 10:19:38 +02:00
parent e0d426df12
commit c69d857c8f
4 changed files with 203 additions and 0 deletions

View File

@@ -864,6 +864,11 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
{
menuBuilder << "RicImportSurfacesFeature";
menuBuilder << "RicNewGridSurfaceFeature";
if ( dynamic_cast<RimSurface*>( firstUiItem ) )
{
menuBuilder << "RicExportSurfaceFeature";
}
}
else if ( dynamic_cast<RimAnnotationCollection*>( firstUiItem ) ||
dynamic_cast<RimAnnotationGroupCollection*>( firstUiItem ) )