Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ext-edelen_a
src
Commits
183cc90a
Commit
183cc90a
authored
Oct 13, 2017
by
adelmann
🎗
Browse files
use master
parents
7da583e0
b13f3fc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/Elements/OpalRingDefinition.cpp
src/Elements/OpalRingDefinition.cpp
+1
-2
No files found.
src/Elements/OpalRingDefinition.cpp
View file @
183cc90a
...
...
@@ -123,7 +123,7 @@ void OpalRingDefinition::update() {
ring
->
setIsClosed
(
!
(
Attributes
::
getString
(
itsAttr
[
IS_CLOSED
])
==
"FALSE"
));
double
minR
=
-
1
;
double
maxR
=
-
1
;
// std::cerr << "Ring definition" << std::endl;
if
(
itsAttr
[
MIN_R
])
{
minR
=
Attributes
::
getReal
(
itsAttr
[
MIN_R
]);
if
(
!
itsAttr
[
MAX_R
])
{
...
...
@@ -135,7 +135,6 @@ void OpalRingDefinition::update() {
if
(
!
itsAttr
[
MIN_R
])
{
throw
(
""
);
// EXCEPTION
}
// std::cerr << "Ring definition SetRingAperture " << minR << " " << maxR << std::endl;
ring
->
setRingAperture
(
minR
,
maxR
);
}
...
...
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