Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
77dd7382
Commit
77dd7382
authored
Apr 06, 2010
by
Alexander Wiebel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CHANGE] we do not want any default modules at the moment
parent
63afe8ea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
doc/user/walnut.cfg
doc/user/walnut.cfg
+7
-7
src/kernel/WKernel.cpp
src/kernel/WKernel.cpp
+1
-1
No files found.
doc/user/walnut.cfg
View file @
77dd7382
# 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)
...
...
src/kernel/WKernel.cpp
View file @
77dd7382
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment