@@ -230,13 +230,6 @@ void FGolaemCrowdEditorModule::StartupModule()
230230 FNewMenuDelegate::CreateStatic (&FGolaemCrowdEditorModule::CreateGolaemMenuItems), false , FSlateIcon (FGolaemStyle::GetStyleSetName (), " Golaem.Icon16" ));
231231 }
232232
233- static void AddGolaemMenuNoLicenseCommands (FMenuBuilder& MenuBuilder)
234- {
235- MenuBuilder.AddSubMenu (
236- FText::FromString (FString (" Golaem" )), FText::FromString (FString (" Golaem Tools" )),
237- FNewMenuDelegate::CreateStatic (&FGolaemCrowdEditorModule::CreateGolaemMenuItemsNoLicense), false , FSlateIcon (FGolaemStyle::GetStyleSetName (), " Golaem.Icon16" ));
238- }
239-
240233 // static void AddGolaemExportMenu(FMenuBuilder& MenuBuilder)
241234 // {
242235 // FUIAction ExportAction(FExecuteAction::CreateStatic(&FGolaemUI::LaunchExportTerrainWindow));
@@ -315,13 +308,6 @@ void FGolaemCrowdEditorModule::CreateGolaemMenuItems(class FMenuBuilder& MenuBui
315308 FText SimulationTooltip = FText::FromString (FString (" The Golaem Simulation Node will run a live simulation based on a Golaem gda scene description file." ));
316309 MenuBuilder.AddMenuEntry (SimulationDescription, SimulationTooltip, FSlateIcon (FGolaemStyle::GetStyleSetName (), " GolaemEngine.Icon16" ), SimulationAction);
317310
318- CreateGolaemMenuItemsNoLicense (MenuBuilder);
319- }
320-
321- // -----------------------------------------------------------------------------
322- void FGolaemCrowdEditorModule::CreateGolaemMenuItemsNoLicense (class FMenuBuilder & MenuBuilder)
323- {
324- // Golaem About
325311 FUIAction AboutAction (FExecuteAction::CreateStatic (&FGolaemCrowdEditorModule::LaunchAboutWindow));
326312 FText AboutDescription = FText::FromString (FString (" About Golaem" ));
327313 FText AboutTooltip = FText::FromString (FString (" Displays the Golaem About" ));
@@ -348,7 +334,6 @@ void FGolaemCrowdEditorModule::LaunchLayoutEditorWindow()
348334// -----------------------------------------------------------------------------
349335void FGolaemCrowdEditorModule::LaunchAboutWindow ()
350336{
351- // get license information
352337 FGolaemCrowdModule* golaemModule (FModuleManager::GetModulePtr<FGolaemCrowdModule>(FName (" CrowdModule" )));
353338 if (golaemModule == nullptr )
354339 return ; // should not happen
0 commit comments