Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ben Boeckel
ParaView
Commits
2a8d53b8
Commit
2a8d53b8
authored
Jul 08, 2004
by
Charles Law
Browse files
Make IceT/DeskTop the default rendering module.
parent
3e8a36e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
GUI/Client/ParaView.cxx
View file @
2a8d53b8
...
...
@@ -174,42 +174,33 @@ int MyMain(int argc, char *argv[])
app
->
GetApplicationSettingsFromRegistery
();
// Create the proper default render module.
// Only the root server processes args.
if
(
app
->
GetUseTiledDisplay
())
{
if
(
app
->
GetRenderModuleName
()
==
NULL
)
{
// I do not like this initialization here.
// Think about moving it.
// The client chooses a render module.
if
(
app
->
GetRenderModuleName
()
==
NULL
)
{
// The render module has not been set by the user. Choose a default.
if
(
app
->
GetUseTiledDisplay
())
{
#ifdef PARAVIEW_USE_ICE_T
app
->
SetRenderModuleName
(
"IceTRenderModule"
);
#else
app
->
SetRenderModuleName
(
"MultiDisplayRenderModule"
);
#endif
}
}
else
{
#ifdef VTK_USE_MPI
if
(
app
->
GetRenderModuleName
()
==
NULL
)
{
// I do not like this initialization here.
// Think about moving it.
else
if
(
app
->
GetClientMode
())
{
// Client server, no tiled display.
#ifdef PARAVIEW_USE_ICE_T
app
->
SetRenderModuleName
(
"DeskTopRenderModule"
);
#else
app
->
SetRenderModuleName
(
"MPIRenderModule"
);
#endif
}
else
{
// Single process, or one MPI program
#ifdef VTK_USE_MPI
app
->
SetRenderModuleName
(
"MPIRenderModule"
);
#else
if
(
app
->
GetRenderModuleName
()
==
NULL
)
{
// I do not like this initialization here.
// Think about moving it.
if
(
app
->
GetClientMode
())
{
app
->
SetRenderModuleName
(
"MPIRenderModule"
);
}
else
{
app
->
SetRenderModuleName
(
"LODRenderModule"
);
}
}
app
->
SetRenderModuleName
(
"LODRenderModule"
);
#endif
}
}
}
...
...
Write
Preview
Supports
Markdown
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