From 77dd73822e9fe3b7b7ab79cf5a86ec12c6c77e9a Mon Sep 17 00:00:00 2001 From: Alexander Wiebel Date: Tue, 6 Apr 2010 21:35:45 +0200 Subject: [PATCH] [CHANGE] we do not want any default modules at the moment --- doc/user/walnut.cfg | 14 +++++++------- src/kernel/WKernel.cpp | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/user/walnut.cfg b/doc/user/walnut.cfg index c7b6217c8..fca3c4950 100644 --- a/doc/user/walnut.cfg +++ b/doc/user/walnut.cfg @@ -1,11 +1,11 @@ -# This is a sample configuration file for OpenWalnut. -# Uncomment the options you are interested in. +## This is a sample configuration file for OpenWalnut. +## Uncomment the options you are interested in. [modules] -# use this to specify the default module to add during load. -# It is a comma seperated list. If this is not specified the default is assumed: -# "Coordinate System Module,HUD" -default="Coordinate System Module,HUD" +## use this to specify the default module to add during load. +## It is a comma seperated list. If this is not specified the default empty is assumed. +## An example could be +# default="HUD" # MC.isoValue = 110 # set standard isovalue for marching cubes module (isosurface) [qt4gui] @@ -16,7 +16,7 @@ default="Coordinate System Module,HUD" # useToolBarBreak = no # put compatibles toolbar in separate row # useAutoDisplay = no # automatically add a standard module after loading a data module. -[ge] # Settings for the graphics engine +[ge] ## Settings for the graphics engine # bgColor.r = .9 # background color (red part) # bgColor.g = .9 # background color (green part) # bgColor.b = .9 # background color (blue part) diff --git a/src/kernel/WKernel.cpp b/src/kernel/WKernel.cpp index fc5982acf..c633967d7 100644 --- a/src/kernel/WKernel.cpp +++ b/src/kernel/WKernel.cpp @@ -159,7 +159,7 @@ void WKernel::threadMain() // default modules { - std::string stdModules = "Coordinate System,HUD"; + std::string stdModules = ""; WPreferences::getPreference( "modules.default", &stdModules ); std::vector< std::string > defMods = string_utils::tokenize( stdModules, "," ); for ( std::vector< std::string >::iterator iter = defMods.begin(); iter != defMods.end(); ++iter ) -- GitLab