Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ParaView
ParaView
Commits
d10b68c3
Commit
d10b68c3
authored
Dec 11, 2018
by
Nicolas Vuaille
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings in vtkSMPVMoleculeRepresentationProxy
parent
834eb0aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ParaViewCore/ServerManager/Rendering/vtkSMPVMoleculeRepresentationProxy.cxx
...rManager/Rendering/vtkSMPVMoleculeRepresentationProxy.cxx
+4
-4
No files found.
ParaViewCore/ServerManager/Rendering/vtkSMPVMoleculeRepresentationProxy.cxx
View file @
d10b68c3
...
...
@@ -116,14 +116,14 @@ const char* vtkSMPVMoleculeRepresentationProxy::GetPresetDisplayName(int preset)
int
vtkSMPVMoleculeRepresentationProxy
::
GetCurrentPreset
()
{
MapperParametersPreset
p
;
p
.
RenderAtoms
=
vtkSMUncheckedPropertyHelper
(
this
,
"RenderAtoms"
).
GetAsInt
();
p
.
RenderBonds
=
vtkSMUncheckedPropertyHelper
(
this
,
"RenderBonds"
).
GetAsInt
();
p
.
RenderAtoms
=
vtkSMUncheckedPropertyHelper
(
this
,
"RenderAtoms"
).
GetAsInt
()
==
1
;
p
.
RenderBonds
=
vtkSMUncheckedPropertyHelper
(
this
,
"RenderBonds"
).
GetAsInt
()
==
1
;
p
.
AtomicRadiusType
=
vtkSMUncheckedPropertyHelper
(
this
,
"AtomicRadiusType"
).
GetAsDouble
();
p
.
AtomicRadiusFactor
=
vtkSMUncheckedPropertyHelper
(
this
,
"AtomicRadiusFactor"
).
GetAsDouble
();
p
.
UseMultiCylindersForBonds
=
vtkSMUncheckedPropertyHelper
(
this
,
"MultiCylindersForBonds"
).
GetAsInt
();
vtkSMUncheckedPropertyHelper
(
this
,
"MultiCylindersForBonds"
).
GetAsInt
()
==
1
;
p
.
BondRadius
=
vtkSMUncheckedPropertyHelper
(
this
,
"BondRadius"
).
GetAsDouble
();
p
.
UseAtomColorForBonds
=
vtkSMUncheckedPropertyHelper
(
this
,
"BondColorMode"
).
GetAsInt
();
p
.
UseAtomColorForBonds
=
vtkSMUncheckedPropertyHelper
(
this
,
"BondColorMode"
).
GetAsInt
()
==
1
;
for
(
const
auto
&
preset
:
this
->
Presets
)
{
...
...
Nicolas Vuaille
@nicolas.vuaille
mentioned in commit
4444c571
·
Dec 12, 2018
mentioned in commit
4444c571
mentioned in commit 4444c57133d7d406861b917c3fedcadca29269a7
Toggle commit list
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